From 5709a9f672c19f62a6f982f0d931f716b3ceefc4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 14 Feb 2012 21:21:20 -0600 Subject: Update various qt function definitions and static methods for tqt3 --- kxsldbg/kxsldbgpart/kxsldbg_part.cpp | 6 +++--- kxsldbg/kxsldbgpart/xsldbginspector.cpp | 16 ++++++++-------- quanta/components/framewizard/framewizard.cpp | 2 +- quanta/dialogs/tagdialogs/listdlg.cpp | 2 +- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp index f86504c1..046a4134 100644 --- a/kxsldbg/kxsldbgpart/kxsldbg_part.cpp +++ b/kxsldbg/kxsldbgpart/kxsldbg_part.cpp @@ -250,7 +250,7 @@ KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/, createInspector(); if (checkDebugger()){ configWidget = new XsldbgConfigImpl( debugger, 0L ); - Q_CHECK_PTR( configWidget ); + TQ_CHECK_PTR( configWidget ); debugger->start(); }else{ openURL(""); @@ -468,7 +468,7 @@ void KXsldbgPart::createInspector() { if ( inspector == 0L ) { debugger = new XsldbgDebugger(); - Q_CHECK_PTR( debugger ); + TQ_CHECK_PTR( debugger ); if ( debugger != 0L ) { connect(debugger, TQT_SIGNAL( debuggerReady()), this, TQT_SLOT(debuggerStarted())); @@ -479,7 +479,7 @@ void KXsldbgPart::createInspector() TQT_SLOT(slotProcShowMessage(TQString /* msg*/))); } inspector = new XsldbgInspector( debugger ); - Q_CHECK_PTR( inspector ); + TQ_CHECK_PTR( inspector ); debugger->setInspector( inspector ); if (inspector != 0L){ /*process line number and/or file name changed */ diff --git a/kxsldbg/kxsldbgpart/xsldbginspector.cpp b/kxsldbg/kxsldbgpart/xsldbginspector.cpp index 9503eeae..d280adbd 100644 --- a/kxsldbg/kxsldbgpart/xsldbginspector.cpp +++ b/kxsldbg/kxsldbgpart/xsldbginspector.cpp @@ -54,7 +54,7 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, TQWidget* parent, const char* name, bool modal, WFlags fl ) : TQDialog( parent, name, modal, fl ) { - Q_CHECK_PTR(debugger); + TQ_CHECK_PTR(debugger); this->debugger = debugger; breakpointWidget = 0L; localWidget = 0L; @@ -71,37 +71,37 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, TQWidget* parent, "XsldbgInspectorLayout"); tabWidget = new TQTabWidget( this, "tabWidget" ); - Q_CHECK_PTR( tabWidget ); + TQ_CHECK_PTR( tabWidget ); breakpointWidget = new XsldbgBreakpointsImpl( debugger, tabWidget ); - Q_CHECK_PTR( breakpointWidget ); + TQ_CHECK_PTR( breakpointWidget ); tabWidget->insertTab( breakpointWidget, i18n( "Breakpoints" ) ); localWidget = new XsldbgLocalVariablesImpl( debugger, tabWidget ); - Q_CHECK_PTR( localWidget ); + TQ_CHECK_PTR( localWidget ); tabWidget->insertTab( localWidget, TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), i18n( "Variables" ) ); callStackWidget = new XsldbgCallStackImpl( debugger, tabWidget ); - Q_CHECK_PTR( callStackWidget ); + TQ_CHECK_PTR( callStackWidget ); tabWidget->insertTab( callStackWidget, TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), i18n( "CallStack" )); templateWidget = new XsldbgTemplatesImpl( debugger, tabWidget ); - Q_CHECK_PTR( templateWidget ); + TQ_CHECK_PTR( templateWidget ); tabWidget->insertTab( templateWidget, TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), i18n( "Templates" )); sourceWidget = new XsldbgSourcesImpl( debugger, tabWidget ); - Q_CHECK_PTR( sourceWidget ); + TQ_CHECK_PTR( sourceWidget ); tabWidget->insertTab( sourceWidget, TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), i18n( "Sources" )); entityWidget = new XsldbgEntitiesImpl( debugger, tabWidget ); - Q_CHECK_PTR( entityWidget ); + TQ_CHECK_PTR( entityWidget ); tabWidget->insertTab( entityWidget, TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_data.png" ) ), i18n( "Entities" )); diff --git a/quanta/components/framewizard/framewizard.cpp b/quanta/components/framewizard/framewizard.cpp index 7a2223fe..08ee1090 100644 --- a/quanta/components/framewizard/framewizard.cpp +++ b/quanta/components/framewizard/framewizard.cpp @@ -45,7 +45,7 @@ m_hasSelected(false),m_saved(false) FrameWizard::~FrameWizard(){ #define TQT_CHECK_NULL -Q_CHECK_PTR( vfe ); +TQ_CHECK_PTR( vfe ); } void FrameWizard::catchSelectedArea(const TQString &id ){ diff --git a/quanta/dialogs/tagdialogs/listdlg.cpp b/quanta/dialogs/tagdialogs/listdlg.cpp index 713ccf2c..1544b6d8 100644 --- a/quanta/dialogs/tagdialogs/listdlg.cpp +++ b/quanta/dialogs/tagdialogs/listdlg.cpp @@ -27,7 +27,7 @@ ListDlg::ListDlg(TQStringList &entryList,TQWidget* parent, const char *name ) :KDialogBase(parent,name), listbox(new KListBox(this)) { - Q_CHECK_PTR(listbox); + TQ_CHECK_PTR(listbox); setMainWidget(listbox); showButtonApply(false); enableButtonSeparator(true); -- cgit v1.2.1