kaddressbook
addviewdialog.h00001
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 <tqdict.h>
00029 #include <tqstring.h>
00030
00031 class TQButtonGroup;
00032 class TQLineEdit;
00033 class ViewFactory;
00034
00035
00041 class AddViewDialog : public KDialogBase
00042 {
00043 Q_OBJECT
00044
00045 public:
00046 AddViewDialog( TQDict<ViewFactory> *viewFactoryDict, TQWidget *parent,
00047 const char *name = 0 );
00048 ~AddViewDialog();
00049
00050 TQString viewName()const;
00051
00052 TQString viewType()const ;
00053
00054 protected slots:
00058 void clicked( int id );
00059
00063 void textChanged( const TQString &text );
00064
00065 private:
00066 TQDict<ViewFactory> *mViewFactoryDict;
00067 TQLineEdit *mViewNameEdit;
00068 TQButtonGroup *mTypeGroup;
00069
00070 int mTypeId;
00071 };
00072
00073 #endif
|