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 --- ksplashml/themeengine/redmond/themeredmond.h | 56 ++++++++++++++-------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'ksplashml/themeengine/redmond/themeredmond.h') diff --git a/ksplashml/themeengine/redmond/themeredmond.h b/ksplashml/themeengine/redmond/themeredmond.h index a35662181..bbde2ddf6 100644 --- a/ksplashml/themeengine/redmond/themeredmond.h +++ b/ksplashml/themeengine/redmond/themeredmond.h @@ -25,12 +25,12 @@ class CfgRedmond: public ThemeEngineConfig { Q_OBJECT public: - CfgRedmond( QWidget *, KConfig * ); + CfgRedmond( TQWidget *, KConfig * ); protected: - QCheckBox *mShowUsername; - QCheckBox *mShowIcon; - QCheckBox *mShowWelcome; + TQCheckBox *mShowUsername; + TQCheckBox *mShowIcon; + TQCheckBox *mShowWelcome; KFontCombo *mWelcomeFont; KFontCombo *mUsernameFont; KFontCombo *mActionFont; @@ -41,18 +41,18 @@ class ThemeRedmond: public ThemeEngine { Q_OBJECT public: - ThemeRedmond( QWidget *, const char *, const QStringList& ); + ThemeRedmond( TQWidget *, const char *, const TQStringList& ); - inline const QString name() { return( QString("Redmond") ); } - static QStringList names() + inline const TQString name() { return( TQString("Redmond") ); } + static TQStringList names() { - QStringList Names; + TQStringList Names; Names << "Redmond"; return( Names ); }; public slots: - inline void slotSetText( const QString& s ) + inline void slotSetText( const TQString& s ) { if( mText != s ) { @@ -62,15 +62,15 @@ public slots: }; private: - void paintEvent( QPaintEvent * ); + void paintEvent( TQPaintEvent * ); void _initUi(); void _readSettings(); - QString mText; - QPixmap mPixmap; + TQString mText; + TQPixmap mPixmap; bool mRedrawKonqi; - QPoint mMsgPos; + TQPoint mMsgPos; KPixmap mImage; // ThemeEngine configuration. @@ -81,21 +81,21 @@ private: bool mShowActionText; bool mShowIcon; bool mUseKdmUserIcon; - QString mBackgroundImage; - QString mWelcomeText; - QString mUsernameText; // Leave this undefined to autodetect the username. - QString mIcon; - QFont mWelcomeFont; - QFont mUsernameFont; - QFont mActionFont; - QColor mWelcomeTextColor; - QColor mWelcomeTextShadowColor; - QColor mUsernameTextColor; - QColor mActionTextColor; - QPoint mWelcomeTextPosition; // Set this to (0,0) to autoposition the text. - QPoint mUsernameTextPosition; // Likewise. - QPoint mActionTextPosition; // Likewise likewise. - QPoint mIconPosition; // ... + TQString mBackgroundImage; + TQString mWelcomeText; + TQString mUsernameText; // Leave this undefined to autodetect the username. + TQString mIcon; + TQFont mWelcomeFont; + TQFont mUsernameFont; + TQFont mActionFont; + TQColor mWelcomeTextColor; + TQColor mWelcomeTextShadowColor; + TQColor mUsernameTextColor; + TQColor mActionTextColor; + TQPoint mWelcomeTextPosition; // Set this to (0,0) to autoposition the text. + TQPoint mUsernameTextPosition; // Likewise. + TQPoint mActionTextPosition; // Likewise likewise. + TQPoint mIconPosition; // ... } ; -- cgit v1.2.1