diff options
Diffstat (limited to 'sip/tdecore/kconfigskeleton.sip')
-rw-r--r-- | sip/tdecore/kconfigskeleton.sip | 380 |
1 files changed, 190 insertions, 190 deletions
diff --git a/sip/tdecore/kconfigskeleton.sip b/sip/tdecore/kconfigskeleton.sip index 638f5f5..4891755 100644 --- a/sip/tdecore/kconfigskeleton.sip +++ b/sip/tdecore/kconfigskeleton.sip @@ -35,27 +35,27 @@ class KConfigSkeletonItem public: - typedef QValueList<KConfigSkeletonItem*> List; -//ig typedef QDict<KConfigSkeletonItem> Dict; -//ig typedef QDictIterator<KConfigSkeletonItem> DictIterator; - KConfigSkeletonItem (const QString&, const QString&); - void setGroup (const QString&); - QString group () const; - void setKey (const QString&); - QString key () const; - void setName (const QString&); - QString name () const; - void setLabel (const QString&); - QString label () const; - void setWhatsThis (const QString&); - QString whatsThis () const; + typedef TQValueList<KConfigSkeletonItem*> List; +//ig typedef TQDict<KConfigSkeletonItem> Dict; +//ig typedef TQDictIterator<KConfigSkeletonItem> DictIterator; + KConfigSkeletonItem (const TQString&, const TQString&); + void setGroup (const TQString&); + TQString group () const; + void setKey (const TQString&); + TQString key () const; + void setName (const TQString&); + TQString name () const; + void setLabel (const TQString&); + TQString label () const; + void setWhatsThis (const TQString&); + TQString whatsThis () const; virtual void readConfig (KConfig*) = 0; virtual void writeConfig (KConfig*) = 0; virtual void readDefault (KConfig*) = 0; - virtual void setProperty (const QVariant&) = 0; - virtual QVariant property () const = 0; - virtual QVariant minValue () const; - virtual QVariant maxValue () const; + virtual void setProperty (const TQVariant&) = 0; + virtual TQVariant property () const = 0; + virtual TQVariant minValue () const; + virtual TQVariant maxValue () const; virtual void setDefault () = 0; virtual void swapDefault () = 0; bool isImmutable () const; @@ -123,7 +123,7 @@ class KConfigSkeleton { %TypeHeaderCode #include <kconfigskeleton.h> -typedef QValueList<int> IntList; +typedef TQValueList<int> IntList; %End @@ -133,7 +133,7 @@ public: { public: - ItemPassword (const QString&, const QString&, QString&, const QString& = QString ::fromLatin1 ("" )); + ItemPassword (const TQString&, const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" )); }; // class ItemPassword @@ -144,7 +144,7 @@ public: { public: - ItemPath (const QString&, const QString&, QString&, const QString& = QString ::null ); + ItemPath (const TQString&, const TQString&, TQString&, const TQString& = TQString ::null ); }; // class ItemPath @@ -160,22 +160,22 @@ public: { public: - QString name; - QString label; - QString whatsThis; + TQString name; + TQString label; + TQString whatsThis; }; // class Choice public: - ItemEnum (const QString&, const QString&, int, const QValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0) [(const QString&, const QString&, int&, const QValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0)]; + ItemEnum (const TQString&, const TQString&, int, const TQValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0) [(const TQString&, const TQString&, int&, const TQValueList<KConfigSkeleton::ItemEnum::Choice>&, int = 0)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (int) | choices | (QValueList<KConfigSkeleton::ItemEnum::Choice>) |defaultValue | (int = 1) +//takes group | (TQString) | key | (TQString) | reference | (int) | choices | (TQValueList<KConfigSkeleton::ItemEnum::Choice>) |defaultValue | (int = 1) class PyItemEnum : public KConfigSkeleton::ItemEnum { public: - PyItemEnum (const QString& group, const QString& key, int& val, const QValueList<KConfigSkeleton::ItemEnum::Choice>& choices, int defaultValue = 0) : + PyItemEnum (const TQString& group, const TQString& key, int& val, const TQValueList<KConfigSkeleton::ItemEnum::Choice>& choices, int defaultValue = 0) : KConfigSkeleton::ItemEnum(group, key, this->value, choices, defaultValue) { value = val; @@ -190,7 +190,7 @@ public: Py_END_ALLOW_THREADS %End - QValueList<KConfigSkeleton::ItemEnum::Choice> choices () const; + TQValueList<KConfigSkeleton::ItemEnum::Choice> choices () const; void readConfig (KConfig*); void writeConfig (KConfig*); @@ -214,7 +214,7 @@ public: { public: - ItemPathList (const QString&, const QString&, QStringList&, const QStringList& = QStringList ()); + ItemPathList (const TQString&, const TQString&, TQStringList&, const TQStringList& = TQStringList ()); void readConfig (KConfig*); void writeConfig (KConfig*); @@ -226,26 +226,26 @@ public: public: - KConfigSkeleton (const QString& = QString ::null ); + KConfigSkeleton (const TQString& = TQString ::null ); KConfigSkeleton (KSharedConfig::Ptr); void setDefaults (); void readConfig (); void writeConfig (); - void setCurrentGroup (const QString&); - QString currentGroup (); - void addItem (KConfigSkeletonItem*, const QString& = QString ::null ); - ItemString* addItemString (const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), const QString& = QString ::null ); - KConfigSkeleton::ItemPassword* addItemPassword (const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), const QString& = QString ::null ); - KConfigSkeleton::ItemPath* addItemPath (const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), const QString& = QString ::null ); - ItemProperty* addItemProperty (const QString&, QVariant&, const QVariant& = QVariant (), const QString& = QString ::null ); - ItemBool* addItemBool (const QString&, bool&, bool = 0, const QString& = QString ::null ); + void setCurrentGroup (const TQString&); + TQString currentGroup (); + void addItem (KConfigSkeletonItem*, const TQString& = TQString ::null ); + ItemString* addItemString (const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), const TQString& = TQString ::null ); + KConfigSkeleton::ItemPassword* addItemPassword (const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), const TQString& = TQString ::null ); + KConfigSkeleton::ItemPath* addItemPath (const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), const TQString& = TQString ::null ); + ItemProperty* addItemProperty (const TQString&, TQVariant&, const TQVariant& = TQVariant (), const TQString& = TQString ::null ); + ItemBool* addItemBool (const TQString&, bool&, bool = 0, const TQString& = TQString ::null ); %MethodCode -//takes name | (QString) | value | (bool) | defaultValue | (bool) | key | (QString = QString::null) +//takes name | (TQString) | value | (bool) | defaultValue | (bool) | key | (TQString = TQString::null) class PyItemBool : public KConfigSkeleton::ItemBool { public: - PyItemBool (const QString &group, const QString &key, bool val, bool defaultValue = 0) : + PyItemBool (const TQString &group, const TQString &key, bool val, bool defaultValue = 0) : KConfigSkeleton::ItemBool (group, key, this->value, defaultValue) { value = val; @@ -261,14 +261,14 @@ public: Py_END_ALLOW_THREADS %End - ItemInt* addItemInt (const QString&, int&, int = 0, const QString& = QString ::null ); + ItemInt* addItemInt (const TQString&, int&, int = 0, const TQString& = TQString ::null ); %MethodCode -//takes name | (QString) | value | (int) | defaultValue | (int) | key | (QString = QString::null) +//takes name | (TQString) | value | (int) | defaultValue | (int) | key | (TQString = TQString::null) class PyItemInt : public KConfigSkeleton::ItemInt { public: - PyItemInt(const QString &group, const QString &key, int val, int defaultValue=0) : + PyItemInt(const TQString &group, const TQString &key, int val, int defaultValue=0) : KConfigSkeleton::ItemInt (group, key, this->value, defaultValue) { value = val; @@ -284,14 +284,14 @@ public: Py_END_ALLOW_THREADS %End - ItemUInt* addItemUInt (const QString&, uint&, uint = 0, const QString& = QString ::null ); + ItemUInt* addItemUInt (const TQString&, uint&, uint = 0, const TQString& = TQString ::null ); %MethodCode -//takes name | (QString) | value | (uint) | defaultValue | (uint) | key | (QString = QString::null) +//takes name | (TQString) | value | (uint) | defaultValue | (uint) | key | (TQString = TQString::null) class PyItemUInt : public KConfigSkeleton::ItemUInt { public: - PyItemUInt(const QString &group, const QString &key, uint val, uint defaultValue = 0) : + PyItemUInt(const TQString &group, const TQString &key, uint val, uint defaultValue = 0) : KConfigSkeleton::ItemUInt (group, key, this->value, defaultValue) { value = val; @@ -307,14 +307,14 @@ public: Py_END_ALLOW_THREADS %End - ItemLong* addItemLong (const QString&, long&, long = 0, const QString& = QString ::null ); + ItemLong* addItemLong (const TQString&, long&, long = 0, const TQString& = TQString ::null ); %MethodCode -//takes name | (QString) | value | (long) | defaultValue | (long) | key | (QString = QString::null) +//takes name | (TQString) | value | (long) | defaultValue | (long) | key | (TQString = TQString::null) class PyItemLong : public KConfigSkeleton::ItemLong { public: - PyItemLong(const QString &group, const QString &key, long val, long defaultValue=0) : + PyItemLong(const TQString &group, const TQString &key, long val, long defaultValue=0) : KConfigSkeleton::ItemLong (group, key, this->value, defaultValue) { value = val; @@ -330,14 +330,14 @@ public: Py_END_ALLOW_THREADS %End - ItemULong* addItemULong (const QString&, ulong&, ulong = 0, const QString& = QString ::null ); + ItemULong* addItemULong (const TQString&, ulong&, ulong = 0, const TQString& = TQString ::null ); %MethodCode -//takes name | (QString) | value | (ulong) | defaultValue | (ulong) | key | (QString = QString::null) +//takes name | (TQString) | value | (ulong) | defaultValue | (ulong) | key | (TQString = TQString::null) class PyItemULong : public KConfigSkeleton::ItemULong { public: - PyItemULong(const QString &group, const QString &key, ulong val, ulong defaultValue = 0) : + PyItemULong(const TQString &group, const TQString &key, ulong val, ulong defaultValue = 0) : KConfigSkeleton::ItemULong (group, key, this->value, defaultValue) { value = val; @@ -353,16 +353,16 @@ public: Py_END_ALLOW_THREADS %End - KConfigSkeleton::ItemInt64* addItemInt64 (const QString&, longlong&, longlong = 0, const QString& = QString ::null ); - KConfigSkeleton::ItemUInt64* addItemUInt64 (const QString&, ulonglong&, ulonglong = 0, const QString& = QString ::null ); - ItemDouble* addItemDouble (const QString&, double&, double = 0.0, const QString& = QString ::null ); + KConfigSkeleton::ItemInt64* addItemInt64 (const TQString&, longlong&, longlong = 0, const TQString& = TQString ::null ); + KConfigSkeleton::ItemUInt64* addItemUInt64 (const TQString&, ulonglong&, ulonglong = 0, const TQString& = TQString ::null ); + ItemDouble* addItemDouble (const TQString&, double&, double = 0.0, const TQString& = TQString ::null ); %MethodCode -//takes name | (QString) | value | (double) | defaultValue | (double) | key | (QString = QString::null) +//takes name | (TQString) | value | (double) | defaultValue | (double) | key | (TQString = TQString::null) class PyItemDouble : public KConfigSkeleton::ItemDouble { public: - PyItemDouble(const QString &group, const QString &key, double val, double defaultValue=0.0) : + PyItemDouble(const TQString &group, const TQString &key, double val, double defaultValue=0.0) : KConfigSkeleton::ItemDouble(group, key, this->value, defaultValue) { value = val; @@ -378,18 +378,18 @@ public: Py_END_ALLOW_THREADS %End - ItemColor* addItemColor (const QString&, QColor&, const QColor& = QColor (128 ,128 ,128 ), const QString& = QString ::null ); - ItemFont* addItemFont (const QString&, QFont&, const QFont& = KGlobalSettings ::generalFont (), const QString& = QString ::null ); - ItemRect* addItemRect (const QString&, QRect&, const QRect& = QRect (), const QString& = QString ::null ); - ItemPoint* addItemPoint (const QString&, QPoint&, const QPoint& = QPoint (), const QString& = QString ::null ); - ItemSize* addItemSize (const QString&, QSize&, const QSize& = QSize (), const QString& = QString ::null ); - ItemDateTime* addItemDateTime (const QString&, QDateTime&, const QDateTime& = QDateTime (), const QString& = QString ::null ); - KConfigSkeleton::ItemStringList* addItemStringList (const QString&, QStringList&, const QStringList& = QStringList (), const QString& = QString ::null ); - KConfigSkeleton::ItemIntList* addItemIntList (const QString&, QValueList<int>&, const QValueList<int>& = IntList (), const QString& = QString ::null ); + ItemColor* addItemColor (const TQString&, TQColor&, const TQColor& = TQColor (128 ,128 ,128 ), const TQString& = TQString ::null ); + ItemFont* addItemFont (const TQString&, TQFont&, const TQFont& = KGlobalSettings ::generalFont (), const TQString& = TQString ::null ); + ItemRect* addItemRect (const TQString&, TQRect&, const TQRect& = TQRect (), const TQString& = TQString ::null ); + ItemPoint* addItemPoint (const TQString&, TQPoint&, const TQPoint& = TQPoint (), const TQString& = TQString ::null ); + ItemSize* addItemSize (const TQString&, TQSize&, const TQSize& = TQSize (), const TQString& = TQString ::null ); + ItemDateTime* addItemDateTime (const TQString&, TQDateTime&, const TQDateTime& = TQDateTime (), const TQString& = TQString ::null ); + KConfigSkeleton::ItemStringList* addItemStringList (const TQString&, TQStringList&, const TQStringList& = TQStringList (), const TQString& = TQString ::null ); + KConfigSkeleton::ItemIntList* addItemIntList (const TQString&, TQValueList<int>&, const TQValueList<int>& = IntList (), const TQString& = TQString ::null ); %MethodCode //returns a Python list of int -//takes name | (QString) | reference | (a Python list of int) | defaultValue | (a Python list of int = []) | key | (QString = QString::null) - if (a2 == NULL) *(QValueList<int> *)a2 = QValueList<int>(); +//takes name | (TQString) | reference | (a Python list of int) | defaultValue | (a Python list of int = []) | key | (TQString = TQString::null) + if (a2 == NULL) *(TQValueList<int> *)a2 = TQValueList<int>(); Py_BEGIN_ALLOW_THREADS sipRes = sipCpp->addItemIntList (*a0, *a1, *a2, *a3); Py_END_ALLOW_THREADS @@ -412,8 +412,8 @@ public: PyList_Append (sipRes, sipConvertFromInstance (&(list [i]), sipClass_KConfigSkeletonItem, NULL)); %End - bool isImmutable (const QString&); - KConfigSkeletonItem* findItem (const QString&); + bool isImmutable (const TQString&); + KConfigSkeletonItem* findItem (const TQString&); bool useDefaults (bool); protected: @@ -437,16 +437,16 @@ public: Path }; - ItemString (const QString&, const QString&, QString&, const QString& = QString ::fromLatin1 ("" ), KConfigSkeleton::ItemString::Type = KConfigSkeleton ::ItemString ::Normal ); - void setValue (const QString&); - QString& value (); - virtual void setDefaultValue (const QString&); + ItemString (const TQString&, const TQString&, TQString&, const TQString& = TQString ::fromLatin1 ("" ), KConfigSkeleton::ItemString::Type = KConfigSkeleton ::ItemString ::Normal ); + void setValue (const TQString&); + TQString& value (); + virtual void setDefaultValue (const TQString&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemString @@ -461,23 +461,23 @@ public: { public: - ItemProperty (const QString&, const QString&, QVariant, QVariant = 0) [(const QString&, const QString&, QVariant&, QVariant = 0)]; + ItemProperty (const TQString&, const TQString&, TQVariant, TQVariant = 0) [(const TQString&, const TQString&, TQVariant&, TQVariant = 0)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (QVariant) | defaultValue | (QVariant = 0) +//takes group | (TQString) | key | (TQString) | reference | (TQVariant) | defaultValue | (TQVariant = 0) Py_BEGIN_ALLOW_THREADS sipCpp = (sipKConfigSkeleton_ItemProperty *) new KConfigSkeleton::ItemProperty (*a0, *a1, *a2, *a3); Py_END_ALLOW_THREADS %End - void setValue (const QVariant&); - QVariant& value (); - virtual void setDefaultValue (const QVariant&); + void setValue (const TQVariant&); + TQVariant& value (); + virtual void setDefaultValue (const TQVariant&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemProperty @@ -492,14 +492,14 @@ public: { public: - ItemBool (const QString&, const QString&, bool, bool = 1) [(const QString&, const QString&, bool&, bool = 1)]; + ItemBool (const TQString&, const TQString&, bool, bool = 1) [(const TQString&, const TQString&, bool&, bool = 1)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (bool) | defaultValue | (bool = 1) +//takes group | (TQString) | key | (TQString) | reference | (bool) | defaultValue | (bool = 1) class PyItemBool : public KConfigSkeleton::ItemBool { public: - PyItemBool(const QString &group, const QString &key, bool val, bool defaultValue = false) : + PyItemBool(const TQString &group, const TQString &key, bool val, bool defaultValue = false) : KConfigSkeleton::ItemBool(group, key, this->value, defaultValue) { value = val; @@ -521,8 +521,8 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemBool @@ -537,14 +537,14 @@ public: { public: - ItemInt (const QString&, const QString&, int, int = 1) [(const QString&, const QString&, int&, int = 1)]; + ItemInt (const TQString&, const TQString&, int, int = 1) [(const TQString&, const TQString&, int&, int = 1)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (int) | defaultValue | (int = 1) +//takes group | (TQString) | key | (TQString) | reference | (int) | defaultValue | (int = 1) class PyItemInt : public KConfigSkeleton::ItemInt { public: - PyItemInt(const QString &group, const QString &key, int val, int defaultValue = 0) : + PyItemInt(const TQString &group, const TQString &key, int val, int defaultValue = 0) : KConfigSkeleton::ItemInt(group, key, this->value, defaultValue) { value = val; @@ -566,10 +566,10 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; + void setProperty (const TQVariant&); + TQVariant property () const; + TQVariant minValue () const; + TQVariant maxValue () const; void setMinValue (int); void setMaxValue (int); @@ -586,14 +586,14 @@ public: { public: - ItemInt64 (const QString&, const QString&, longlong&, longlong = 0); + ItemInt64 (const TQString&, const TQString&, longlong&, longlong = 0); %MethodCode -//takes group | (QString) | key | (QString) | reference | (longlong) | defaultValue | (longlong = 0) +//takes group | (TQString) | key | (TQString) | reference | (longlong) | defaultValue | (longlong = 0) class PyItemInt64 : public KConfigSkeleton::ItemInt64 { public: - PyItemInt64(const QString &group, const QString &key, Q_INT64 val, Q_INT64 defaultValue=0) : + PyItemInt64(const TQString &group, const TQString &key, Q_INT64 val, Q_INT64 defaultValue=0) : KConfigSkeleton::ItemInt64(group, key, this->value, defaultValue) { value = val; @@ -615,10 +615,10 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; + void setProperty (const TQVariant&); + TQVariant property () const; + TQVariant minValue () const; + TQVariant maxValue () const; void setMinValue (longlong); void setMaxValue (longlong); @@ -635,14 +635,14 @@ public: { public: - ItemUInt (const QString&, const QString&, uint, uint = 0) [(const QString&, const QString&, uint&, uint = 0)]; + ItemUInt (const TQString&, const TQString&, uint, uint = 0) [(const TQString&, const TQString&, uint&, uint = 0)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (uint) | defaultValue | (uint = 1) +//takes group | (TQString) | key | (TQString) | reference | (uint) | defaultValue | (uint = 1) class PyItemUInt : public KConfigSkeleton::ItemUInt { public: - PyItemUInt(const QString &group, const QString &key, uint val, uint defaultValue = 0) : + PyItemUInt(const TQString &group, const TQString &key, uint val, uint defaultValue = 0) : KConfigSkeleton::ItemUInt(group, key, this->value, defaultValue) { value = val; @@ -664,10 +664,10 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; + void setProperty (const TQVariant&); + TQVariant property () const; + TQVariant minValue () const; + TQVariant maxValue () const; void setMinValue (uint); void setMaxValue (uint); @@ -682,14 +682,14 @@ public: { public: - ItemLong (const QString&, const QString&, long&, long = 0) [(const QString&, const QString&, long&, long = 0)]; + ItemLong (const TQString&, const TQString&, long&, long = 0) [(const TQString&, const TQString&, long&, long = 0)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (long) | defaultValue | (long = 1) +//takes group | (TQString) | key | (TQString) | reference | (long) | defaultValue | (long = 1) class PyItemLong : public KConfigSkeleton::ItemLong { public: - PyItemLong(const QString &group, const QString &key, long val, long defaultValue = 0) : + PyItemLong(const TQString &group, const TQString &key, long val, long defaultValue = 0) : KConfigSkeleton::ItemLong(group, key, this->value, defaultValue) { value = val; @@ -711,10 +711,10 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; + void setProperty (const TQVariant&); + TQVariant property () const; + TQVariant minValue () const; + TQVariant maxValue () const; void setMinValue (long); void setMaxValue (long); @@ -731,14 +731,14 @@ public: { public: - ItemULong (const QString&, const QString&, ulong, ulong = 0) [(const QString&, const QString&, ulong&, ulong = 0)]; + ItemULong (const TQString&, const TQString&, ulong, ulong = 0) [(const TQString&, const TQString&, ulong&, ulong = 0)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (ulong) | defaultValue | (ulong = 1) +//takes group | (TQString) | key | (TQString) | reference | (ulong) | defaultValue | (ulong = 1) class PyItemULong : public KConfigSkeleton::ItemULong { public: - PyItemULong(const QString &group, const QString &key, ulong val, ulong defaultValue = 0) : + PyItemULong(const TQString &group, const TQString &key, ulong val, ulong defaultValue = 0) : KConfigSkeleton::ItemULong(group, key, this->value, defaultValue) { value = val; @@ -760,10 +760,10 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; + void setProperty (const TQVariant&); + TQVariant property () const; + TQVariant minValue () const; + TQVariant maxValue () const; void setMinValue (ulong); void setMaxValue (ulong); @@ -780,14 +780,14 @@ public: { public: - ItemUInt64 (const QString&, const QString&, ulonglong&, ulonglong = 0); + ItemUInt64 (const TQString&, const TQString&, ulonglong&, ulonglong = 0); %MethodCode -//takes group | (QString) | key | (QString) | reference | (ulonglong) | defaultValue | (ulonglong = 0) +//takes group | (TQString) | key | (TQString) | reference | (ulonglong) | defaultValue | (ulonglong = 0) class PyItemUInt64 : public KConfigSkeleton::ItemUInt64 { public: - PyItemUInt64(const QString &group, const QString &key, Q_UINT64 val, Q_UINT64 defaultValue = 0) : + PyItemUInt64(const TQString &group, const TQString &key, Q_UINT64 val, Q_UINT64 defaultValue = 0) : KConfigSkeleton::ItemUInt64(group, key, this->value, defaultValue) { value = val; @@ -809,10 +809,10 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; + void setProperty (const TQVariant&); + TQVariant property () const; + TQVariant minValue () const; + TQVariant maxValue () const; void setMinValue (ulonglong); void setMaxValue (ulonglong); @@ -829,13 +829,13 @@ public: { public: - ItemDouble (const QString&, const QString&, double, double = 0) [(const QString&, const QString&, double&, double = 0)]; + ItemDouble (const TQString&, const TQString&, double, double = 0) [(const TQString&, const TQString&, double&, double = 0)]; %MethodCode -//takes group | (QString) | key | (QString) | reference | (double) | defaultValue | (double = 0) +//takes group | (TQString) | key | (TQString) | reference | (double) | defaultValue | (double = 0) class PyItemDouble : public KConfigSkeleton::ItemDouble { public: - PyItemDouble(const QString &group, const QString &key, double val, double defaultValue=0.0) : + PyItemDouble(const TQString &group, const TQString &key, double val, double defaultValue=0.0) : KConfigSkeleton::ItemDouble(group, key, this->value, defaultValue) { value = val; @@ -857,10 +857,10 @@ public: void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; - QVariant minValue () const; - QVariant maxValue () const; + void setProperty (const TQVariant&); + TQVariant property () const; + TQVariant minValue () const; + TQVariant maxValue () const; void setMinValue (double); void setMaxValue (double); @@ -877,16 +877,16 @@ public: { public: - ItemColor (const QString&, const QString&, QColor&, const QColor& = QColor (128 ,128 ,128 )); - void setValue (const QColor&); - QColor& value (); - virtual void setDefaultValue (const QColor&); + ItemColor (const TQString&, const TQString&, TQColor&, const TQColor& = TQColor (128 ,128 ,128 )); + void setValue (const TQColor&); + TQColor& value (); + virtual void setDefaultValue (const TQColor&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemColor @@ -901,16 +901,16 @@ public: { public: - ItemFont (const QString&, const QString&, QFont&, const QFont& = KGlobalSettings ::generalFont ()); - void setValue (const QFont&); - QFont& value (); - virtual void setDefaultValue (const QFont&); + ItemFont (const TQString&, const TQString&, TQFont&, const TQFont& = KGlobalSettings ::generalFont ()); + void setValue (const TQFont&); + TQFont& value (); + virtual void setDefaultValue (const TQFont&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemFont @@ -925,16 +925,16 @@ public: { public: - ItemRect (const QString&, const QString&, QRect&, const QRect& = QRect ()); - void setValue (const QRect&); - QRect& value (); - virtual void setDefaultValue (const QRect&); + ItemRect (const TQString&, const TQString&, TQRect&, const TQRect& = TQRect ()); + void setValue (const TQRect&); + TQRect& value (); + virtual void setDefaultValue (const TQRect&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemRect @@ -949,16 +949,16 @@ public: { public: - ItemPoint (const QString&, const QString&, QPoint&, const QPoint& = QPoint ()); - void setValue (const QPoint&); - QPoint& value (); - virtual void setDefaultValue (const QPoint&); + ItemPoint (const TQString&, const TQString&, TQPoint&, const TQPoint& = TQPoint ()); + void setValue (const TQPoint&); + TQPoint& value (); + virtual void setDefaultValue (const TQPoint&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemPoint @@ -973,16 +973,16 @@ public: { public: - ItemSize (const QString&, const QString&, QSize&, const QSize& = QSize ()); - void setValue (const QSize&); - QSize& value (); - virtual void setDefaultValue (const QSize&); + ItemSize (const TQString&, const TQString&, TQSize&, const TQSize& = TQSize ()); + void setValue (const TQSize&); + TQSize& value (); + virtual void setDefaultValue (const TQSize&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemSize @@ -997,16 +997,16 @@ public: { public: - ItemDateTime (const QString&, const QString&, QDateTime&, const QDateTime& = QDateTime ()); - void setValue (const QDateTime&); - QDateTime& value (); - virtual void setDefaultValue (const QDateTime&); + ItemDateTime (const TQString&, const TQString&, TQDateTime&, const TQDateTime& = TQDateTime ()); + void setValue (const TQDateTime&); + TQDateTime& value (); + virtual void setDefaultValue (const TQDateTime&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemDateTime @@ -1021,16 +1021,16 @@ public: { public: - ItemStringList (const QString&, const QString&, QStringList&, const QStringList& = QStringList ()); - void setValue (const QStringList&); - QStringList& value (); - virtual void setDefaultValue (const QStringList&); + ItemStringList (const TQString&, const TQString&, TQStringList&, const TQStringList& = TQStringList ()); + void setValue (const TQStringList&); + TQStringList& value (); + virtual void setDefaultValue (const TQStringList&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemStringList @@ -1045,24 +1045,24 @@ public: { public: - ItemIntList (const QString&, const QString&, QValueList<int>&, const QValueList<int>& = IntList ()); + ItemIntList (const TQString&, const TQString&, TQValueList<int>&, const TQValueList<int>& = IntList ()); %MethodCode -//takes group | (QString) | key | (QString) | reference | (a Python list of int) | defaultValue | (a Python list of int = 0) - if (a3 == NULL) *(QValueList<int> *)a3 = QValueList<int>(); +//takes group | (TQString) | key | (TQString) | reference | (a Python list of int) | defaultValue | (a Python list of int = 0) + if (a3 == NULL) *(TQValueList<int> *)a3 = TQValueList<int>(); Py_BEGIN_ALLOW_THREADS sipCpp = (sipKConfigSkeleton_ItemIntList *) new KConfigSkeleton::ItemIntList (*a0, *a1, *a2, *a3); Py_END_ALLOW_THREADS %End - void setValue (const QValueList<int>&); - QValueList<int>& value (); - virtual void setDefaultValue (const QValueList<int>&); + void setValue (const TQValueList<int>&); + TQValueList<int>& value (); + virtual void setDefaultValue (const TQValueList<int>&); virtual void setDefault (); void swapDefault (); void writeConfig (KConfig*); void readConfig (KConfig*); - void setProperty (const QVariant&); - QVariant property () const; + void setProperty (const TQVariant&); + TQVariant property () const; }; // class ItemIntList @@ -1077,7 +1077,7 @@ public: %If (KDE_3_2_0 - ) -%MappedType QValueList<KConfigSkeleton::ItemEnum::Choice> +%MappedType TQValueList<KConfigSkeleton::ItemEnum::Choice> { %TypeHeaderCode #include <kconfigskeleton.h> @@ -1092,11 +1092,11 @@ public: if ((pylist = PyList_New(0)) == NULL) return NULL; - QValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = (QValueList<KConfigSkeleton::ItemEnum::Choice> *)sipCpp; + TQValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = (TQValueList<KConfigSkeleton::ItemEnum::Choice> *)sipCpp; PyObject *inst; // Get it. - QValueList<KConfigSkeleton::ItemEnum::Choice>::Iterator it; + TQValueList<KConfigSkeleton::ItemEnum::Choice>::Iterator it; for( it = cpplist->begin(); it != cpplist->end(); ++it ) { if (((inst = sipConvertFromNewType(new KConfigSkeleton::ItemEnum::Choice(*it), sipType_KConfigSkeleton_ItemEnum_Choice, NULL)) == NULL) @@ -1115,7 +1115,7 @@ public: if (sipIsErr == NULL) return PyList_Check(sipPy); - QValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = new QValueList<KConfigSkeleton::ItemEnum::Choice>; + TQValueList<KConfigSkeleton::ItemEnum::Choice> *cpplist = new TQValueList<KConfigSkeleton::ItemEnum::Choice>; PyObject *elem; KConfigSkeleton::ItemEnum::Choice *cpp; |