X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Fsettingspages%2Faliasessettingspage.h;h=0201f5145b6df02a601846dce0b0b84ef8391ce5;hb=a4b12295cffc6add9b03c25faff35f753b026ec9;hp=de1888c898ace669441705a111efbcc3955878c6;hpb=6579cd49c867ce3fb6c99127851a881ea82d1b1b;p=quassel.git diff --git a/src/qtui/settingspages/aliasessettingspage.h b/src/qtui/settingspages/aliasessettingspage.h index de1888c8..0201f514 100644 --- a/src/qtui/settingspages/aliasessettingspage.h +++ b/src/qtui/settingspages/aliasessettingspage.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-08 by the Quassel Project * + * Copyright (C) 2005-2013 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -15,7 +15,7 @@ * You should have received a copy of the GNU General Public License * * along with this program; if not, write to the * * Free Software Foundation, Inc., * - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * ***************************************************************************/ #ifndef ALIASESSETTINGSPAGE_H @@ -26,30 +26,30 @@ #include "aliasesmodel.h" -class AliasesSettingsPage : public SettingsPage { - Q_OBJECT +class AliasesSettingsPage : public SettingsPage +{ + Q_OBJECT public: - AliasesSettingsPage(QWidget *parent = 0); + AliasesSettingsPage(QWidget *parent = 0); + + virtual inline bool hasDefaults() const { return true; } + virtual inline bool needsCoreConnection() const { return true; } public slots: - void save(); - void load(); -// void defaults(); - -// private slots: -// void widgetHasChanged(); - -private: - Ui::AliasesSettingsPage ui; + void save(); + void load(); + void defaults(); - AliasesModel _aliasesModel; +private slots: + void enableDialog(bool); + void deleteSelectedAlias(); - // bool testHasChanged(); +private: + Ui::AliasesSettingsPage ui; -private slots: - void enableDialog(); - void deleteSelectedAlias(); + AliasesModel _aliasesModel; }; + #endif //ALIASESSETTINGSPAGE_H