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 <tqcheckbox.h>
00023 #include <tqpushbutton.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   
00034   public:
00035     ExchangeConfig(KPIM::ExchangeAccount* account, TQWidget *parent=0);
00036     virtual ~ExchangeConfig();
00037 
00038 //  protected:
00039 //    void load();
00040 //    void save();
00041 
00042   protected slots:
00043     void slotToggleAuto( bool on );
00044     void slotUserChanged( const TQString& text );
00045     void slotFindClicked();
00046     void slotOk();
00047 
00048   private:
00049   public:
00050     KPIM::ExchangeAccount* mAccount;
00051     KLineEdit *m_host;
00052     KLineEdit *m_port;
00053     KLineEdit *m_user;
00054     TQCheckBox *m_autoMailbox;
00055     KLineEdit *m_mailbox;
00056     TQPushButton* m_tryFindMailbox;
00057     KLineEdit *m_password;
00058 };
00059 
00060 #endif
00061