X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fnetworkmodelcontroller.h;h=ec27c878ecf756c46c9f9cdb4e18910ed98ecbdf;hp=268e783af12f4c3c7f45c73e8813197efe163ccf;hb=c351c94e52a01571c34a18ddb5947b9e1f771d8c;hpb=f19fea582ace1d8f3dfe29c1096c48758079e56e diff --git a/src/uisupport/networkmodelcontroller.h b/src/uisupport/networkmodelcontroller.h index 268e783a..ec27c878 100644 --- a/src/uisupport/networkmodelcontroller.h +++ b/src/uisupport/networkmodelcontroller.h @@ -80,25 +80,27 @@ public: NickCtcpVersion = 0x040000, NickCtcpPing = 0x050000, NickCtcpTime = 0x060000, - NickCtcpFinger = 0x070000, + NickCtcpClientinfo = 0x070000, NickOp = 0x080000, NickDeop = 0x090000, NickVoice = 0x0a0000, NickDevoice = 0x0b0000, - NickKick = 0x0c0000, - NickBan = 0x0d0000, - NickKickBan = 0x0e0000, - NickIgnoreUser = 0x0f0000, - NickIgnoreHost = 0x100000, - NickIgnoreDomain = 0x200000, - NickIgnoreCustom = 0x300000, - // The next 5 types have stay together + NickHalfop = 0x0c0000, + NickDehalfop = 0x0d0000, + NickKick = 0x0e0000, + NickBan = 0x0f0000, + NickKickBan = 0x100000, + NickIgnoreUser = 0x200000, + NickIgnoreHost = 0x300000, + NickIgnoreDomain = 0x400000, + NickIgnoreCustom = 0x500000, + // The next 5 types have to stay together // Don't change without reading ContextMenuActionProvider::addIgnoreMenu! - NickIgnoreToggleEnabled0 = 0x400000, - NickIgnoreToggleEnabled1 = 0x500000, - NickIgnoreToggleEnabled2 = 0x600000, - NickIgnoreToggleEnabled3 = 0x700000, - NickIgnoreToggleEnabled4 = 0x800000, + NickIgnoreToggleEnabled0 = 0x600000, + NickIgnoreToggleEnabled1 = 0x700000, + NickIgnoreToggleEnabled2 = 0x800000, + NickIgnoreToggleEnabled3 = 0x900000, + NickIgnoreToggleEnabled4 = 0xa00000, // Actions that are handled externally // These emit a signal to the action requester, rather than being handled here @@ -116,6 +118,10 @@ public: }; Q_DECLARE_FLAGS(ItemActiveStates, ItemActiveState) +public slots: + virtual void connectedToCore() {} + virtual void disconnectedFromCore() {} + protected: inline ActionCollection *actionCollection() const; inline QList indexList() const; @@ -177,6 +183,7 @@ public: JoinDlg(const QModelIndex &index, QWidget *parent = 0); QString channelName() const; + QString channelPassword() const; NetworkId networkId() const; private slots: @@ -185,6 +192,7 @@ private slots: private: QComboBox *networks; QLineEdit *channel; + QLineEdit *password; QDialogButtonBox *buttonBox; };