diff options
Diffstat (limited to 'Swift/QtUI/QtUIPreferences.cpp')
-rw-r--r-- | Swift/QtUI/QtUIPreferences.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Swift/QtUI/QtUIPreferences.cpp b/Swift/QtUI/QtUIPreferences.cpp new file mode 100644 index 0000000..3118178 --- /dev/null +++ b/Swift/QtUI/QtUIPreferences.cpp @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2011 Kevin Smith + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <Swift/QtUI/QtUIPreferences.h> + +namespace Swift { +QtUIPreferences::QtUIPreferences() : compactRosters_(false) { + +} + +QtUIPreferences::~QtUIPreferences() { + +} + +void QtUIPreferences::setCompactRosters(bool compact) { + compactRosters_ = compact; + emit onCompactRostersChanged(compact); +} + +bool QtUIPreferences::getCompactRosters() { + return compactRosters_; +} + +} |