27 explicit KCMKWinRules(QObject *parent, const KPluginMetaData &metaData, const QVariantList &arguments);
30 Q_INVOKABLE
void editRule(
int index);
34 Q_INVOKABLE
void moveRule(
int sourceIndex,
int destIndex);
37 Q_INVOKABLE
void exportToFile(const QUrl &path, const QList<
int> &indexes);
48 void updateNeedsSave();
52 void parseArguments(const QStringList &args);
53 void createRuleFromProperties();
55 QModelIndex findRuleWithProperties(const QVariantMap &info,
bool wholeApp) const;
56 void fillSettingsFromProperties(RuleSettings *settings, const QVariantMap &info,
bool wholeApp) const;
62 QPersistentModelIndex m_editIndex;
64 bool m_alreadyLoaded = false;
65 QVariantMap m_winProperties;
66 bool m_wholeApp = false;