/***************************************************************************
- * 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
void widgetHasChanged();
private:
- Ui::NotificationsSettingsPage ui;
- QHash<QString, QVariant> settings;
-
- bool testHasChanged();
+ QList<SettingsPage *> _configWidgets;
+ bool _hasDefaults;
};
#endif