summaryrefslogtreecommitdiffstats
path: root/kresources/featureplan
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
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')
-rw-r--r--kresources/featureplan/benchmarkfeaturelist.cpp8
-rw-r--r--kresources/featureplan/dumpfeaturelist.cpp12
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplan.cpp12
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplanconfig.cpp16
-rw-r--r--kresources/featureplan/kcal_resourcefeatureplanconfig.h4
5 files changed, 26 insertions, 26 deletions
diff --git a/kresources/featureplan/benchmarkfeaturelist.cpp b/kresources/featureplan/benchmarkfeaturelist.cpp
index d814a8a21..2ae4432a0 100644
--- a/kresources/featureplan/benchmarkfeaturelist.cpp
+++ b/kresources/featureplan/benchmarkfeaturelist.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 ) {
@@ -83,7 +83,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 ) );
for( int i = 0; i < 1; ++i ) {
FeaturesParser parser;
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;
}
diff --git a/kresources/featureplan/kcal_resourcefeatureplan.cpp b/kresources/featureplan/kcal_resourcefeatureplan.cpp
index 84c198216..cce884955 100644
--- a/kresources/featureplan/kcal_resourcefeatureplan.cpp
+++ b/kresources/featureplan/kcal_resourcefeatureplan.cpp
@@ -26,11 +26,11 @@
#include "kde-features.h"
#include "kde-features_parser.h"
-#include <qapplication.h>
-#include <qdatetime.h>
-#include <qptrlist.h>
-#include <qstringlist.h>
-#include <qtimer.h>
+#include <tqapplication.h>
+#include <tqdatetime.h>
+#include <tqptrlist.h>
+#include <tqstringlist.h>
+#include <tqtimer.h>
#include <kabc/locknull.h>
#include <kdebug.h>
@@ -118,7 +118,7 @@ void ResourceFeaturePlan::insertCategories( const Category::List &categories,
Feature *f = *it2;
Todo *todo = new Todo;
- QString summary = f->summary();
+ TQString summary = f->summary();
int pos = summary.find( '\n' );
if ( pos > 0 ) summary = summary.left( pos ) + "...";
todo->setSummary( summary );
diff --git a/kresources/featureplan/kcal_resourcefeatureplanconfig.cpp b/kresources/featureplan/kcal_resourcefeatureplanconfig.cpp
index c72915d0a..42043a5dd 100644
--- a/kresources/featureplan/kcal_resourcefeatureplanconfig.cpp
+++ b/kresources/featureplan/kcal_resourcefeatureplanconfig.cpp
@@ -19,9 +19,9 @@
Boston, MA 02110-1301, USA.
*/
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
#include <kdebug.h>
#include <kdialog.h>
@@ -35,26 +35,26 @@
using namespace KCal;
-ResourceFeaturePlanConfig::ResourceFeaturePlanConfig( QWidget *parent,
+ResourceFeaturePlanConfig::ResourceFeaturePlanConfig( TQWidget *parent,
const char *name )
: KRES::ConfigWidget( parent, name )
{
- QGridLayout *topLayout = new QGridLayout( this, 3, 2, 0,
+ TQGridLayout *topLayout = new TQGridLayout( this, 3, 2, 0,
KDialog::spacingHint() );
- QLabel *label = new QLabel( i18n( "Filename:" ), this );
+ TQLabel *label = new TQLabel( i18n( "Filename:" ), this );
mFilename = new KURLRequester( this );
topLayout->addWidget( label, 0, 0 );
topLayout->addWidget( mFilename, 0, 1 );
- label = new QLabel( i18n( "Filter email:" ), this );
+ label = new TQLabel( i18n( "Filter email:" ), this );
mFilterEmail = new KLineEdit( this );
topLayout->addWidget( label, 1, 0 );
topLayout->addWidget( mFilterEmail, 1, 1 );
- mCvsCheck = new QCheckBox( i18n("Use CVS"), this );
+ mCvsCheck = new TQCheckBox( i18n("Use CVS"), this );
topLayout->addMultiCellWidget( mCvsCheck, 2, 2, 0, 1 );
}
diff --git a/kresources/featureplan/kcal_resourcefeatureplanconfig.h b/kresources/featureplan/kcal_resourcefeatureplanconfig.h
index dcba4684c..21dcf8f8d 100644
--- a/kresources/featureplan/kcal_resourcefeatureplanconfig.h
+++ b/kresources/featureplan/kcal_resourcefeatureplanconfig.h
@@ -36,7 +36,7 @@ class KDE_EXPORT ResourceFeaturePlanConfig : public KRES::ConfigWidget
Q_OBJECT
public:
- ResourceFeaturePlanConfig( QWidget *parent = 0, const char *name = 0 );
+ ResourceFeaturePlanConfig( TQWidget *parent = 0, const char *name = 0 );
public slots:
void loadSettings( KRES::Resource * );
@@ -45,7 +45,7 @@ class KDE_EXPORT ResourceFeaturePlanConfig : public KRES::ConfigWidget
private:
KURLRequester *mFilename;
KLineEdit *mFilterEmail;
- QCheckBox *mCvsCheck;
+ TQCheckBox *mCvsCheck;
};
}