summaryrefslogtreecommitdiffstats
path: root/kbugbuster/gui/serverconfigdialog.h
blob: 36bdbd969566dd5e6f8ec59b32ac54a47e6ebf76 (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
29
#ifndef SERVERCONFIGDIALOG_H
#define SERVERCONFIGDIALOG_H

#include <kdialogbase.h>

class BugServerConfig;
class TQLineEdit;
class KPasswordEdit;
class TQComboBox;

class ServerConfigDialog : public KDialogBase
{
    Q_OBJECT
  TQ_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