diff options
Diffstat (limited to 'tdedebugdialog')
-rw-r--r-- | tdedebugdialog/kabstractdebugdialog.cpp | 12 | ||||
-rw-r--r-- | tdedebugdialog/main.cpp | 8 | ||||
-rw-r--r-- | tdedebugdialog/tdedebugdialog.cpp | 22 | ||||
-rw-r--r-- | tdedebugdialog/tdelistdebugdialog.cpp | 10 |
4 files changed, 26 insertions, 26 deletions
diff --git a/tdedebugdialog/kabstractdebugdialog.cpp b/tdedebugdialog/kabstractdebugdialog.cpp index 10c0c2a00..c1e579939 100644 --- a/tdedebugdialog/kabstractdebugdialog.cpp +++ b/tdedebugdialog/kabstractdebugdialog.cpp @@ -64,16 +64,16 @@ void KAbstractDebugDialog::buildButtons( TQVBoxLayout * topLayout ) pApplyButton->setFixedWidth( w4 ); pCancelButton->setFixedWidth( w4 ); - connect( pHelpButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotShowHelp() ) ); - connect( pOKButton, TQT_SIGNAL( clicked() ), TQT_SLOT( accept() ) ); - connect( pApplyButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotApply() ) ); - connect( pCancelButton, TQT_SIGNAL( clicked() ), TQT_SLOT( reject() ) ); + connect( pHelpButton, TQ_SIGNAL( clicked() ), TQ_SLOT( slotShowHelp() ) ); + connect( pOKButton, TQ_SIGNAL( clicked() ), TQ_SLOT( accept() ) ); + connect( pApplyButton, TQ_SIGNAL( clicked() ), TQ_SLOT( slotApply() ) ); + connect( pCancelButton, TQ_SIGNAL( clicked() ), TQ_SLOT( reject() ) ); } void KAbstractDebugDialog::slotShowHelp() { - if (kapp) - kapp->invokeHelp(); + if (tdeApp) + tdeApp->invokeHelp(); } void KAbstractDebugDialog::slotApply() diff --git a/tdedebugdialog/main.cpp b/tdedebugdialog/main.cpp index f1c463dce..07f5c3c73 100644 --- a/tdedebugdialog/main.cpp +++ b/tdedebugdialog/main.cpp @@ -21,11 +21,11 @@ #include "tdelistdebugdialog.h" #include <tdecmdlineargs.h> #include <tdeaboutdata.h> -#include <kstandarddirs.h> +#include <tdestandarddirs.h> #include <tqtextstream.h> #include <tdelocale.h> #include <kdebug.h> -#include <kuniqueapplication.h> +#include <tdeuniqueapplication.h> #include <tdeconfig.h> #include <tqfile.h> @@ -84,8 +84,8 @@ int main(int argc, char ** argv) data.addAuthor("David Faure", I18N_NOOP("Original maintainer/developer"), "faure@kde.org"); TDECmdLineArgs::init( argc, argv, &data ); TDECmdLineArgs::addCmdLineOptions( options ); - KUniqueApplication::addCmdLineOptions(); - KUniqueApplication app; + TDEUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication app; TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); TQStringList areaList ( readAreaList() ); diff --git a/tdedebugdialog/tdedebugdialog.cpp b/tdedebugdialog/tdedebugdialog.cpp index b5ced18a0..1f1df1239 100644 --- a/tdedebugdialog/tdedebugdialog.cpp +++ b/tdedebugdialog/tdedebugdialog.cpp @@ -79,8 +79,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pInfoLabel1 = new TQLabel( i18n("Output to:"), pInfoGroup ); vbox->addWidget( pInfoLabel1 ); pInfoCombo = new TQComboBox( false, pInfoGroup ); - connect(pInfoCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pInfoCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pInfoCombo ); pInfoCombo->insertStringList( destList ); pInfoLabel2 = new TQLabel( i18n("Filename:"), pInfoGroup ); @@ -104,8 +104,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pWarnLabel1 = new TQLabel( i18n("Output to:"), pWarnGroup ); vbox->addWidget( pWarnLabel1 ); pWarnCombo = new TQComboBox( false, pWarnGroup ); - connect(pWarnCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pWarnCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pWarnCombo ); pWarnCombo->insertStringList( destList ); pWarnLabel2 = new TQLabel( i18n("Filename:"), pWarnGroup ); @@ -129,8 +129,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pErrorLabel1 = new TQLabel( i18n("Output to:"), pErrorGroup ); vbox->addWidget( pErrorLabel1 ); pErrorCombo = new TQComboBox( false, pErrorGroup ); - connect(pErrorCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pErrorCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pErrorCombo ); pErrorCombo->insertStringList( destList ); pErrorLabel2 = new TQLabel( i18n("Filename:"), pErrorGroup ); @@ -154,8 +154,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c pFatalLabel1 = new TQLabel( i18n("Output to:"), pFatalGroup ); vbox->addWidget( pFatalLabel1 ); pFatalCombo = new TQComboBox( false, pFatalGroup ); - connect(pFatalCombo, TQT_SIGNAL(activated(int)), - this, TQT_SLOT(slotDestinationChanged(int))); + connect(pFatalCombo, TQ_SIGNAL(activated(int)), + this, TQ_SLOT(slotDestinationChanged(int))); vbox->addWidget( pFatalCombo ); pFatalCombo->insertStringList( destList ); pFatalLabel2 = new TQLabel( i18n("Filename:"), pFatalGroup ); @@ -179,8 +179,8 @@ TDEDebugDialog::TDEDebugDialog( TQStringList areaList, TQWidget *parent, const c buildButtons( topLayout ); - connect( pDebugAreas, TQT_SIGNAL( activated( const TQString &) ), - TQT_SLOT( slotDebugAreaChanged( const TQString & ) ) ); + connect( pDebugAreas, TQ_SIGNAL( activated( const TQString &) ), + TQ_SLOT( slotDebugAreaChanged( const TQString & ) ) ); // Get initial values ("initial" is understood by the slot) slotDebugAreaChanged( "0 initial" ); @@ -244,7 +244,7 @@ void TDEDebugDialog::save() pConfig->writeEntry( "AbortFatal", pAbortFatal->isChecked() ); TQByteArray data; - if (!kapp->dcopClient()->send("*", "KDebug", "notifyKDebugConfigChanged()", data)) + if (!tdeApp->dcopClient()->send("*", "KDebug", "notifyKDebugConfigChanged()", data)) { kdError() << "Unable to send DCOP message" << endl; } diff --git a/tdedebugdialog/tdelistdebugdialog.cpp b/tdedebugdialog/tdelistdebugdialog.cpp index d447b3747..c25cb18f6 100644 --- a/tdedebugdialog/tdelistdebugdialog.cpp +++ b/tdedebugdialog/tdelistdebugdialog.cpp @@ -40,8 +40,8 @@ TDEListDebugDialog::TDEListDebugDialog( TQStringList areaList, TQWidget *parent, m_incrSearch = new KLineEdit( this ); lay->addWidget( m_incrSearch ); - connect( m_incrSearch, TQT_SIGNAL( textChanged( const TQString& ) ), - TQT_SLOT( generateCheckBoxes( const TQString& ) ) ); + connect( m_incrSearch, TQ_SIGNAL( textChanged( const TQString& ) ), + TQ_SLOT( generateCheckBoxes( const TQString& ) ) ); TQScrollView * scrollView = new TQScrollView( this ); scrollView->setResizePolicy( TQScrollView::AutoOneFit ); @@ -58,8 +58,8 @@ TDEListDebugDialog::TDEListDebugDialog( TQStringList areaList, TQWidget *parent, selectButs->addWidget( all ); selectButs->addWidget( none ); - connect( all, TQT_SIGNAL( clicked() ), this, TQT_SLOT( selectAll() ) ); - connect( none, TQT_SIGNAL( clicked() ), this, TQT_SLOT( deSelectAll() ) ); + connect( all, TQ_SIGNAL( clicked() ), this, TQ_SLOT( selectAll() ) ); + connect( none, TQ_SIGNAL( clicked() ), this, TQ_SLOT( deSelectAll() ) ); buildButtons( lay ); resize( 350, 400 ); @@ -168,7 +168,7 @@ void TDEListDebugDialog::save() // send DCOP message to all clients TQByteArray data; - if (!kapp->dcopClient()->send("*", "KDebug", "notifyKDebugConfigChanged()", data)) + if (!tdeApp->dcopClient()->send("*", "KDebug", "notifyKDebugConfigChanged()", data)) { kdError() << "Unable to send DCOP message" << endl; } |