summaryrefslogtreecommitdiffstats
path: root/kjsembed/bindings/kconfig_imp.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/bindings/kconfig_imp.h')
-rw-r--r--kjsembed/bindings/kconfig_imp.h112
1 files changed, 56 insertions, 56 deletions
diff --git a/kjsembed/bindings/kconfig_imp.h b/kjsembed/bindings/kconfig_imp.h
index 55f58e34..9daf5f17 100644
--- a/kjsembed/bindings/kconfig_imp.h
+++ b/kjsembed/bindings/kconfig_imp.h
@@ -22,14 +22,14 @@
#ifndef KJSEMBED_CONFIG_IMP_H
#define KJSEMBED_CONFIG_IMP_H
-#include <qdatetime.h>
-#include <qfont.h>
-#include <qvariant.h>
-#include <qpoint.h>
-#include <qrect.h>
-#include <qsize.h>
-#include <qcolor.h>
-#include <qstringlist.h>
+#include <tqdatetime.h>
+#include <tqfont.h>
+#include <tqvariant.h>
+#include <tqpoint.h>
+#include <tqrect.h>
+#include <tqsize.h>
+#include <tqcolor.h>
+#include <tqstringlist.h>
#include "bindingobject.h"
@@ -51,9 +51,9 @@ class Config : public BindingObject
Q_PROPERTY( bool readDefaults READ readDefaults WRITE setReadDefaults )
public:
- Config( QObject *parent=0, const char *name=0);
+ Config( TQObject *parent=0, const char *name=0);
/*
- Config( QObject *parent, const char *name, const QString& confName );
+ Config( TQObject *parent, const char *name, const TQString& confName );
*/
virtual ~Config();
@@ -70,62 +70,62 @@ public slots:
// Group
void setDesktopGroup();
- void setGroup(const QString&);
- QString group();
- QStringList groupList();
- QString locale();
+ void setGroup(const TQString&);
+ TQString group();
+ TQStringList groupList();
+ TQString locale();
void rollback( bool bDeep );
void sync();
- bool hasKey( const QString& key ) const;
- bool entryIsImmutable(const QString &key) const;
- void revertToDefault(const QString &key);
- bool hasDefault(const QString &key) const;
+ bool hasKey( const TQString& key ) const;
+ bool entryIsImmutable(const TQString &key) const;
+ void revertToDefault(const TQString &key);
+ bool hasDefault(const TQString &key) const;
void setFileWriteMode(int mode);
- QString readEntry(const QString& pKey, const QString& aDefault ) const;
- QVariant readPropertyEntry( const QString& pKey, const QVariant &var) const;
- QStringList readListEntry( const QString& pKey ) const;
- QString readPathEntry( const QString& pKey, const QString & aDefault) const;
- QStringList readPathListEntry( const QString& pKey ) const;
- int readNumEntry( const QString& pKey, int nDefault ) const;
- uint readUnsignedNumEntry( const QString& pKey, uint nDefault ) const;
- long readLongNumEntry( const QString& pKey, long nDefault ) const;
- double readDoubleNumEntry( const QString& pKey, double nDefault ) const;
- QFont readFontEntry( const QString& pKey, const QFont* pDefault) const;
- bool readBoolEntry( const QString& pKey, const bool bDefault ) const;
- QRect readRectEntry( const QString& pKey, const QRect* pDefault) const;
- QPoint readPointEntry( const QString& pKey, const QPoint* pDefault) const;
- QSize readSizeEntry( const QString& pKey, const QSize* pDefault) const;
- QColor readColorEntry( const QString& pKey, const QColor* pDefault) const;
- QDateTime readDateTimeEntry( const QString& pKey, const QDateTime* pDefault) const;
- QString readEntryUntranslated( const QString& pKey, const QString& aDefault ) const;
-
- void writeEntry( const QString& pKey, const QString& pValue );
- void writePropertyEntry( const QString& pKey, const QVariant& pValue );
- void writeListEntry( const QString& pKey, const QStringList &rValue );
- void writeNumEntry( const QString& pKey, int nValue );
- void writeUnsignedNumEntry( const QString& pKey, uint nValue );
- void writeLongNumEntry( const QString& pKey, unsigned long nValue );
- void writeDoubleNumEntry( const QString& pKey, double nValue );
- void writeBoolEntry( const QString& pKey, bool bValue );
- void writeFontEntry( const QString& pKey, const QFont& rFont );
- void writeColorEntry( const QString& pKey, const QColor& rColor );
- void writeDateTimeEntry( const QString& pKey, const QDateTime& rDateTime );
- void writeRectEntry( const QString& pKey, const QRect& rValue );
- void writePointEntry( const QString& pKey, const QPoint& rValue );
- void writeSizeEntry( const QString& pKey, const QSize& rValue );
- void writePathEntry( const QString& pKey, const QString & path );
- void writePathListEntry( const QString& pKey, const QStringList &rValue);
- void deleteEntry( const QString& pKey, bool bNLS , bool bGlobal );
- bool deleteGroup( const QString& group, bool bDeep , bool bGlobal );
+ TQString readEntry(const TQString& pKey, const TQString& aDefault ) const;
+ TQVariant readPropertyEntry( const TQString& pKey, const TQVariant &var) const;
+ TQStringList readListEntry( const TQString& pKey ) const;
+ TQString readPathEntry( const TQString& pKey, const TQString & aDefault) const;
+ TQStringList readPathListEntry( const TQString& pKey ) const;
+ int readNumEntry( const TQString& pKey, int nDefault ) const;
+ uint readUnsignedNumEntry( const TQString& pKey, uint nDefault ) const;
+ long readLongNumEntry( const TQString& pKey, long nDefault ) const;
+ double readDoubleNumEntry( const TQString& pKey, double nDefault ) const;
+ TQFont readFontEntry( const TQString& pKey, const TQFont* pDefault) const;
+ bool readBoolEntry( const TQString& pKey, const bool bDefault ) const;
+ TQRect readRectEntry( const TQString& pKey, const TQRect* pDefault) const;
+ TQPoint readPointEntry( const TQString& pKey, const TQPoint* pDefault) const;
+ TQSize readSizeEntry( const TQString& pKey, const TQSize* pDefault) const;
+ TQColor readColorEntry( const TQString& pKey, const TQColor* pDefault) const;
+ TQDateTime readDateTimeEntry( const TQString& pKey, const TQDateTime* pDefault) const;
+ TQString readEntryUntranslated( const TQString& pKey, const TQString& aDefault ) const;
+
+ void writeEntry( const TQString& pKey, const TQString& pValue );
+ void writePropertyEntry( const TQString& pKey, const TQVariant& pValue );
+ void writeListEntry( const TQString& pKey, const TQStringList &rValue );
+ void writeNumEntry( const TQString& pKey, int nValue );
+ void writeUnsignedNumEntry( const TQString& pKey, uint nValue );
+ void writeLongNumEntry( const TQString& pKey, unsigned long nValue );
+ void writeDoubleNumEntry( const TQString& pKey, double nValue );
+ void writeBoolEntry( const TQString& pKey, bool bValue );
+ void writeFontEntry( const TQString& pKey, const TQFont& rFont );
+ void writeColorEntry( const TQString& pKey, const TQColor& rColor );
+ void writeDateTimeEntry( const TQString& pKey, const TQDateTime& rDateTime );
+ void writeRectEntry( const TQString& pKey, const TQRect& rValue );
+ void writePointEntry( const TQString& pKey, const TQPoint& rValue );
+ void writeSizeEntry( const TQString& pKey, const TQSize& rValue );
+ void writePathEntry( const TQString& pKey, const TQString & path );
+ void writePathListEntry( const TQString& pKey, const TQStringList &rValue);
+ void deleteEntry( const TQString& pKey, bool bNLS , bool bGlobal );
+ bool deleteGroup( const TQString& group, bool bDeep , bool bGlobal );
private:
#ifndef QT_ONLY
KConfig *m_config;
#else
- QSettings *m_config;
- QString m_name;
+ TQSettings *m_config;
+ TQString m_name;
bool m_forceGlobal;
#endif
};