X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnetworkmodelactionprovider.h;h=2a44724e4d742592e004213143d1e8d19bb66f63;hb=1566f62849f9011656d9111b99f023d694bb8805;hp=7f01d2fa0ded7ea7a73246d8d0773156ddb7d2e4;hpb=63e8840632d2eee3ad1632d1f7d7af3bcdad1503;p=quassel.git diff --git a/src/uisupport/networkmodelactionprovider.h b/src/uisupport/networkmodelactionprovider.h index 7f01d2fa..2a44724e 100644 --- a/src/uisupport/networkmodelactionprovider.h +++ b/src/uisupport/networkmodelactionprovider.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-09 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -55,6 +55,7 @@ public: HideNick = 0x0400, HideMode = 0x0500, HideDayChange = 0x0600, + HideUseDefaults = 0xe00, HideApplyToAll = 0xf00, // General actions @@ -145,7 +146,7 @@ private: void addHideEventsMenu(QMenu *, BufferId bufferId); void addHideEventsMenu(QMenu *, MessageFilter *msgFilter); - void addHideEventsMenu(QMenu *, int filter); + void addHideEventsMenu(QMenu *, int filter = -1); void addNetworkItemActions(QMenu *, const QModelIndex &); void addBufferItemActions(QMenu *, const QModelIndex &, bool isCustomBufferView = false); @@ -154,6 +155,7 @@ private: QString nickName(const QModelIndex &index) const; BufferId findQueryBuffer(const QModelIndex &index, const QString &predefinedNick = QString()) const; BufferId findQueryBuffer(NetworkId, const QString &nickName) const; + void removeBuffers(const QModelIndexList &indexList); NetworkModel *_model;