diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksplashml/wndmain.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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 'ksplashml/wndmain.h')
-rw-r--r-- | ksplashml/wndmain.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ksplashml/wndmain.h b/ksplashml/wndmain.h index 1bed2b734..c1fa4ae45 100644 --- a/ksplashml/wndmain.h +++ b/ksplashml/wndmain.h @@ -14,9 +14,9 @@ #include <kapplication.h> -#include <qptrlist.h> -#include <qstring.h> -#include <qobject.h> +#include <tqptrlist.h> +#include <tqstring.h> +#include <tqobject.h> #include "ksplashiface.h" @@ -27,8 +27,8 @@ // in knowing this. typedef struct { - QString ItemPixmap; - QString ItemText; + TQString ItemPixmap; + TQString ItemText; } Action; class WndStatus; @@ -36,7 +36,7 @@ class ObjKsTheme; class ThemeEngine; class KConfig; -class KSplash: public QWidget, virtual public KSplashIface +class KSplash: public TQWidget, virtual public KSplashIface { Q_OBJECT @@ -44,14 +44,14 @@ public: KSplash(const char *name = "ksplash"); ~KSplash(); - QPtrList<Action> actionList(); + TQPtrList<Action> actionList(); // DCOP interface - ASYNC upAndRunning( QString ); + ASYNC upAndRunning( TQString ); ASYNC setMaxProgress(int); ASYNC setProgress(int); ASYNC setStartupItemCount( int count ); - ASYNC programStarted( QString programIcon, QString programName, QString description ); + ASYNC programStarted( TQString programIcon, TQString programName, TQString description ); ASYNC startupComplete(); ASYNC close(); ASYNC hide(); @@ -63,7 +63,7 @@ signals: void actionListChanged(); protected: - bool eventFilter( QObject *o, QEvent *e ); + bool eventFilter( TQObject *o, TQEvent *e ); public slots: void slotUpdateSteps( int ); @@ -75,35 +75,35 @@ private slots: void prepareSplashScreen(); void slotExec(); void nextIcon(); - void slotInsertAction( const QString&, const QString& ); + void slotInsertAction( const TQString&, const TQString& ); void slotReadProperties( KConfig * ); - void slotSetText( const QString& ); - void slotSetPixmap( const QString& ); + void slotSetText( const TQString& ); + void slotSetPixmap( const TQString& ); - void loadTheme( const QString& ); + void loadTheme( const TQString& ); private: - ThemeEngine *_loadThemeEngine( const QString& pluginName, const QString& theme ); + ThemeEngine *_loadThemeEngine( const TQString& pluginName, const TQString& theme ); void updateState( unsigned int state ); protected: unsigned int mState; unsigned int mMaxProgress; unsigned int mStep; // ?? - QTimer* close_timer; + TQTimer* close_timer; bool mSessMgrCalled; bool mTimeToGo; - QString mTheme; + TQString mTheme; ObjKsTheme *mKsTheme; ThemeEngine *mThemeEngine; - QPtrList<Action> mActionList; + TQPtrList<Action> mActionList; Action *mCurrentAction, *mPreviousAction; - QString mThemeLibName; + TQString mThemeLibName; }; #endif |