From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdebugdialog/main.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kdebugdialog/main.cpp') diff --git a/kdebugdialog/main.cpp b/kdebugdialog/main.cpp index dfee01db9..61d977ee8 100644 --- a/kdebugdialog/main.cpp +++ b/kdebugdialog/main.cpp @@ -22,31 +22,31 @@ #include #include #include -#include +#include #include #include #include #include -#include +#include -QStringList readAreaList() +TQStringList readAreaList() { - QStringList lst; + TQStringList lst; lst.append( "0 (generic)" ); - QString confAreasFile = locate( "config", "kdebug.areas" ); - QFile file( confAreasFile ); + TQString confAreasFile = locate( "config", "kdebug.areas" ); + TQFile file( confAreasFile ); if (!file.open(IO_ReadOnly)) { kdWarning() << "Couldn't open " << confAreasFile << endl; file.close(); } else { - QString data; + TQString data; - QTextStream *ts = new QTextStream(&file); - ts->setEncoding( QTextStream::Latin1 ); + TQTextStream *ts = new TQTextStream(&file); + ts->setEncoding( TQTextStream::Latin1 ); while (!ts->eof()) { data = ts->readLine().simplifyWhiteSpace(); @@ -88,7 +88,7 @@ int main(int argc, char ** argv) KUniqueApplication app; KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); - QStringList areaList ( readAreaList() ); + TQStringList areaList ( readAreaList() ); KAbstractDebugDialog * dialog; if (args->isSet("fullmode")) dialog = new KDebugDialog(areaList, 0L); @@ -113,7 +113,7 @@ int main(int argc, char ** argv) /* Show dialog */ int nRet = dialog->exec(); - if( nRet == QDialog::Accepted ) + if( nRet == TQDialog::Accepted ) { dialog->save(); dialog->config()->sync(); -- cgit v1.2.1