summaryrefslogtreecommitdiffstats
path: root/sip/kio/kfilemetainfo.sip
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-03 22:23:44 -0600
commit203ba231d0276943aae36111f9ec1e949f3c6a4c (patch)
treef039f7a5b5fc2da88a96876971bac580d87f6788 /sip/kio/kfilemetainfo.sip
parentfd35f4a8382b7d223bc0325b9ca3f88515778aa0 (diff)
downloadpytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.tar.gz
pytde-203ba231d0276943aae36111f9ec1e949f3c6a4c.zip
Initial TQt conversion
Diffstat (limited to 'sip/kio/kfilemetainfo.sip')
-rw-r--r--sip/kio/kfilemetainfo.sip198
1 files changed, 99 insertions, 99 deletions
diff --git a/sip/kio/kfilemetainfo.sip b/sip/kio/kfilemetainfo.sip
index b0418be..a5d8b78 100644
--- a/sip/kio/kfilemetainfo.sip
+++ b/sip/kio/kfilemetainfo.sip
@@ -94,16 +94,16 @@ public:
{
public:
- QStringList supportedKeys () const;
- const QString& name () const;
- const QString& translatedName () const;
- const KFileMimeTypeInfo::ItemInfo* itemInfo (const QString&) const;
+ TQStringList supportedKeys () const;
+ const TQString& name () const;
+ const TQString& translatedName () const;
+ const KFileMimeTypeInfo::ItemInfo* itemInfo (const TQString&) const;
uint attributes () const;
bool supportsVariableKeys () const;
const KFileMimeTypeInfo::ItemInfo* variableItemInfo () const;
private:
- GroupInfo (const QString&, const QString&);
+ GroupInfo (const TQString&, const TQString&);
}; // class GroupInfo
@@ -115,44 +115,44 @@ public:
public:
ItemInfo ();
- const QString& prefix () const;
- const QString& suffix () const;
- QVariant::Type type () const;
- const QString& key () const;
+ const TQString& prefix () const;
+ const TQString& suffix () const;
+ TQVariant::Type type () const;
+ const TQString& key () const;
%If ( KDE_3_1_0 - )
- QString string (const QVariant&, bool = 1) const;
+ TQString string (const TQVariant&, bool = 1) const;
%End
bool isVariableItem () const;
- const QString& translatedKey () const;
+ const TQString& translatedKey () const;
uint attributes () const;
uint hint () const;
uint unit () const;
private:
- ItemInfo (const QString&, const QString&, QVariant::Type);
+ ItemInfo (const TQString&, const TQString&, TQVariant::Type);
}; // class ItemInfo
public:
- QValidator* createValidator (const QString&, const QString&, QObject* /Transfer/ = 0, const char* = 0) const;
- QStringList supportedGroups () const;
- QStringList translatedGroups () const;
- QStringList preferredGroups () const;
- QString mimeType () const;
- const KFileMimeTypeInfo::GroupInfo* groupInfo (const QString&) const;
- QStringList supportedKeys () const;
- QStringList preferredKeys () const;
- KFileMimeTypeInfo::GroupInfo* addGroupInfo (const QString&, const QString&);
- QString m_translatedName;
- QStringList m_supportedKeys;
+ TQValidator* createValidator (const TQString&, const TQString&, TQObject* /Transfer/ = 0, const char* = 0) const;
+ TQStringList supportedGroups () const;
+ TQStringList translatedGroups () const;
+ TQStringList preferredGroups () const;
+ TQString mimeType () const;
+ const KFileMimeTypeInfo::GroupInfo* groupInfo (const TQString&) const;
+ TQStringList supportedKeys () const;
+ TQStringList preferredKeys () const;
+ KFileMimeTypeInfo::GroupInfo* addGroupInfo (const TQString&, const TQString&);
+ TQString m_translatedName;
+ TQStringList m_supportedKeys;
uint m_attr;
-//ig QDict<ItemInfo> m_itemDict;
+//ig TQDict<ItemInfo> m_itemDict;
protected:
- KFileMimeTypeInfo (const QString&);
+ KFileMimeTypeInfo (const TQString&);
public:
@@ -202,20 +202,20 @@ public:
typedef KFileMimeTypeInfo::Hint Hint;
//ig typedef KFileMimeTypeInfo::Unit Unit;
typedef KFileMimeTypeInfo::Attributes Attributes;
- KFileMetaInfoItem (const KFileMimeTypeInfo::ItemInfo*, const QString&, const QVariant&);
+ KFileMetaInfoItem (const KFileMimeTypeInfo::ItemInfo*, const TQString&, const TQVariant&);
KFileMetaInfoItem (const KFileMetaInfoItem&);
KFileMetaInfoItem ();
- QString key () const;
- QString translatedKey () const;
- const QVariant& value () const;
- QString string (bool = 1) const;
- bool setValue (const QVariant&);
- QVariant::Type type () const;
+ TQString key () const;
+ TQString translatedKey () const;
+ const TQVariant& value () const;
+ TQString string (bool = 1) const;
+ bool setValue (const TQVariant&);
+ TQVariant::Type type () const;
bool isEditable () const;
bool isRemoved () const;
bool isModified () const;
- QString prefix () const;
- QString suffix () const;
+ TQString prefix () const;
+ TQString suffix () const;
uint hint () const;
//ig uint unit () const;
uint attributes () const;
@@ -242,7 +242,7 @@ class KFileMetaInfoGroup
public:
- KFileMetaInfoGroup (const QString&, const KFileMimeTypeInfo*);
+ KFileMetaInfoGroup (const TQString&, const KFileMimeTypeInfo*);
KFileMetaInfoGroup (const KFileMetaInfoGroup&);
KFileMetaInfoGroup ();
bool isValid () const;
@@ -252,11 +252,11 @@ public:
bool isModified () const;
%If ( KDE_3_1_4 - )
- KFileMetaInfoItem operator [] (const QString&) const;
+ KFileMetaInfoItem operator [] (const TQString&) const;
%MethodCode
//returns (KFileMetaInfoItem)
-//takes key | (QString)
- KFileMetaInfoItem sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]);
+//takes key | (TQString)
+ KFileMetaInfoItem sipResObj = ((*sipCpp) [*static_cast<const TQString*>(a0)]);
sipRes = &sipResObj;
%End
@@ -264,28 +264,28 @@ public:
%End
- KFileMetaInfoItem item (const QString&) const;
+ KFileMetaInfoItem item (const TQString&) const;
KFileMetaInfoItem item (uint) const;
- const QVariant value (const QString&) const;
- QStringList supportedKeys () const;
+ const TQVariant value (const TQString&) const;
+ TQStringList supportedKeys () const;
bool supportsVariableKeys () const;
- bool contains (const QString&) const;
- QStringList keys () const;
- QStringList preferredKeys () const;
- KFileMetaInfoItem addItem (const QString&);
- bool removeItem (const QString&);
- QStringList removedItems ();
- QString name () const;
+ bool contains (const TQString&) const;
+ TQStringList keys () const;
+ TQStringList preferredKeys () const;
+ KFileMetaInfoItem addItem (const TQString&);
+ bool removeItem (const TQString&);
+ TQStringList removedItems ();
+ TQString name () const;
%If ( KDE_3_2_0 - )
- QString translatedName () const;
+ TQString translatedName () const;
%End
uint attributes () const;
protected:
void setAdded ();
- KFileMetaInfoItem appendItem (const QString&, const QVariant&);
+ KFileMetaInfoItem appendItem (const TQString&, const TQVariant&);
void ref ();
void deref ();
@@ -316,52 +316,52 @@ public:
Everything
};
- KFileMetaInfo (const QString&, const QString& = QString ::null , uint = Fastest );
+ KFileMetaInfo (const TQString&, const TQString& = TQString ::null , uint = Fastest );
%If ( KDE_3_2_0 - )
- KFileMetaInfo (const KURL&, const QString& = QString ::null , uint = Fastest );
+ KFileMetaInfo (const KURL&, const TQString& = TQString ::null , uint = Fastest );
%End
KFileMetaInfo ();
KFileMetaInfo (const KFileMetaInfo&);
- QStringList groups () const;
- QStringList supportedGroups () const;
- QStringList preferredGroups () const;
- QStringList preferredKeys () const;
- QStringList supportedKeys () const;
- QStringList editableGroups () const;
- KFileMetaInfoItem item (const QString&) const;
+ TQStringList groups () const;
+ TQStringList supportedGroups () const;
+ TQStringList preferredGroups () const;
+ TQStringList preferredKeys () const;
+ TQStringList supportedKeys () const;
+ TQStringList editableGroups () const;
+ KFileMetaInfoItem item (const TQString&) const;
KFileMetaInfoItem item (const Hint) const;
- KFileMetaInfoItem saveItem (const QString&, const QString& = QString ::null , bool = 1);
- KFileMetaInfoGroup group (const QString&) const;
+ KFileMetaInfoItem saveItem (const TQString&, const TQString& = TQString ::null , bool = 1);
+ KFileMetaInfoGroup group (const TQString&) const;
%If ( KDE_3_1_4 - )
- KFileMetaInfoGroup operator [] (const QString&) const;
+ KFileMetaInfoGroup operator [] (const TQString&) const;
%MethodCode
//returns (KFileMetaInfoGroup)
-//takes key | (QString)
- KFileMetaInfoGroup sipResObj = ((*sipCpp) [*static_cast<const QString*>(a0)]);
+//takes key | (TQString)
+ KFileMetaInfoGroup sipResObj = ((*sipCpp) [*static_cast<const TQString*>(a0)]);
sipRes = &sipResObj;
%End
%End
- bool addGroup (const QString&);
- bool removeGroup (const QString&);
- QStringList removedGroups ();
+ bool addGroup (const TQString&);
+ bool removeGroup (const TQString&);
+ TQStringList removedGroups ();
bool applyChanges ();
%If ( KDE_3_5_3 - )
- bool applyChanges (const QString&);
+ bool applyChanges (const TQString&);
%End
- bool contains (const QString&) const;
- bool containsGroup (const QString&) const;
- const QVariant value (const QString&) const;
+ bool contains (const TQString&) const;
+ bool containsGroup (const TQString&) const;
+ const TQVariant value (const TQString&) const;
bool isValid () const;
bool isEmpty () const;
- QString mimeType () const;
- QString path () const;
+ TQString mimeType () const;
+ TQString path () const;
%If ( KDE_3_2_0 - )
KURL url () const;
@@ -369,7 +369,7 @@ public:
protected:
- KFileMetaInfoGroup appendGroup (const QString&);
+ KFileMetaInfoGroup appendGroup (const TQString&);
KFilePlugin* plugin () const;
void ref ();
void deref ();
@@ -377,7 +377,7 @@ protected:
}; // class KFileMetaInfo
-class KFilePlugin : QObject
+class KFilePlugin : TQObject
{
%TypeHeaderCode
#include <kfilemetainfo.h>
@@ -385,24 +385,24 @@ class KFilePlugin : QObject
public:
- KFilePlugin (QObject* /TransferThis/, const char*, const QStringList&);
+ KFilePlugin (TQObject* /TransferThis/, const char*, const TQStringList&);
virtual bool readInfo (KFileMetaInfo&, uint = KFileMetaInfo ::Fastest ) = 0;
virtual bool writeInfo (const KFileMetaInfo&) const;
- virtual QValidator* createValidator (const QString&, const QString&, const QString&, QObject*, const char*) const;
+ virtual TQValidator* createValidator (const TQString&, const TQString&, const TQString&, TQObject*, const char*) const;
protected:
- KFileMimeTypeInfo* addMimeTypeInfo (const QString&);
- KFileMimeTypeInfo::GroupInfo* addGroupInfo (KFileMimeTypeInfo*, const QString&, const QString&) const;
+ KFileMimeTypeInfo* addMimeTypeInfo (const TQString&);
+ KFileMimeTypeInfo::GroupInfo* addGroupInfo (KFileMimeTypeInfo*, const TQString&, const TQString&) const;
void setAttributes (KFileMimeTypeInfo::GroupInfo*, uint) const;
- void addVariableInfo (KFileMimeTypeInfo::GroupInfo*, QVariant::Type, uint) const;
- KFileMimeTypeInfo::ItemInfo* addItemInfo (KFileMimeTypeInfo::GroupInfo*, const QString&, const QString&, QVariant::Type);
+ void addVariableInfo (KFileMimeTypeInfo::GroupInfo*, TQVariant::Type, uint) const;
+ KFileMimeTypeInfo::ItemInfo* addItemInfo (KFileMimeTypeInfo::GroupInfo*, const TQString&, const TQString&, TQVariant::Type);
void setAttributes (KFileMimeTypeInfo::ItemInfo*, uint);
void setHint (KFileMimeTypeInfo::ItemInfo*, uint);
void setUnit (KFileMimeTypeInfo::ItemInfo*, uint);
- void setPrefix (KFileMimeTypeInfo::ItemInfo*, const QString&);
- void setSuffix (KFileMimeTypeInfo::ItemInfo*, const QString&);
- KFileMetaInfoGroup appendGroup (KFileMetaInfo&, const QString&);
- void appendItem (KFileMetaInfoGroup&, const QString&, QVariant);
+ void setPrefix (KFileMimeTypeInfo::ItemInfo*, const TQString&);
+ void setSuffix (KFileMimeTypeInfo::ItemInfo*, const TQString&);
+ KFileMetaInfoGroup appendGroup (KFileMetaInfo&, const TQString&);
+ void appendItem (KFileMetaInfoGroup&, const TQString&, TQVariant);
protected:
//igx virtual void virtual_hook (int, void*);
@@ -410,7 +410,7 @@ protected:
}; // class KFilePlugin
-class KFileMetaInfoProvider : QObject
+class KFileMetaInfoProvider : TQObject
{
%TypeHeaderCode
#include <kfilemetainfo.h>
@@ -419,23 +419,23 @@ class KFileMetaInfoProvider : QObject
public:
static KFileMetaInfoProvider* self ();
- KFilePlugin* plugin (const QString&);
+ KFilePlugin* plugin (const TQString&);
%If ( KDE_3_4_0 - )
- KFilePlugin* plugin (const QString&, const QString&);
+ KFilePlugin* plugin (const TQString&, const TQString&);
%End
- const KFileMimeTypeInfo* mimeTypeInfo (const QString&);
+ const KFileMimeTypeInfo* mimeTypeInfo (const TQString&);
%If ( KDE_3_4_0 - )
- const KFileMimeTypeInfo* mimeTypeInfo (const QString&, const QString&);
+ const KFileMimeTypeInfo* mimeTypeInfo (const TQString&, const TQString&);
%End
- QStringList preferredKeys (const QString&) const;
- QStringList preferredGroups (const QString&) const;
+ TQStringList preferredKeys (const TQString&) const;
+ TQStringList preferredGroups (const TQString&) const;
%If ( KDE_3_1_0 - )
- QStringList supportedMimeTypes () const;
+ TQStringList supportedMimeTypes () const;
%End
@@ -451,10 +451,10 @@ private:
%If ( KDE_3_1_4 - )
-//igx QDataStream& operator << (QDataStream&, const KFileMetaInfoItem&);
-//igx QDataStream& operator >> (QDataStream&, KFileMetaInfoItem&);
-//igx QDataStream& operator << (QDataStream&, const KFileMetaInfoGroup&);
-//igx QDataStream& operator >> (QDataStream&, KFileMetaInfoGroup&);
-//igx QDataStream& operator << (QDataStream&, const KFileMetaInfo&);
-//igx QDataStream& operator >> (QDataStream&, KFileMetaInfo&);
+//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfoItem&);
+//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfoItem&);
+//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfoGroup&);
+//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfoGroup&);
+//igx TQDataStream& operator << (TQDataStream&, const KFileMetaInfo&);
+//igx TQDataStream& operator >> (TQDataStream&, KFileMetaInfo&);
%End