summaryrefslogtreecommitdiffstats
path: root/kdesktop/lock/lockdlg.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdesktop/lock/lockdlg.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/lock/lockdlg.h')
-rw-r--r--kdesktop/lock/lockdlg.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kdesktop/lock/lockdlg.h b/kdesktop/lock/lockdlg.h
index 4bb468c03..592acd7ce 100644
--- a/kdesktop/lock/lockdlg.h
+++ b/kdesktop/lock/lockdlg.h
@@ -11,8 +11,8 @@
#include <kgreeterplugin.h>
-#include <qdialog.h>
-#include <qstringlist.h>
+#include <tqdialog.h>
+#include <tqstringlist.h>
struct GreeterPluginHandle;
class LockProcess;
@@ -27,7 +27,7 @@ class QListView;
// Simple dialog for entering a password.
// It does not handle password validation.
//
-class PasswordDlg : public QDialog, public KGreeterPluginHandler
+class PasswordDlg : public TQDialog, public KGreeterPluginHandler
{
Q_OBJECT
@@ -39,14 +39,14 @@ public:
// from KGreetPluginHandler
virtual void gplugReturnText( const char *text, int tag );
virtual void gplugReturnBinary( const char *data );
- virtual void gplugSetUser( const QString & );
+ virtual void gplugSetUser( const TQString & );
virtual void gplugStart();
virtual void gplugActivity();
- virtual void gplugMsgBox( QMessageBox::Icon type, const QString &text );
+ virtual void gplugMsgBox( TQMessageBox::Icon type, const TQString &text );
protected:
- virtual void timerEvent(QTimerEvent *);
- virtual bool eventFilter(QObject *, QEvent *);
+ virtual void timerEvent(TQTimerEvent *);
+ virtual bool eventFilter(TQObject *, TQEvent *);
private slots:
void slotSwitchUser();
@@ -57,7 +57,7 @@ private slots:
void slotActivity();
private:
- void setLayoutText( const QString &txt );
+ void setLayoutText( const TQString &txt );
void capsLocked();
void updateLabel();
int Reader (void *buf, int count);
@@ -73,19 +73,19 @@ private:
void cantCheck();
GreeterPluginHandle *mPlugin;
KGreeterPlugin *greet;
- QFrame *frame;
- QGridLayout *frameLayout;
- QLabel *mStatusLabel;
+ TQFrame *frame;
+ TQGridLayout *frameLayout;
+ TQLabel *mStatusLabel;
KPushButton *mNewSessButton, *ok, *cancel;
- QPushButton *mLayoutButton;
+ TQPushButton *mLayoutButton;
int mFailedTimerId;
int mTimeoutTimerId;
int mCapsLocked;
bool mUnlockingFailed;
- QStringList layoutsList;
- QStringList::iterator currLayout;
+ TQStringList layoutsList;
+ TQStringList::iterator currLayout;
int sPid, sFd;
- QListView *lv;
+ TQListView *lv;
};
#endif