summaryrefslogtreecommitdiffstats
path: root/kdebugdialog/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kdebugdialog/main.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdebugdialog/main.cpp')
-rw-r--r--kdebugdialog/main.cpp22
1 files changed, 11 insertions, 11 deletions
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 <kcmdlineargs.h>
#include <kaboutdata.h>
#include <kstandarddirs.h>
-#include <qtextstream.h>
+#include <tqtextstream.h>
#include <klocale.h>
#include <kdebug.h>
#include <kuniqueapplication.h>
#include <kconfig.h>
-#include <qfile.h>
+#include <tqfile.h>
-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();