addhostdialog.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 ADDHOSTDIALOG_H
00025 #define ADDHOSTDIALOG_H
00026
00027 #include <kdialogbase.h>
00028
00029 class KLineEdit;
00030
00031 class QPushButton;
00032 class QSpinBox;
00033
00034 class AddHostDialog : public KDialogBase
00035 {
00036 Q_OBJECT
00037
00038 public:
00039 AddHostDialog( QWidget* parent = 0, const char* name = 0 );
00040 ~AddHostDialog();
00041
00042 void setHost( const QString &host );
00043 void setPort( int port );
00044 void setBaseDN( const QString &baseDN );
00045 void setBindDN( const QString &bindDN );
00046 void setPwdBindDN( const QString &pwdBindDN );
00047
00048 QString host() const;
00049 int port() const;
00050 QString baseDN() const;
00051 QString bindDN() const;
00052 QString pwdBindDN() const;
00053
00054 signals:
00055 void changed( bool );
00056
00057 private slots:
00058 void slotHostEditChanged( const QString& );
00059
00060 private:
00061 KLineEdit* mHostEdit;
00062 QSpinBox* mPortSpinBox;
00063 KLineEdit* mBaseEdit;
00064 KLineEdit* mBindEdit;
00065 KLineEdit* mPwdBindEdit;
00066 };
00067
00068 #endif // ADDHOSTDIALOG_H
This file is part of the documentation for kaddressbook Library Version 3.2.2.