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 --- kdesktop/desktop.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kdesktop/desktop.h') diff --git a/kdesktop/desktop.h b/kdesktop/desktop.h index 0407fbe4f..0ad57ce7b 100644 --- a/kdesktop/desktop.h +++ b/kdesktop/desktop.h @@ -22,8 +22,8 @@ #include "KDesktopIface.h" -#include -#include +#include +#include #include // for logout parameters @@ -45,11 +45,11 @@ class KRootWidget : public QObject Q_OBJECT public: KRootWidget(); - bool eventFilter( QObject *, QEvent * e ); + bool eventFilter( TQObject *, TQEvent * e ); signals: void wheelRolled( int delta ); - void colorDropEvent( QDropEvent* e ); - void imageDropEvent( QDropEvent* e ); + void colorDropEvent( TQDropEvent* e ); + void imageDropEvent( TQDropEvent* e ); void newWallpaper( const KURL& url ); }; @@ -58,7 +58,7 @@ signals: * It handles the background, the screensaver and all the rest of the global stuff. * The icon view is a child widget of KDesktop. */ -class KDesktop : public QWidget, virtual public KDesktopIface +class KDesktop : public TQWidget, virtual public KDesktopIface { Q_OBJECT @@ -75,11 +75,11 @@ public: virtual void selectAll(); virtual void unselectAll(); virtual void refreshIcons(); - virtual QStringList selectedURLs(); + virtual TQStringList selectedURLs(); virtual void configure(); virtual void popupExecuteCommand(); - virtual void popupExecuteCommand(const QString& content); + virtual void popupExecuteCommand(const TQString& content); virtual void refresh(); virtual void logout(); virtual void clearCommandHistory(); @@ -87,7 +87,7 @@ public: virtual void switchDesktops( int delta ); - virtual void desktopIconsAreaChanged(const QRect &area, int screen); + virtual void desktopIconsAreaChanged(const TQRect &area, int screen); void logout( KApplication::ShutdownConfirm confirm, KApplication::ShutdownType sdtype ); @@ -141,8 +141,8 @@ private slots: void slotSetVRoot(); /** Connected to KDIconView */ - void handleImageDropEvent( QDropEvent * ); - void handleColorDropEvent( QDropEvent * ); + void handleImageDropEvent( TQDropEvent * ); + void handleColorDropEvent( TQDropEvent * ); void slotNewWallpaper(const KURL &url); /** Connected to KDIconView and KRootWidget */ @@ -155,14 +155,14 @@ protected: void initConfig(); void initRoot(); - virtual void closeEvent(QCloseEvent *e); + virtual void closeEvent(TQCloseEvent *e); virtual bool isVRoot() { return set_vroot; } virtual void setVRoot( bool enable ); virtual bool isIconsEnabled() { return m_bDesktopEnabled; } virtual void setIconsEnabled( bool enable ); - virtual bool event ( QEvent * e ); + virtual bool event ( TQEvent * e ); private slots: void desktopResized(); @@ -195,7 +195,7 @@ private: /** Whether or not to switch desktops when mouse wheel is rolled */ bool m_bWheelSwitchesWorkspace; - QTimer *m_waitForKicker; + TQTimer *m_waitForKicker; /** Default mouse wheel direction (Fwd means mwheel up switches to lower desktop) -- cgit v1.2.3