diff options
author | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
---|---|---|
committer | toma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2009-11-25 17:56:58 +0000 |
commit | bcb704366cb5e333a626c18c308c7e0448a8e69f (patch) | |
tree | f0d6ab7d78ecdd9207cf46536376b44b91a1ca71 /kopete/plugins/addbookmarks/addbookmarksprefssettings.h | |
download | tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.tar.gz tdenetwork-bcb704366cb5e333a626c18c308c7e0448a8e69f.zip |
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kopete/plugins/addbookmarks/addbookmarksprefssettings.h')
-rw-r--r-- | kopete/plugins/addbookmarks/addbookmarksprefssettings.h | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/kopete/plugins/addbookmarks/addbookmarksprefssettings.h b/kopete/plugins/addbookmarks/addbookmarksprefssettings.h new file mode 100644 index 00000000..2d82e7c4 --- /dev/null +++ b/kopete/plugins/addbookmarks/addbookmarksprefssettings.h @@ -0,0 +1,49 @@ +// +// C++ Interface: %{MODULE} +// +// Description: +// +// +// Author: Roie Kerstein <sf_kersteinroie@bezeqint.net>, (C) 2004 +// +// Copyright: See COPYING file that comes with this distribution +// +// +#ifndef ADDBOOKMARKSPREFSSETTINGS_H +#define ADDBOOKMARKSPREFSSETTINGS_H + +#include <qobject.h> +#include <qstringlist.h> + +/** +@author Roie Kerstein <sf_kersteinroie@bezeqint.net> +*/ +class BookmarksPrefsSettings : public QObject +{ +Q_OBJECT +public: + enum UseSubfolders { Always=0, Never=1, SelectedContacts=2, UnselectedContacts=3 }; + + BookmarksPrefsSettings(QObject *parent = 0, const char *name = 0); + + ~BookmarksPrefsSettings(); + + void load(); + void save(); + UseSubfolders isFolderForEachContact() {return m_isfolderforeachcontact;} + void setFolderForEachContact(UseSubfolders val) {m_isfolderforeachcontact = val;} + bool useSubfolderForContact( QString nickname ); + QStringList getContactsList() {return m_contactslist;} + void setContactsList(QStringList list) {m_contactslist = list;} + bool addBookmarksFromUnknownContacts() { return m_addbookmarksfromunknowns; }; + void setAddBookmarksFromUnknownContacts( bool ); + +private: + bool m_folderPerContact; + bool m_addbookmarksfromunknowns; + UseSubfolders m_isfolderforeachcontact; + QStringList m_contactslist; + +}; + +#endif |