projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some clarifications in the terminology of the core config wizard.
[quassel.git]
/
src
/
qtui
/
settingsdlg.h
diff --git
a/src/qtui/settingsdlg.h
b/src/qtui/settingsdlg.h
index
d7dc6d8
..
3cfda43
100644
(file)
--- a/
src/qtui/settingsdlg.h
+++ b/
src/qtui/settingsdlg.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
7 by the Quassel IRC Team
*
+ * Copyright (C) 2005-0
8 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-33,33
+33,32
@@
class SettingsDlg : public QDialog {
void registerSettingsPage(SettingsPage *);
void unregisterSettingsPage(SettingsPage *);
void registerSettingsPage(SettingsPage *);
void unregisterSettingsPage(SettingsPage *);
+ SettingsPage *currentPage() const;
+
+ //QSize sizeHint() const;
+
public slots:
void selectPage(const QString &category, const QString &title);
private slots:
void itemSelected();
void buttonClicked(QAbstractButton *);
public slots:
void selectPage(const QString &category, const QString &title);
private slots:
void itemSelected();
void buttonClicked(QAbstractButton *);
- void applyChanges();
+ bool applyChanges();
+ void undoChanges();
void reload();
void loadDefaults();
void reload();
void loadDefaults();
+ void setButtonStates();
private:
Ui::SettingsDlg ui;
private:
Ui::SettingsDlg ui;
+ SettingsPage *_currentPage;
QHash<QString, SettingsPage *> pages;
QHash<QString, SettingsPage *> pages;
-};
-
-/*
-class CoreSettingsPage : public QWidget, SettingsInterface {
- Q_OBJECT
-
- public:
-
-
- private:
- Ui::CoreSettingsPage ui;
+ QHash<SettingsPage *, QTreeWidgetItem *> treeItems;
+ QHash<SettingsPage *, bool> pageIsLoaded;
+ //QSize recommendedSize;
};
};
-*/
+
#endif
#endif