/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel IRC Team *
+ * Copyright (C) 2005-08 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
SettingsPage::SettingsPage(const QString &category, const QString &title, QWidget *parent) : QWidget(parent),
_category(category), _title(title) {
+ _changed = false;
}
QString SettingsPage::category() const {
}
void SettingsPage::changed() {
+ _changed = true;
emit changed(true);
}
void SettingsPage::changeState(bool hasChanged) {
- emit changed(hasChanged);
+ if(hasChanged != _changed) emit changed(hasChanged);
}