summaryrefslogtreecommitdiffstats
path: root/kdebugdialog
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:46:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:46:05 -0600
commit73c08b592db45af554b9f21029bc549d70f683ab (patch)
tree122898ea951e59fdc4419b3c84b7a6c2dd0bb5f7 /kdebugdialog
parente81bdee8ae92d6eeb82daa8c0a0e46bf37f4a6da (diff)
downloadtdebase-73c08b592db45af554b9f21029bc549d70f683ab.tar.gz
tdebase-73c08b592db45af554b9f21029bc549d70f683ab.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kdebugdialog')
-rw-r--r--kdebugdialog/kabstractdebugdialog.cpp10
-rw-r--r--kdebugdialog/kdebugdialog.cpp4
-rw-r--r--kdebugdialog/klistdebugdialog.cpp4
-rw-r--r--kdebugdialog/main.cpp2
4 files changed, 10 insertions, 10 deletions
diff --git a/kdebugdialog/kabstractdebugdialog.cpp b/kdebugdialog/kabstractdebugdialog.cpp
index 43d6699dd..2247a0f10 100644
--- a/kdebugdialog/kabstractdebugdialog.cpp
+++ b/kdebugdialog/kabstractdebugdialog.cpp
@@ -20,7 +20,7 @@
#include "kabstractdebugdialog.h"
#include <kconfig.h>
#include <kpushbutton.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <kapplication.h>
#include <klocale.h>
#include <kstdguiitem.h>
@@ -52,11 +52,11 @@ void KAbstractDebugDialog::buildButtons( TQVBoxLayout * topLayout )
pCancelButton = new KPushButton( KStdGuiItem::cancel(), this );
hbox->addWidget( pCancelButton );
- int w1 = pHelpButton->tqsizeHint().width();
- int w2 = pOKButton->tqsizeHint().width();
- int w3 = pCancelButton->tqsizeHint().width();
+ int w1 = pHelpButton->sizeHint().width();
+ int w2 = pOKButton->sizeHint().width();
+ int w3 = pCancelButton->sizeHint().width();
int w4 = QMAX( w1, QMAX( w2, w3 ) );
- int w5 = pApplyButton->tqsizeHint().width();
+ int w5 = pApplyButton->sizeHint().width();
w4 = QMAX(w4, w5);
pHelpButton->setFixedWidth( w4 );
diff --git a/kdebugdialog/kdebugdialog.cpp b/kdebugdialog/kdebugdialog.cpp
index e626fcb12..c591ffee6 100644
--- a/kdebugdialog/kdebugdialog.cpp
+++ b/kdebugdialog/kdebugdialog.cpp
@@ -22,7 +22,7 @@
#include "config.h"
#endif
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlineedit.h>
#include <tqcombobox.h>
#include <tqlabel.h>
@@ -54,7 +54,7 @@ KDebugDialog::KDebugDialog( TQStringList areaList, TQWidget *parent, const char
// Build combo of debug areas
pDebugAreas = new TQComboBox( false, this );
- pDebugAreas->setFixedHeight( pDebugAreas->tqsizeHint().height() );
+ pDebugAreas->setFixedHeight( pDebugAreas->sizeHint().height() );
pDebugAreas->insertStringList( areaList );
topLayout->addWidget( pDebugAreas );
diff --git a/kdebugdialog/klistdebugdialog.cpp b/kdebugdialog/klistdebugdialog.cpp
index a1b75ee83..ee2afb028 100644
--- a/kdebugdialog/klistdebugdialog.cpp
+++ b/kdebugdialog/klistdebugdialog.cpp
@@ -22,7 +22,7 @@
#include <kconfig.h>
#include <kapplication.h>
#include <kdebug.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqscrollview.h>
#include <tqvbox.h>
#include <klocale.h>
@@ -182,7 +182,7 @@ void KListDebugDialog::activateArea( TQCString area, bool activate )
for ( ; it.current() ; ++it )
{
if ( area == (*it)->name() // debug area code = cb's name
- || (*it)->text().find( TQString::tqfromLatin1(area) ) != -1 ) // area name included in cb text
+ || (*it)->text().find( TQString::fromLatin1(area) ) != -1 ) // area name included in cb text
{
(*it)->setChecked( activate );
return;
diff --git a/kdebugdialog/main.cpp b/kdebugdialog/main.cpp
index 61d977ee8..23a98c890 100644
--- a/kdebugdialog/main.cpp
+++ b/kdebugdialog/main.cpp
@@ -22,7 +22,7 @@
#include <kcmdlineargs.h>
#include <kaboutdata.h>
#include <kstandarddirs.h>
-#include <tqtextstream.h>
+#include <textstream.h>
#include <klocale.h>
#include <kdebug.h>
#include <kuniqueapplication.h>