summaryrefslogtreecommitdiffstats
path: root/kresources/featureplan/dumpfeaturelist.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kresources/featureplan/dumpfeaturelist.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kresources/featureplan/dumpfeaturelist.cpp')
-rw-r--r--kresources/featureplan/dumpfeaturelist.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kresources/featureplan/dumpfeaturelist.cpp b/kresources/featureplan/dumpfeaturelist.cpp
index 9fbbe0084..fd5a5a01a 100644
--- a/kresources/featureplan/dumpfeaturelist.cpp
+++ b/kresources/featureplan/dumpfeaturelist.cpp
@@ -27,8 +27,8 @@
#include <kaboutdata.h>
#include <kdebug.h>
-#include <qfile.h>
-#include <qtextstream.h>
+#include <tqfile.h>
+#include <tqtextstream.h>
#include <iostream>
@@ -51,7 +51,7 @@ void displayFeature( Feature *f )
std::cout << " STATUS: " << f->status().local8Bit() << std::endl;
}
-void displayCategory( const QValueList<Category *> categories )
+void displayCategory( const TQValueList<Category *> categories )
{
Category::List::ConstIterator it;
for( it = categories.begin(); it != categories.end(); ++it ) {
@@ -82,7 +82,7 @@ int main( int argc, char **argv )
args->usage( "Wrong number of arguments." );
}
- QString filename = QFile::decodeName( args->arg( 0 ) );
+ TQString filename = TQFile::decodeName( args->arg( 0 ) );
FeaturesParser parser;
@@ -91,10 +91,10 @@ int main( int argc, char **argv )
if ( !features ) {
kdError() << "Parse error" << endl;
} else {
- QValueList<Category *> categories = features->categoryList();
+ TQValueList<Category *> categories = features->categoryList();
displayCategory( categories );
- QString out = filename + ".out";
+ TQString out = filename + ".out";
if ( !features->writeFile( out ) ) {
kdError() << "Write error" << endl;
}