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();
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 */

@ -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" ));

@ -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 ){

@ -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);

Loading…
Cancel
Save