summaryrefslogtreecommitdiffstats
path: root/ksplashml/kcmksplash/installer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /ksplashml/kcmksplash/installer.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-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/kcmksplash/installer.h')
-rw-r--r--ksplashml/kcmksplash/installer.h32
1 files changed, 16 insertions, 16 deletions
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 <qmap.h>
-#include <qpoint.h>
+#include <tqmap.h>
+#include <tqpoint.h>
#include <klistbox.h>
#include <kurl.h>
@@ -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<QString, QString> text2path;
+ ThemeListBox(TQWidget *parent);
+ TQMap<TQString, TQString> 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;
};