RuleBook::edit operates on AbstractClient

icc-effect-5.14.5
Martin Gräßlin 2015-03-06 09:33:18 +01:00
parent bfa4e1cec1
commit bfb52b20c9
2 changed files with 3 additions and 2 deletions

View File

@ -988,7 +988,7 @@ WindowRules RuleBook::find(const Client* c, bool ignore_temporary)
return WindowRules(ret); return WindowRules(ret);
} }
void RuleBook::edit(Client* c, bool whole_app) void RuleBook::edit(AbstractClient* c, bool whole_app)
{ {
save(); save();
QStringList args; QStringList args;

View File

@ -38,6 +38,7 @@ class KXMessages;
namespace KWin namespace KWin
{ {
class AbstractClient;
class Client; class Client;
class Rules; class Rules;
@ -292,7 +293,7 @@ public:
void setUpdatesDisabled(bool disable); void setUpdatesDisabled(bool disable);
bool areUpdatesDisabled() const; bool areUpdatesDisabled() const;
void load(); void load();
void edit(Client* c, bool whole_app); void edit(AbstractClient* c, bool whole_app);
void requestDiskStorage(); void requestDiskStorage();
private Q_SLOTS: private Q_SLOTS:
void temporaryRulesMessage(const QString&); void temporaryRulesMessage(const QString&);