]> git.sesse.net Git - vlc/blob - plugins/kde/kde_net.h
954b38725126bdb058fa6d44aa23bf76ddd0ea43
[vlc] / plugins / kde / kde_net.h
1 /***************************************************************************
2                           kde_net.h  -  description
3                              -------------------
4     begin                : Mon Apr 9 2001
5     copyright            : (C) 2001 by andres
6     email                : dae@chez.com
7  ***************************************************************************/
8
9 #ifndef _KDE_NET_H_
10 #define _KDE_NET_H_
11
12 #include <qwidget.h>
13 #include <kdialogbase.h>
14
15 class QVButtonGroup;
16 class QRadioButton;
17 class QSpinBox;
18 class KLineEdit;
19
20 /**
21   *@author andres
22   */
23
24 class KNetDialog : public KDialogBase  {
25                 Q_OBJECT
26         public:
27                 KNetDialog(QWidget *parent=0, const char *name=0);
28                 ~KNetDialog();
29
30                 QString protocol() const;
31                 QString server() const;
32                 int                     port() const;
33
34         private:
35                 QVButtonGroup   *fButtonGroup;
36                 QRadioButton            *fTSButton;
37                 QRadioButton            *fRTPButton;
38                 QRadioButton            *fHTTPButton;
39                 KLineEdit                               *fAddress;
40                 QSpinBox                                *fPort;
41
42 };
43
44 #endif /* _KDE_NET_H_ */