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/kcmksplash/installer.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'ksplashml/kcmksplash/installer.h') diff --git a/ksplashml/kcmksplash/installer.h b/ksplashml/kcmksplash/installer.h index 43e37d0fc..98dc1fc39 100644 --- a/ksplashml/kcmksplash/installer.h +++ b/ksplashml/kcmksplash/installer.h @@ -11,8 +11,8 @@ #ifndef SPLASHINSTALLER_H #define SPLASHINSTALLER_H -#include -#include +#include +#include #include #include @@ -26,7 +26,7 @@ class SplashInstaller : public QWidget { Q_OBJECT public: - SplashInstaller(QWidget *parent=0, const char *aName=0, bool aInit=FALSE); + SplashInstaller(TQWidget *parent=0, const char *aName=0, bool aInit=FALSE); ~SplashInstaller(); virtual void load(); @@ -48,39 +48,39 @@ protected: /** Scan Themes directory for available theme packages */ virtual void readThemesList(); /** add a theme to the list, returns the list index */ - int addTheme(const QString &path, const QString &name); + int addTheme(const TQString &path, const TQString &name); void addNewTheme(const KURL &srcURL); - int findTheme( const QString &theme ); + int findTheme( const TQString &theme ); private: bool mGui; ThemeListBox *mThemesList; - QPushButton *mBtnAdd, *mBtnRemove, *mBtnTest; - QTextEdit *mText; - QLabel *mPreview; + TQPushButton *mBtnAdd, *mBtnRemove, *mBtnTest; + TQTextEdit *mText; + TQLabel *mPreview; }; class ThemeListBox: public KListBox { Q_OBJECT public: - ThemeListBox(QWidget *parent); - QMap text2path; + ThemeListBox(TQWidget *parent); + TQMap text2path; signals: void filesDropped(const KURL::List &urls); protected: - void dragEnterEvent(QDragEnterEvent* event); - void dropEvent(QDropEvent* event); - void mouseMoveEvent(QMouseEvent *e); + void dragEnterEvent(TQDragEnterEvent* event); + void dropEvent(TQDropEvent* event); + void mouseMoveEvent(TQMouseEvent *e); protected slots: - void slotMouseButtonPressed(int button, QListBoxItem *item, const QPoint &p); + void slotMouseButtonPressed(int button, TQListBoxItem *item, const TQPoint &p); private: - QString mDragFile; - QPoint mOldPos; + TQString mDragFile; + TQPoint mOldPos; }; -- cgit v1.2.1