You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
50 lines
1.3 KiB
50 lines
1.3 KiB
//
|
|
// 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 <tqobject.h>
|
|
#include <tqstringlist.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(TQObject *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( TQString nickname );
|
|
TQStringList getContactsList() {return m_contactslist;}
|
|
void setContactsList(TQStringList list) {m_contactslist = list;}
|
|
bool addBookmarksFromUnknownContacts() { return m_addbookmarksfromunknowns; };
|
|
void setAddBookmarksFromUnknownContacts( bool );
|
|
|
|
private:
|
|
bool m_folderPerContact;
|
|
bool m_addbookmarksfromunknowns;
|
|
UseSubfolders m_isfolderforeachcontact;
|
|
TQStringList m_contactslist;
|
|
|
|
};
|
|
|
|
#endif
|