xxportselectdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
#ifndef XXPORTSELECTDIALOG_H
00025
#define XXPORTSELECTDIALOG_H
00026
00027
#include <kabc/addresseelist.h>
00028
#include <kabc/field.h>
00029
#include <kdialogbase.h>
00030
00031
#include "filter.h"
00032
00033
class QButtonGroup;
00034
class QComboBox;
00035
class QListView;
00036
class QListViewItem;
00037
class QRadioButton;
00038
00039
namespace KAB {
00040
class Core;
00041 }
00042
00043
class KComboBox;
00044
00045
class XXPortSelectDialog :
public KDialogBase
00046 {
00047 Q_OBJECT
00048
00049
public:
00050 XXPortSelectDialog( KAB::Core *core,
bool sort,
QWidget* parent,
00051
const char* name = 0 );
00052
00053 KABC::AddresseeList contacts();
00054
00055
private slots:
00056
void filterChanged(
int );
00057
void categoryClicked(
QListViewItem * i );
00058
00059
protected slots:
00060
void slotHelp();
00061
00062
private:
00063
void initGUI();
00064
QStringList categories() const;
00065
00066
QButtonGroup* mButtonGroup;
00067
QRadioButton* mUseCategories;
00068
QRadioButton* mUseFilters;
00069
QRadioButton* mUseWholeBook;
00070
QRadioButton* mUseSelection;
00071
QComboBox* mFiltersCombo;
00072
QListView* mCategoriesView;
00073
00074 KComboBox *mFieldCombo;
00075 KComboBox *mSortTypeCombo;
00076
00077 KAB::Core *mCore;
00078 KABC::AddresseeList mAddresseeList;
00079
Filter::List mFilters;
00080 KABC::Field::List mFields;
00081
bool mUseSorting;
00082 };
00083
00084 #endif
This file is part of the documentation for kaddressbook Library Version 3.3.0.