Source: sqlguipart/loginbox.h
|
|
|
|
/****************************************************************************
** Form interface generated from reading ui file 'loginbox.ui'
**
** Created: Tue Apr 9 16:11:52 2002
** by: The User Interface Compiler (uic)
**
** WARNING! All changes made in this file will be lost!
****************************************************************************/
#ifndef LOGINBOX_H
#define LOGINBOX_H
#include
#include
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class KLineEdit;
class KPasswordEdit;
class KSqueezedTextLabel;
class QFrame;
class QPushButton;
class KLocale;
class QComboBox;
class LoginBox : public QDialog
{
Q_OBJECT
public:
// LoginBox( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
LoginBox( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 , QString h = QString::null, QString u = QString::null, QString b = QString::null, int mytype=1 );
~LoginBox();
QFrame* Frame3;
QFrame* Frame4;
KSqueezedTextLabel* KSqueezedTextLabel2;
KLineEdit* host;
KLineEdit* base;
KSqueezedTextLabel* KSqueezedTextLabel3;
KLineEdit* user;
KSqueezedTextLabel* KSqueezedTextLabel4;
KSqueezedTextLabel* KSqueezedTextLabel9;
KPasswordEdit* passwd;
QPushButton* buttonOk;
QPushButton* buttonCancel;
QComboBox* Combo1;
signals:
void loginRequest( QString host, QString user, QString pass, QString base, int type);
void successfullLogin();
public slots:
void slotClear();
void slotLogin();
void slotSetServer( QString server );
void slotSetUser( QString user );
void enableBase( int selected );
protected:
int getType(int t);
int getPos(int t);
void notSupportedNow();
QVBoxLayout* LoginBoxLayout;
QGridLayout* Frame3Layout;
QGridLayout* Frame4Layout;
QHBoxLayout* Layout1;
KLocale* kl;
int type;
};
#endif // LOGINBOX_H
Generated by: marcus on voyager on Mon Sep 16 15:31:33 2002, using kdoc 2.0a53. |