diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:14:01 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:14:01 -0600 |
commit | 148b0f6a8c078da4064b16eb6e86ad45117e36d8 (patch) | |
tree | 7e1faadf979c25dd81d66213c3a5196d4745589b /konversation/src/nicklistbehavior_preferences.h | |
parent | f8b154acd091636603566b46cb97a2dd63b540cb (diff) | |
download | konversation-148b0f6a8c078da4064b16eb6e86ad45117e36d8.tar.gz konversation-148b0f6a8c078da4064b16eb6e86ad45117e36d8.zip |
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'konversation/src/nicklistbehavior_preferences.h')
-rw-r--r-- | konversation/src/nicklistbehavior_preferences.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/konversation/src/nicklistbehavior_preferences.h b/konversation/src/nicklistbehavior_preferences.h new file mode 100644 index 0000000..63942ef --- /dev/null +++ b/konversation/src/nicklistbehavior_preferences.h @@ -0,0 +1,47 @@ +/* + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. +*/ + +/* + Copyright (C) 2006 Dario Abatianni <eisfuchs@tigress.com> + Copyright (C) 2006 John Tapsell <johnflux@gmail.com> +*/ + +#ifndef NICKLISTBEHAVIOR_Config_H +#define NICKLISTBEHAVIOR_Config_H + +#include "konvisettingspage.h" +#include "nicklistbehavior_preferencesui.h" + +#include <tqobject.h> + + +class NictdelistBehavior_Config : public NictdelistBehavior_ConfigUI, public KonviSettingsPage +{ + Q_OBJECT + + + public: + explicit NictdelistBehavior_Config(TQWidget *parent = 0, const char *name = 0); + ~NictdelistBehavior_Config(); + + virtual void saveSettings(); + virtual void loadSettings(); + virtual void restorePageToDefaults(); + + virtual bool hasChanged(); + + private: + void setNickList(const TQString &sortingOrder); + TQString currentSortingOrder(); + + TQString m_oldSortingOrder; + + signals: + void modified(); +}; + +#endif |