diff options
Diffstat (limited to 'src/settings')
-rw-r--r-- | src/settings/adblockwidget.cpp | 6 | ||||
-rw-r--r-- | src/settings/generalwidget.h | 4 | ||||
-rw-r--r-- | src/settings/networkwidget.h | 4 | ||||
-rw-r--r-- | src/settings/settingsdialog.h | 2 | ||||
-rw-r--r-- | src/settings/tabswidget.h | 4 | ||||
-rw-r--r-- | src/settings/webkitwidget.h | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/src/settings/adblockwidget.cpp b/src/settings/adblockwidget.cpp index 3c7ec38f..17f05e75 100644 --- a/src/settings/adblockwidget.cpp +++ b/src/settings/adblockwidget.cpp @@ -123,7 +123,7 @@ void AdBlockWidget::load() QStringList subscriptions = ReKonfig::subscriptionTitles(); // load automatic rules - foreach(const QString & sub, subscriptions) + Q_FOREACH(const QString & sub, subscriptions) { QTreeWidgetItem *subItem = new QTreeWidgetItem(treeWidget); subItem->setText(0, sub); @@ -134,7 +134,7 @@ void AdBlockWidget::load() KSharedConfig::Ptr config = KSharedConfig::openConfig("adblock", KConfig::SimpleConfig, "appdata"); KConfigGroup localGroup(config, "rules"); QStringList rules = localGroup.readEntry("local-rules" , QStringList()); - foreach(const QString & rule, rules) + Q_FOREACH(const QString & rule, rules) { listWidget->addItem(rule); } @@ -149,7 +149,7 @@ void AdBlockWidget::loadRules(QTreeWidgetItem *item) QString str = item->text(0) + "-rules"; QStringList rules = localGroup.readEntry(str , QStringList()); - foreach(const QString & rule, rules) + Q_FOREACH(const QString & rule, rules) { QTreeWidgetItem *subItem = new QTreeWidgetItem(item); subItem->setText(0, rule); diff --git a/src/settings/generalwidget.h b/src/settings/generalwidget.h index 6372dcc2..2dfbaf58 100644 --- a/src/settings/generalwidget.h +++ b/src/settings/generalwidget.h @@ -46,10 +46,10 @@ public: bool changed(); void checkKGetPresence(); -signals: +Q_SIGNALS: void changed(bool); -private slots: +private Q_SLOTS: void hasChanged(); void setHomeToCurrentPage(); void disableHomeSettings(bool); diff --git a/src/settings/networkwidget.h b/src/settings/networkwidget.h index eecb10eb..74a0e312 100644 --- a/src/settings/networkwidget.h +++ b/src/settings/networkwidget.h @@ -46,10 +46,10 @@ public: void save(); bool changed(); -signals: +Q_SIGNALS: void changed(bool); -private slots: +private Q_SLOTS: void hasChanged(); private: diff --git a/src/settings/settingsdialog.h b/src/settings/settingsdialog.h index 486ce88c..98089990 100644 --- a/src/settings/settingsdialog.h +++ b/src/settings/settingsdialog.h @@ -56,7 +56,7 @@ protected: private: Private* const d; -private slots: +private Q_SLOTS: void readConfig(); void saveSettings(); }; diff --git a/src/settings/tabswidget.h b/src/settings/tabswidget.h index 611863f3..056f030c 100644 --- a/src/settings/tabswidget.h +++ b/src/settings/tabswidget.h @@ -45,10 +45,10 @@ public: void save(); bool changed(); -signals: +Q_SIGNALS: void changed(bool); -private slots: +private Q_SLOTS: void hasChanged(); private: diff --git a/src/settings/webkitwidget.h b/src/settings/webkitwidget.h index de584a11..8561d60a 100644 --- a/src/settings/webkitwidget.h +++ b/src/settings/webkitwidget.h @@ -45,10 +45,10 @@ public: void save(); bool changed(); -signals: +Q_SIGNALS: void changed(bool); -private slots: +private Q_SLOTS: void hasChanged(); void updateJavascriptSettings(bool); |