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 --- kdm/kfrontend/kgreeter.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kdm/kfrontend/kgreeter.h') diff --git a/kdm/kfrontend/kgreeter.h b/kdm/kfrontend/kgreeter.h index 32191fafe..c81e4eaed 100644 --- a/kdm/kfrontend/kgreeter.h +++ b/kdm/kfrontend/kgreeter.h @@ -43,12 +43,12 @@ class QPopupMenu; class QListViewItem; struct SessType { - QString name, type; + TQString name, type; bool hid; int prio; SessType() {} - SessType( const QString &n, const QString &t, bool h, int p ) : + SessType( const TQString &n, const TQString &t, bool h, int p ) : name( n ), type( t ), hid( h ), prio( p ) {} bool operator<( const SessType &st ) { return hid != st.hid ? hid < st.hid : @@ -68,25 +68,25 @@ class KGreeter : public KGDialog, public KGVerifyHandler { public slots: void accept(); void reject(); - void slotUserClicked( QListViewItem * ); + void slotUserClicked( TQListViewItem * ); void slotSessionSelected( int ); void slotUserEntered(); protected: void installUserList(); - void insertUser( const QImage &, const QString &, struct passwd * ); + void insertUser( const TQImage &, const TQString &, struct passwd * ); void insertUsers(); - void putSession( const QString &, const QString &, bool, const char * ); + void putSession( const TQString &, const TQString &, bool, const char * ); void insertSessions(); virtual void pluginSetup(); void setPrevWM( int ); - QString curUser, dName; + TQString curUser, dName; KSimpleConfig *stsFile; UserListView *userView; - QStringList *userList; - QPopupMenu *sessMenu; - QValueVector sessionTypes; + TQStringList *userList; + TQPopupMenu *sessMenu; + TQValueVector sessionTypes; int nNormals, nSpecials; int curPrev, curSel; bool prevValid; @@ -104,7 +104,7 @@ class KGreeter : public KGDialog, public KGVerifyHandler { virtual void verifyOk(); virtual void verifyFailed(); // virtual void verifyRetry(); - virtual void verifySetUser( const QString &user ); + virtual void verifySetUser( const TQString &user ); }; class KStdGreeter : public KGreeter { @@ -119,9 +119,9 @@ class KStdGreeter : public KGreeter { private: KdmClock *clock; - QLabel *pixLabel; - QPushButton *goButton; - QPushButton *menuButton; + TQLabel *pixLabel; + TQPushButton *goButton; + TQPushButton *menuButton; public: // from KGVerifyHandler virtual void verifyFailed(); @@ -135,19 +135,19 @@ class KThemedGreeter : public KGreeter { public: KThemedGreeter(); bool isOK() { return themer != 0; } - static QString timedUser; + static TQString timedUser; static int timedDelay; public slots: - void slotThemeActivated( const QString &id ); + void slotThemeActivated( const TQString &id ); void slotSessMenu(); void slotActionMenu(); protected: virtual void updateStatus( bool fail, bool caps, int timedleft ); virtual void pluginSetup(); - virtual void keyPressEvent( QKeyEvent * ); - virtual bool event( QEvent *e ); + virtual void keyPressEvent( TQKeyEvent * ); + virtual bool event( TQEvent *e ); private: // KdmClock *clock; -- cgit v1.2.1