From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/previewframe.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'kommander/editor/previewframe.h') diff --git a/kommander/editor/previewframe.h b/kommander/editor/previewframe.h index 21ecd9a7..6447f005 100644 --- a/kommander/editor/previewframe.h +++ b/kommander/editor/previewframe.h @@ -1,7 +1,7 @@ /********************************************************************** ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** -** This file is part of Qt Designer. +** This file is part of TQt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software @@ -26,24 +26,26 @@ #include "previewwidgetimpl.h" -class PreviewWorkspace : public QWorkspace +class PreviewWorkspace : public TQWorkspace { Q_OBJECT + TQ_OBJECT public: - PreviewWorkspace( TQWidget* parent = 0, const char* name = 0 ) - : TQWorkspace( parent, name ) {} + PreviewWorkspace( TQWidget* tqparent = 0, const char* name = 0 ) + : TQWorkspace( tqparent, name ) {} ~PreviewWorkspace() {} protected: void paintEvent( TQPaintEvent* ); }; -class PreviewFrame : public QVBox +class PreviewFrame : public TQVBox { Q_OBJECT + TQ_OBJECT public: - PreviewFrame( TQWidget *parent = 0, const char *name = 0 ); + PreviewFrame( TQWidget *tqparent = 0, const char *name = 0 ); void setPreviewPalette(TQPalette); private: -- cgit v1.2.1