summaryrefslogtreecommitdiff
path: root/core/pim/addressbook/configdlg.h
blob: 53d3d01f30771087ab0a33c979888ee73c9b1aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef _CONFIGDLG_H_
#define _CONFIGDLG_H_

#include <qmap.h>

#include "configdlg_base.h"
#include "abconfig.h"

class ConfigDlg: public ConfigDlg_Base
{
    Q_OBJECT
public:
    ConfigDlg( QWidget *parent = 0, const char *name = 0 );
    
    // Search Settings
    void setConfig( const AbConfig& cnf );
    AbConfig getConfig();

protected slots:
    void slotItemUp();
    void slotItemDown();
    void slotItemAdd();
    void slotItemRemove();

protected:
    QStringList contFields;
    AbConfig m_config;
    QMap<QString, int> m_mapStrToID;
    QMap<int, QString> m_mapIDToStr;
};


#endif