diff options
author | Kevin Smith <git@kismith.co.uk> | 2011-11-01 23:04:03 (GMT) |
---|---|---|
committer | Kevin Smith <git@kismith.co.uk> | 2011-11-01 23:04:03 (GMT) |
commit | 16d50c0df983e96a28a6572da27b3633b40a41d7 (patch) | |
tree | 9b7a74f074e33d00966b2e8bf71d31162fa619dc /Swift/QtUI/QtUIPreferences.h | |
parent | a710cb325c7827679c35c61ab41b821a5bc77673 (diff) | |
download | swift-16d50c0df983e96a28a6572da27b3633b40a41d7.zip swift-16d50c0df983e96a28a6572da27b3633b40a41d7.tar.bz2 |
Having a play with a compact roster mode
Diffstat (limited to 'Swift/QtUI/QtUIPreferences.h')
-rw-r--r-- | Swift/QtUI/QtUIPreferences.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Swift/QtUI/QtUIPreferences.h b/Swift/QtUI/QtUIPreferences.h new file mode 100644 index 0000000..e537e80 --- /dev/null +++ b/Swift/QtUI/QtUIPreferences.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2011 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <QObject> + +namespace Swift { + class QtUIPreferences : public QObject { + Q_OBJECT + public: + QtUIPreferences(); + ~QtUIPreferences(); + bool getCompactRosters(); + public slots: + void setCompactRosters(bool compact); + signals: + void onCompactRostersChanged(bool /*now*/); + private: + bool compactRosters_; + }; +}
\ No newline at end of file |