File: kbslocationdialog.h

package info (click to toggle)
kboincspy 0.9.1-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 12,880 kB
  • ctags: 3,964
  • sloc: cpp: 29,018; sh: 9,736; perl: 2,793; makefile: 472; xml: 119
file content (72 lines) | stat: -rw-r--r-- 1,684 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/****************************************************************************
** Form interface generated from reading ui file './kbslocationdialog.ui'
**
** Created: Mon Feb 6 18:28:47 2006
**      by: The User Interface Compiler ($Id: qt/main.cpp   3.3.4   edited Nov 24 2003 $)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/

#ifndef KBSLOCATIONDIALOG_H
#define KBSLOCATIONDIALOG_H

#include <qvariant.h>
#include <qdialog.h>
#include <klocale.h>
#include <kurl.h>
#include <kbsboincmonitor.h>

class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QSpacerItem;
class QLabel;
class KURLRequester;
class KLineEdit;
class KComboBox;
class KPushButton;
class KBSLocation;

class KBSLocationDialog : public QDialog
{
    Q_OBJECT

public:
    KBSLocationDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
    ~KBSLocationDialog();

    QLabel* label_url;
    KURLRequester* url;
    QLabel* label_host;
    KLineEdit* host;
    QLabel* label_port;
    KComboBox* port;
    KPushButton* ok;
    KPushButton* cancel;

    bool changed;

    virtual QString defaultHost();
    virtual KBSLocation location();

public slots:
    virtual void updateURL( const QString & string );
    virtual void updateHost( const QString & string );

protected:
    QVBoxLayout* KBSLocationDialogLayout;
    QSpacerItem* spacer;
    QHBoxLayout* layout_url;
    QHBoxLayout* layout_host;
    QHBoxLayout* layout_buttons;
    QSpacerItem* spacer_buttons;

protected slots:
    virtual void languageChange();

private:
    void init();

};

#endif // KBSLOCATIONDIALOG_H