addviewdialog.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 ADDVIEWDIALOG_H
00025 #define ADDVIEWDIALOG_H
00026
00027 #include <kdialogbase.h>
00028 #include <qdict.h>
00029 #include <qstring.h>
00030
00031 class QButtonGroup;
00032 class QLineEdit;
00033 class ViewFactory;
00034
00035
00041 class AddViewDialog : public KDialogBase
00042 {
00043 Q_OBJECT
00044
00045 public:
00046 AddViewDialog( QDict<ViewFactory> *viewFactoryDict, QWidget *parent,
00047 const char *name = 0 );
00048 ~AddViewDialog();
00049
00050 QString viewName()const;
00051
00052 QString viewType()const ;
00053
00054 protected slots:
00058 void clicked( int id );
00059
00063 void textChanged( const QString &text );
00064
00065 private:
00066 QDict<ViewFactory> *mViewFactoryDict;
00067 QLineEdit *mViewNameEdit;
00068 QButtonGroup *mTypeGroup;
00069
00070 int mTypeId;
00071 };
00072
00073 #endif
This file is part of the documentation for kaddressbook Library Version 3.2.2.