summaryrefslogtreecommitdiffstats
path: root/libkdepim/kconfigpropagator.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kconfigpropagator.h')
-rw-r--r--libkdepim/kconfigpropagator.h74
1 files changed, 37 insertions, 37 deletions
diff --git a/libkdepim/kconfigpropagator.h b/libkdepim/kconfigpropagator.h
index 7c5c92cc5..9b3c1a6f6 100644
--- a/libkdepim/kconfigpropagator.h
+++ b/libkdepim/kconfigpropagator.h
@@ -21,10 +21,10 @@
#ifndef KCONFIGPROPAGATOR_H
#define KCONFIGPROPAGATOR_H
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qdom.h>
-#include <qptrlist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqdom.h>
+#include <tqptrlist.h>
#include <kdepimmacros.h>
@@ -45,7 +45,7 @@ class KDE_EXPORT KConfigPropagator
@param skeleton KConfigSkeleton object used as source for the propagation
@param kcfgFile file name of kcfg file containing the propagation rules
*/
- KConfigPropagator( KConfigSkeleton *skeleton, const QString &kcfgFile );
+ KConfigPropagator( KConfigSkeleton *skeleton, const TQString &kcfgFile );
virtual ~KConfigPropagator() {}
KConfigSkeleton *skeleton() { return mSkeleton; }
@@ -60,10 +60,10 @@ class KDE_EXPORT KConfigPropagator
public:
Condition() : isValid( false ) {}
- QString file;
- QString group;
- QString key;
- QString value;
+ TQString file;
+ TQString group;
+ TQString key;
+ TQString value;
bool isValid;
};
@@ -71,17 +71,17 @@ class KDE_EXPORT KConfigPropagator
class KDE_EXPORT Rule
{
public:
- typedef QValueList<Rule> List;
+ typedef TQValueList<Rule> List;
Rule() : hideValue( false ) {}
- QString sourceFile;
- QString sourceGroup;
- QString sourceEntry;
+ TQString sourceFile;
+ TQString sourceGroup;
+ TQString sourceEntry;
- QString targetFile;
- QString targetGroup;
- QString targetEntry;
+ TQString targetFile;
+ TQString targetGroup;
+ TQString targetEntry;
Condition condition;
@@ -91,21 +91,21 @@ class KDE_EXPORT KConfigPropagator
class KDE_EXPORT Change
{
public:
- typedef QPtrList<Change> List;
+ typedef TQPtrList<Change> List;
- Change( const QString &title ) : mTitle( title ) {}
+ Change( const TQString &title ) : mTitle( title ) {}
virtual ~Change();
- void setTitle( const QString &title ) { mTitle = title; }
- QString title() const { return mTitle; }
+ void setTitle( const TQString &title ) { mTitle = title; }
+ TQString title() const { return mTitle; }
- virtual QString arg1() const { return QString::null; }
- virtual QString arg2() const { return QString::null; }
+ virtual TQString arg1() const { return TQString::null; }
+ virtual TQString arg2() const { return TQString::null; }
virtual void apply() = 0;
private:
- QString mTitle;
+ TQString mTitle;
};
class KDE_EXPORT ChangeConfig : public Change
@@ -114,16 +114,16 @@ class KDE_EXPORT KConfigPropagator
ChangeConfig();
~ChangeConfig() {}
- QString arg1() const;
- QString arg2() const;
+ TQString arg1() const;
+ TQString arg2() const;
void apply();
- QString file;
- QString group;
- QString name;
- QString label;
- QString value;
+ TQString file;
+ TQString group;
+ TQString name;
+ TQString label;
+ TQString value;
bool hideValue;
};
@@ -142,21 +142,21 @@ class KDE_EXPORT KConfigPropagator
*/
virtual void addCustomChanges( Change::List & ) {}
- KConfigSkeletonItem *findItem( const QString &group, const QString &name );
+ KConfigSkeletonItem *findItem( const TQString &group, const TQString &name );
- QString itemValueAsString( KConfigSkeletonItem * );
+ TQString itemValueAsString( KConfigSkeletonItem * );
void readKcfgFile();
- Rule parsePropagation( const QDomElement &e );
- Condition parseCondition( const QDomElement &e );
+ Rule parsePropagation( const TQDomElement &e );
+ Condition parseCondition( const TQDomElement &e );
- void parseConfigEntryPath( const QString &path, QString &file,
- QString &group, QString &entry );
+ void parseConfigEntryPath( const TQString &path, TQString &file,
+ TQString &group, TQString &entry );
private:
KConfigSkeleton *mSkeleton;
- QString mKcfgFile;
+ TQString mKcfgFile;
Rule::List mRules;
Change::List mChanges;