summaryrefslogtreecommitdiffstats
path: root/kwin/lib/kdecoration_p.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 /kwin/lib/kdecoration_p.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 'kwin/lib/kdecoration_p.h')
-rw-r--r--kwin/lib/kdecoration_p.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kwin/lib/kdecoration_p.h b/kwin/lib/kdecoration_p.h
index 8d0e5e15a..58f386c9b 100644
--- a/kwin/lib/kdecoration_p.h
+++ b/kwin/lib/kdecoration_p.h
@@ -30,8 +30,8 @@ DEALINGS IN THE SOFTWARE.
//
#include "kdecoration.h"
-#include <qwidget.h>
-#include <qvaluelist.h>
+#include <tqwidget.h>
+#include <tqvaluelist.h>
class KConfig;
@@ -42,13 +42,13 @@ class KWIN_EXPORT KDecorationOptionsPrivate : public KDecorationDefines
virtual ~KDecorationOptionsPrivate();
void defaultKWinSettings(); // shared implementation
unsigned long updateKWinSettings( KConfig* ); // shared implementation
- BorderSize findPreferredBorderSize( BorderSize size, QValueList< BorderSize > ) const; // shared implementation
+ BorderSize findPreferredBorderSize( BorderSize size, TQValueList< BorderSize > ) const; // shared implementation
- QColor colors[NUM_COLORS*2];
- QColorGroup *cg[NUM_COLORS*2];
- QFont activeFont, inactiveFont, activeFontSmall, inactiveFontSmall;
- QString title_buttons_left;
- QString title_buttons_right;
+ TQColor colors[NUM_COLORS*2];
+ TQColorGroup *cg[NUM_COLORS*2];
+ TQFont activeFont, inactiveFont, activeFontSmall, inactiveFontSmall;
+ TQString title_buttons_left;
+ TQString title_buttons_right;
bool custom_button_positions;
bool show_tooltips;
BorderSize border_size, cached_border_size;
@@ -77,18 +77,18 @@ class KDecorationBridge : public KDecorationDefines
virtual bool isMovable() const = 0;
virtual bool isResizable() const = 0;
virtual NET::WindowType windowType( unsigned long supported_types ) const = 0;
- virtual QIconSet icon() const = 0;
- virtual QString caption() const = 0;
- virtual void processMousePressEvent( QMouseEvent* ) = 0;
- virtual void showWindowMenu( const QRect &) = 0;
- virtual void showWindowMenu( QPoint ) = 0;
+ virtual TQIconSet icon() const = 0;
+ virtual TQString caption() const = 0;
+ virtual void processMousePressEvent( TQMouseEvent* ) = 0;
+ virtual void showWindowMenu( const TQRect &) = 0;
+ virtual void showWindowMenu( TQPoint ) = 0;
virtual void performWindowOperation( WindowOperation ) = 0;
- virtual void setMask( const QRegion&, int ) = 0;
+ virtual void setMask( const TQRegion&, int ) = 0;
virtual bool isPreview() const = 0;
- virtual QRect geometry() const = 0;
- virtual QRect iconGeometry() const = 0;
- virtual QRegion unobscuredRegion( const QRegion& r ) const = 0;
- virtual QWidget* workspaceWidget() const = 0;
+ virtual TQRect geometry() const = 0;
+ virtual TQRect iconGeometry() const = 0;
+ virtual TQRegion unobscuredRegion( const TQRegion& r ) const = 0;
+ virtual TQWidget* workspaceWidget() const = 0;
virtual WId windowId() const = 0;
virtual void closeWindow() = 0;
virtual void maximize( MaximizeMode mode ) = 0;
@@ -102,7 +102,7 @@ class KDecorationBridge : public KDecorationDefines
virtual void setKeepBelow( bool ) = 0;
// not part of public API
virtual int currentDesktop() const = 0;
- virtual QWidget* initialParentWidget() const = 0;
+ virtual TQWidget* initialParentWidget() const = 0;
virtual Qt::WFlags initialWFlags() const = 0;
virtual void helperShowHide( bool ) = 0;
virtual void grabXServer( bool grab ) = 0;