TDE personal information management applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
1.6KB

  1. /*
  2. This file is part of KAddressBook.
  3. Copyright (c) 2002 Tobias Koenig <tokoe@kde.org>
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation; either version 2 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  15. As a special exception, permission is given to link this program
  16. with any edition of TQt, and distribute the resulting executable,
  17. without including the source code for TQt in the source distribution.
  18. */
  19. #ifndef ADDHOSTDIALOG_H
  20. #define ADDHOSTDIALOG_H
  21. #include <kdialogbase.h>
  22. #include <kabc/ldapconfigwidget.h>
  23. #include <libtdepim/ldapclient.h>
  24. class KLineEdit;
  25. class TQPushButton;
  26. class TQSpinBox;
  27. class AddHostDialog : public KDialogBase
  28. {
  29. Q_OBJECT
  30. TQ_OBJECT
  31. public:
  32. AddHostDialog( KPIM::LdapServer* server, TQWidget* parent = 0, const char* name = 0 );
  33. ~AddHostDialog();
  34. signals:
  35. void changed( bool );
  36. private slots:
  37. void slotHostEditChanged( const TQString& );
  38. virtual void slotOk();
  39. private:
  40. KABC::LdapConfigWidget *mCfg;
  41. KPIM::LdapServer *mServer;
  42. };
  43. #endif // ADDHOSTDIALOG_H