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 --- quanta/components/framewizard/framewizard.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'quanta/components/framewizard/framewizard.cpp') diff --git a/quanta/components/framewizard/framewizard.cpp b/quanta/components/framewizard/framewizard.cpp index e0e7d5d9..0eabb061 100644 --- a/quanta/components/framewizard/framewizard.cpp +++ b/quanta/components/framewizard/framewizard.cpp @@ -28,7 +28,7 @@ static const TQString info1=i18n("You must select an area."), info2=i18n("Before editing a frame you must save the file."); -FrameWizard::FrameWizard(TQWidget *parent, const char *name) : FrameWizardS(parent, name), +FrameWizard::FrameWizard(TQWidget *tqparent, const char *name) : FrameWizardS(tqparent, name), m_hasSelected(false),m_saved(false) { m_hasSelected = false; @@ -44,7 +44,7 @@ m_hasSelected(false),m_saved(false) } FrameWizard::~FrameWizard(){ -#define QT_CHECK_NULL +#define TQT_CHECK_NULL Q_CHECK_PTR( vfe ); } @@ -57,7 +57,7 @@ void FrameWizard::split(){ if(m_hasSelected) { int split = 0; TQString currNodeLabel = m_currSA; - TQString senderName=sender()->name(); + TQString senderName=TQT_TQOBJECT(const_cast(sender()))->name(); if(senderName=="pbHorizontal"){ split = showRCeditorDlg(i18n("Enter the desired number of rows:")); if(split>=2) vfe->split(currNodeLabel,split,HORIZONTAL); -- cgit v1.2.1