Make fonts/sizes changeable again Fixes #664
[quassel.git] / src / qtui / settingspages / notificationssettingspage.h
index d155914..7734fa2 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-08 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-09 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
 #include <QHash>
 
 #include "settingspage.h"
-#include "ui_notificationssettingspage.h"
 
+//! A settings page for configuring notifications
+/** This class just vertically stacks the ConfigWidgets of the registered notification backends.
+ *  \NOTE: When this is called, all backends need to be already registered. No dynamic changes
+ *         are tracked or reacted to!
+ */
 class NotificationsSettingsPage : public SettingsPage {
   Q_OBJECT
 
@@ -43,10 +47,8 @@ class NotificationsSettingsPage : public SettingsPage {
     void widgetHasChanged();
 
   private:
-    Ui::NotificationsSettingsPage ui;
-    QHash<QString, QVariant> settings;
-
-    bool testHasChanged();
+    QList<SettingsPage *> _configWidgets;
+    bool _hasDefaults;
 };
 
 #endif