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.

62 lines
2.0 KiB

  1. /*******************************************************************
  2. KNotes -- Notes for the KDE project
  3. Copyright (c) 2003, Daniel Martin <>
  4. 2004, Michael Brade <>
  5. This program is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU General Public License
  7. as published by the Free Software Foundation; either version 2
  8. of the License, or (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  16. In addition, as a special exception, the copyright holders give
  17. permission to link the code of this program with any edition of
  18. the TQt library by Trolltech AS, Norway (or with modified versions
  19. of TQt that use the same license as TQt), and distribute linked
  20. combinations including the two. You must obey the GNU General
  21. Public License in all respects for all of the code used other than
  22. TQt. If you modify this file, you may extend this exception to
  23. your version of the file, but you are not obligated to do so. If
  24. you do not wish to do so, delete this exception statement from
  25. your version.
  26. *******************************************************************/
  27. #ifndef KNOTEHOSTDLG_H
  28. #define KNOTEHOSTDLG_H
  29. #include <kdialogbase.h>
  30. class KHistoryCombo;
  31. /**
  32. * A dialog to request a hostname or IP address.
  33. */
  34. class KNoteHostDlg : public KDialogBase
  35. {
  36. Q_OBJECT
  37. public:
  38. KNoteHostDlg( const TQString& caption, TQWidget *parent=0, const char *name=0 );
  39. ~KNoteHostDlg();
  40. TQString host() const;
  41. private slots:
  42. void slotTextChanged( const TQString & );
  43. private:
  44. KHistoryCombo *m_hostCombo;
  45. };
  46. #endif