From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/lock/lockdlg.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kdesktop/lock/lockdlg.h') 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 -#include -#include +#include +#include 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 -- cgit v1.2.1