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 /kdesktop/bgmanager.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 'kdesktop/bgmanager.h')
-rw-r--r-- | kdesktop/bgmanager.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kdesktop/bgmanager.h b/kdesktop/bgmanager.h index 455e3a3ad..8396f161a 100644 --- a/kdesktop/bgmanager.h +++ b/kdesktop/bgmanager.h @@ -10,8 +10,8 @@ #ifndef __BGManager_h_Included__ #define __BGManager_h_Included__ -#include <qstring.h> -#include <qptrvector.h> +#include <tqstring.h> +#include <tqptrvector.h> #include <KBackgroundIface.h> @@ -50,13 +50,13 @@ struct KBackgroundCacheEntry */ class KBackgroundManager - : public QObject, + : public TQObject, virtual public KBackgroundIface { Q_OBJECT public: - KBackgroundManager(QWidget *desktop, KWinModule* kwinModule); + KBackgroundManager(TQWidget *desktop, KWinModule* kwinModule); ~KBackgroundManager(); void configure(); @@ -65,15 +65,15 @@ public: void setExport(int); bool isExport() { return m_bExport; }; void setCache(int, int); - void setWallpaper(int desk, QString wallpaper, int mode); - void setWallpaper(QString wallpaper, int mode); - void setWallpaper(QString wallpaper); + void setWallpaper(int desk, TQString wallpaper, int mode); + void setWallpaper(TQString wallpaper, int mode); + void setWallpaper(TQString wallpaper); void changeWallpaper(); - QString currentWallpaper(int desk); - void setColor(const QColor & c, bool isColorA = true); + TQString currentWallpaper(int desk); + void setColor(const TQColor & c, bool isColorA = true); void setBackgroundEnabled(const bool enable); - QStringList wallpaperList(int desk); - QStringList wallpaperFiles(int desk); + TQStringList wallpaperList(int desk); + TQStringList wallpaperFiles(int desk); signals: void initDone(); @@ -82,7 +82,7 @@ private slots: void slotTimeout(); void slotImageDone(int desk); void slotChangeDesktop(int); - void slotChangeViewport(int, const QPoint&); + void slotChangeViewport(int, const TQPoint&); void slotChangeNumberOfDesktops(int); void repaintBackground(); void desktopResized(); @@ -105,7 +105,7 @@ private: void renderBackground(int desk); void exportBackground(int pixmap, int desk); - int pixmapSize(QPixmap *pm); + int pixmapSize(TQPixmap *pm); int cacheSize(); void removeCache(int desk); bool freeCache(int size); @@ -121,15 +121,15 @@ private: int m_Serial, m_Hash, m_Current; KConfig *m_pConfig; - QWidget *m_pDesktop; - QTimer *m_pTimer; + TQWidget *m_pDesktop; + TQTimer *m_pTimer; #ifdef COMPOSITE KPixmap *m_tPixmap; #endif - QPtrVector<KVirtualBGRenderer> m_Renderer; - QPtrVector<KBackgroundCacheEntry> m_Cache; + TQPtrVector<KVirtualBGRenderer> m_Renderer; + TQPtrVector<KBackgroundCacheEntry> m_Cache; KWinModule *m_pKwinmodule; KPixmapServer *m_pPixmapServer; |