summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/serverconfigdialog.h
blob: 5764bfdf2f3b970d93a0c9f36127d470fb8310ef (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( QWidget *parent = 0 , const char *name = 0 );

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

#endif