File indexing completed on 2024-04-28 15:35:04

0001 /***************************************************************************
0002                           dlgquickconnect.h  -  QuickConnect dialog
0003     This file is a part of KMuddy distribution.
0004                              -------------------
0005     begin                : Út Jul 23 2002
0006     copyright            : (C) 2002 by Tomas Mecir
0007     email                : kmuddy@kmuddy.com
0008  ***************************************************************************/
0009 
0010 /***************************************************************************
0011  *                                                                         *
0012  *   This program is free software; you can redistribute it and/or modify  *
0013  *   it under the terms of the GNU General Public License as published by  *
0014  *   the Free Software Foundation; either version 2 of the License, or     *
0015  *   (at your option) any later version.                                   *
0016  *                                                                         *
0017  ***************************************************************************/
0018 
0019 #ifndef DLGQUICKCONNECT_H
0020 #define DLGQUICKCONNECT_H
0021 
0022 #include <QDialog>
0023 
0024 class QLineEdit;
0025 class QSpinBox;
0026 
0027 /**
0028 QuickConnect dialog - handled by cConnection.
0029   *@author Tomas Mecir
0030   */
0031 
0032 class dlgQuickConnect : public QDialog {
0033    Q_OBJECT
0034 public: 
0035   dlgQuickConnect (QWidget *parent=nullptr);
0036   ~dlgQuickConnect () override;
0037 
0038   QSize sizeHint() const override;
0039   /** values in LineEdits */
0040   QString host ();
0041   int port ();
0042 
0043 protected:
0044   QLineEdit *ed1;
0045   QSpinBox *ed2;
0046 };
0047 
0048 #endif