projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
better height for nick combobox and style button
[quassel.git]
/
src
/
qtui
/
settingspages
/
appearancesettingspage.h
diff --git
a/src/qtui/settingspages/appearancesettingspage.h
b/src/qtui/settingspages/appearancesettingspage.h
index
96b5cf5
..
1b9c0cf
100644
(file)
--- a/
src/qtui/settingspages/appearancesettingspage.h
+++ b/
src/qtui/settingspages/appearancesettingspage.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8 by the Quassel IRC Team
*
+ * Copyright (C) 2005-0
9 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 *
@@
-24,7
+24,9
@@
#include <QHash>
#include <QList>
#include <QLocale>
#include <QHash>
#include <QList>
#include <QLocale>
+#include <QTextCharFormat>
+#include "settings.h"
#include "settingspage.h"
#include "ui_appearancesettingspage.h"
#include "settingspage.h"
#include "ui_appearancesettingspage.h"
@@
-40,19
+42,23
@@
public slots:
void save();
void load();
void defaults();
void save();
void load();
void defaults();
-
+
private slots:
void widgetHasChanged();
private slots:
void widgetHasChanged();
-
-private:
- Ui::AppearanceSettingsPage ui;
- QHash<QString, QVariant> settings;
- QList<QLocale> _locales;
+ void chooseStyleSheet();
+
+private:
bool testHasChanged();
void initStyleComboBox();
void initLanguageComboBox();
QLocale selectedLocale() const;
bool testHasChanged();
void initStyleComboBox();
void initLanguageComboBox();
QLocale selectedLocale() const;
+
+ Ui::AppearanceSettingsPage ui;
+ QHash<QString, QVariant> settings;
+ QList<QLocale> _locales;
+
+ inline QString settingsKey() const { return QString("QtUi"); }
};
#endif
};
#endif