korganizer
exchangeconfig.h
00001 /* 00002 This file is part of KOrganizer. 00003 Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org> 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 00018 */ 00019 #ifndef EXCHANGECONFIG_H 00020 #define EXCHANGECONFIG_H 00021 00022 #include <qcheckbox.h> 00023 #include <qpushbutton.h> 00024 #include <kdialogbase.h> 00025 #include <klineedit.h> 00026 //#include <kpassdlg.h> 00027 00028 #include <exchangeaccount.h> 00029 00030 class ExchangeConfig : public KDialogBase 00031 { 00032 Q_OBJECT 00033 public: 00034 ExchangeConfig(KPIM::ExchangeAccount* account, QWidget *parent=0); 00035 virtual ~ExchangeConfig(); 00036 00037 // protected: 00038 // void load(); 00039 // void save(); 00040 00041 protected slots: 00042 void slotToggleAuto( bool on ); 00043 void slotUserChanged( const QString& text ); 00044 void slotFindClicked(); 00045 void slotOk(); 00046 00047 private: 00048 public: 00049 KPIM::ExchangeAccount* mAccount; 00050 KLineEdit *m_host; 00051 KLineEdit *m_port; 00052 KLineEdit *m_user; 00053 QCheckBox *m_autoMailbox; 00054 KLineEdit *m_mailbox; 00055 QPushButton* m_tryFindMailbox; 00056 KLineEdit *m_password; 00057 }; 00058 00059 #endif 00060