summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/serverconfigdialog.h
blob: 33d4573bf8dcc004444f99dd2f78e5b82c4d9e4b (plain)
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
#ifndef SERVERCONFIGDIALOG_H
#define SERVERCONFIGDIALOG_H

#include <kdialogbase.h>

class BugServerConfig;
class QLineEdit;
class KPasswordEdit;
class QComboBox;

class ServerConfigDialog : public KDialogBase
{
    Q_OBJECT
  public:
    ServerConfigDialog( TQWidget *parent = 0 , const char *name = 0 );

    void setServerConfig( const BugServerConfig & );
    BugServerConfig serverConfig();
        
  private:
    TQLineEdit *mServerName;
    TQLineEdit *mServerUrl;
    TQLineEdit *mUser;
    KPasswordEdit *mPassword;
    TQComboBox *mVersion;
};

#endif