projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
qtui: Set proper icon for "About Quassel" menu option
[quassel.git]
/
src
/
uisupport
/
networkmodelcontroller.h
diff --git
a/src/uisupport/networkmodelcontroller.h
b/src/uisupport/networkmodelcontroller.h
index
455e9d4
..
73ceabb
100644
(file)
--- a/
src/uisupport/networkmodelcontroller.h
+++ b/
src/uisupport/networkmodelcontroller.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-
09 by the Quassel Project
*
+ * Copyright (C) 2005-
2018 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-15,7
+15,7
@@
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 5
9 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
+ * 5
1 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
***************************************************************************/
#ifndef NETWORKMODELCONTROLLER_H_
***************************************************************************/
#ifndef NETWORKMODELCONTROLLER_H_
@@
-45,8
+45,10
@@
public:
NetworkMask = 0x0f,
NetworkConnect = 0x01,
NetworkDisconnect = 0x02,
NetworkMask = 0x0f,
NetworkConnect = 0x01,
NetworkDisconnect = 0x02,
- NetworkConnectAll = 0x03,
- NetworkDisconnectAll = 0x04,
+ NetworkConnectAllWithDropdown = 0x03,
+ NetworkDisconnectAllWithDropdown = 0x04,
+ NetworkConnectAll = 0x05,
+ NetworkDisconnectAll = 0x06,
// Buffer actions
BufferMask = 0xf0,
// Buffer actions
BufferMask = 0xf0,
@@
-64,6
+66,7
@@
public:
HideMode = 0x0500,
HideDayChange = 0x0600,
HideTopic = 0x0700,
HideMode = 0x0500,
HideDayChange = 0x0600,
HideTopic = 0x0700,
+ HideJoinPartQuit = 0xd00,
HideUseDefaults = 0xe00,
HideApplyToAll = 0xf00,
HideUseDefaults = 0xe00,
HideApplyToAll = 0xf00,
@@
-72,6
+75,7
@@
public:
JoinChannel = 0x1000,
ShowChannelList = 0x2000,
ShowIgnoreList = 0x3000,
JoinChannel = 0x1000,
ShowChannelList = 0x2000,
ShowIgnoreList = 0x3000,
+ ShowNetworkConfig = 0x4000,
// Nick actions
NickMask = 0xff0000,
// Nick actions
NickMask = 0xff0000,
@@
-138,7
+142,7
@@
protected:
void setSlot(QObject *receiver, const char *method);
Action *registerAction(ActionType type, const QString &text, bool checkable = false);
void setSlot(QObject *receiver, const char *method);
Action *registerAction(ActionType type, const QString &text, bool checkable = false);
- Action *registerAction(
ActionType type, const QPixmap
&icon, const QString &text, bool checkable = false);
+ Action *registerAction(
NetworkModelController::ActionType type, const QIcon
&icon, const QString &text, bool checkable = false);
bool checkRequirements(const QModelIndex &index, ItemActiveStates requiredActiveState = QFlags<ItemActiveState>(ActiveState | InactiveState));
QString nickName(const QModelIndex &index) const;
bool checkRequirements(const QModelIndex &index, ItemActiveStates requiredActiveState = QFlags<ItemActiveState>(ActiveState | InactiveState));
QString nickName(const QModelIndex &index) const;
@@
-151,6
+155,7
@@
protected slots:
signals:
void showChannelList(NetworkId);
signals:
void showChannelList(NetworkId);
+ void showNetworkConfig(NetworkId);
void showIgnoreList(QString);
protected:
void showIgnoreList(QString);
protected: