exchangeconfig.h
1 /*
2  This file is part of KOrganizer.
3  Copyright (c) 2002 Jan-Pascal van Best <janpascal@vanbest.org>
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9 
10  This program is distributed in the hope that it will be useful,
11  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  GNU General Public License for more details.
14 
15  You should have received a copy of the GNU General Public License
16  along with this program; if not, write to the Free Software
17  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 #ifndef EXCHANGECONFIG_H
20 #define EXCHANGECONFIG_H
21 
22 #include <tqcheckbox.h>
23 #include <tqpushbutton.h>
24 #include <kdialogbase.h>
25 #include <klineedit.h>
26 //#include <kpassdlg.h>
27 
28 #include <exchangeaccount.h>
29 
30 class ExchangeConfig : public KDialogBase
31 {
32  TQ_OBJECT
33 
34  public:
35  ExchangeConfig(KPIM::ExchangeAccount* account, TQWidget *parent=0);
36  virtual ~ExchangeConfig();
37 
38 // protected:
39 // void load();
40 // void save();
41 
42  protected slots:
43  void slotToggleAuto( bool on );
44  void slotUserChanged( const TQString& text );
45  void slotFindClicked();
46  void slotOk();
47 
48  private:
49  public:
50  KPIM::ExchangeAccount* mAccount;
51  KLineEdit *m_host;
52  KLineEdit *m_port;
53  KLineEdit *m_user;
54  TQCheckBox *m_autoMailbox;
55  KLineEdit *m_mailbox;
56  TQPushButton* m_tryFindMailbox;
57  KLineEdit *m_password;
58 };
59 
60 #endif
61