Update various qt function definitions and static methods for tqt3

pull/1/head
Timothy Pearson 13 years ago
parent d1c0d0cb55
commit 5709a9f672

@ -250,7 +250,7 @@ KXsldbgPart::KXsldbgPart( TQWidget *parentWidget, const char * /*widgetName*/,
createInspector(); createInspector();
if (checkDebugger()){ if (checkDebugger()){
configWidget = new XsldbgConfigImpl( debugger, 0L ); configWidget = new XsldbgConfigImpl( debugger, 0L );
Q_CHECK_PTR( configWidget ); TQ_CHECK_PTR( configWidget );
debugger->start(); debugger->start();
}else{ }else{
openURL(""); openURL("");
@ -468,7 +468,7 @@ void KXsldbgPart::createInspector()
{ {
if ( inspector == 0L ) { if ( inspector == 0L ) {
debugger = new XsldbgDebugger(); debugger = new XsldbgDebugger();
Q_CHECK_PTR( debugger ); TQ_CHECK_PTR( debugger );
if ( debugger != 0L ) { if ( debugger != 0L ) {
connect(debugger, TQT_SIGNAL( debuggerReady()), connect(debugger, TQT_SIGNAL( debuggerReady()),
this, TQT_SLOT(debuggerStarted())); this, TQT_SLOT(debuggerStarted()));
@ -479,7 +479,7 @@ void KXsldbgPart::createInspector()
TQT_SLOT(slotProcShowMessage(TQString /* msg*/))); TQT_SLOT(slotProcShowMessage(TQString /* msg*/)));
} }
inspector = new XsldbgInspector( debugger ); inspector = new XsldbgInspector( debugger );
Q_CHECK_PTR( inspector ); TQ_CHECK_PTR( inspector );
debugger->setInspector( inspector ); debugger->setInspector( inspector );
if (inspector != 0L){ if (inspector != 0L){
/*process line number and/or file name changed */ /*process line number and/or file name changed */

@ -54,7 +54,7 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, TQWidget* parent,
const char* name, bool modal, WFlags fl ) const char* name, bool modal, WFlags fl )
: TQDialog( parent, name, modal, fl ) : TQDialog( parent, name, modal, fl )
{ {
Q_CHECK_PTR(debugger); TQ_CHECK_PTR(debugger);
this->debugger = debugger; this->debugger = debugger;
breakpointWidget = 0L; breakpointWidget = 0L;
localWidget = 0L; localWidget = 0L;
@ -71,37 +71,37 @@ XsldbgInspector::XsldbgInspector( XsldbgDebugger *debugger, TQWidget* parent,
"XsldbgInspectorLayout"); "XsldbgInspectorLayout");
tabWidget = new TQTabWidget( this, "tabWidget" ); tabWidget = new TQTabWidget( this, "tabWidget" );
Q_CHECK_PTR( tabWidget ); TQ_CHECK_PTR( tabWidget );
breakpointWidget = new XsldbgBreakpointsImpl( debugger, tabWidget ); breakpointWidget = new XsldbgBreakpointsImpl( debugger, tabWidget );
Q_CHECK_PTR( breakpointWidget ); TQ_CHECK_PTR( breakpointWidget );
tabWidget->insertTab( breakpointWidget, i18n( "Breakpoints" ) ); tabWidget->insertTab( breakpointWidget, i18n( "Breakpoints" ) );
localWidget = new XsldbgLocalVariablesImpl( debugger, tabWidget ); localWidget = new XsldbgLocalVariablesImpl( debugger, tabWidget );
Q_CHECK_PTR( localWidget ); TQ_CHECK_PTR( localWidget );
tabWidget->insertTab( localWidget, tabWidget->insertTab( localWidget,
TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "Variables" ) ); i18n( "Variables" ) );
callStackWidget = new XsldbgCallStackImpl( debugger, tabWidget ); callStackWidget = new XsldbgCallStackImpl( debugger, tabWidget );
Q_CHECK_PTR( callStackWidget ); TQ_CHECK_PTR( callStackWidget );
tabWidget->insertTab( callStackWidget, tabWidget->insertTab( callStackWidget,
TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "CallStack" )); i18n( "CallStack" ));
templateWidget = new XsldbgTemplatesImpl( debugger, tabWidget ); templateWidget = new XsldbgTemplatesImpl( debugger, tabWidget );
Q_CHECK_PTR( templateWidget ); TQ_CHECK_PTR( templateWidget );
tabWidget->insertTab( templateWidget, tabWidget->insertTab( templateWidget,
TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "Templates" )); i18n( "Templates" ));
sourceWidget = new XsldbgSourcesImpl( debugger, tabWidget ); sourceWidget = new XsldbgSourcesImpl( debugger, tabWidget );
Q_CHECK_PTR( sourceWidget ); TQ_CHECK_PTR( sourceWidget );
tabWidget->insertTab( sourceWidget, tabWidget->insertTab( sourceWidget,
TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ), TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_source.png" ) ),
i18n( "Sources" )); i18n( "Sources" ));
entityWidget = new XsldbgEntitiesImpl( debugger, tabWidget ); entityWidget = new XsldbgEntitiesImpl( debugger, tabWidget );
Q_CHECK_PTR( entityWidget ); TQ_CHECK_PTR( entityWidget );
tabWidget->insertTab( entityWidget, tabWidget->insertTab( entityWidget,
TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_data.png" ) ), TQIconSet( uic_load_pixmap_XsldbgInspector( "xsldbg_data.png" ) ),
i18n( "Entities" )); i18n( "Entities" ));

@ -45,7 +45,7 @@ m_hasSelected(false),m_saved(false)
FrameWizard::~FrameWizard(){ FrameWizard::~FrameWizard(){
#define TQT_CHECK_NULL #define TQT_CHECK_NULL
Q_CHECK_PTR( vfe ); TQ_CHECK_PTR( vfe );
} }
void FrameWizard::catchSelectedArea(const TQString &id ){ void FrameWizard::catchSelectedArea(const TQString &id ){

@ -27,7 +27,7 @@
ListDlg::ListDlg(TQStringList &entryList,TQWidget* parent, const char *name ) ListDlg::ListDlg(TQStringList &entryList,TQWidget* parent, const char *name )
:KDialogBase(parent,name), listbox(new KListBox(this)) :KDialogBase(parent,name), listbox(new KListBox(this))
{ {
Q_CHECK_PTR(listbox); TQ_CHECK_PTR(listbox);
setMainWidget(listbox); setMainWidget(listbox);
showButtonApply(false); showButtonApply(false);
enableButtonSeparator(true); enableButtonSeparator(true);

Loading…
Cancel
Save