summaryrefslogtreecommitdiffstats
path: root/sip/kio/karchive.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/kio/karchive.sip')
-rw-r--r--sip/kio/karchive.sip62
1 files changed, 31 insertions, 31 deletions
diff --git a/sip/kio/karchive.sip b/sip/kio/karchive.sip
index 45c634b..def99a0 100644
--- a/sip/kio/karchive.sip
+++ b/sip/kio/karchive.sip
@@ -32,7 +32,7 @@ class KArchive
protected:
- KArchive (QIODevice*);
+ KArchive (TQIODevice*);
public:
virtual bool open (int);
@@ -44,31 +44,31 @@ public:
bool isOpened () const;
int mode () const;
- QIODevice* device () const;
+ TQIODevice* device () const;
const KArchiveDirectory* directory () const;
%If ( KDE_3_2_0 - )
- bool addLocalFile (const QString&, const QString&);
- bool addLocalDirectory (const QString&, const QString&);
+ bool addLocalFile (const TQString&, const TQString&);
+ bool addLocalDirectory (const TQString&, const TQString&);
%End
- virtual bool writeDir (const QString&, const QString&, const QString&) = 0;
+ virtual bool writeDir (const TQString&, const TQString&, const TQString&) = 0;
%If ( KDE_3_2_0 - )
- bool writeDir (const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t);
- bool writeSymLink (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t);
+ bool writeDir (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
+ bool writeSymLink (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
%End
- virtual bool writeFile (const QString&, const QString&, const QString&, uint, const char*);
+ virtual bool writeFile (const TQString&, const TQString&, const TQString&, uint, const char*);
%If ( KDE_3_2_0 - )
- bool writeFile (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t, const char*);
+ bool writeFile (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
%End
- virtual bool prepareWriting (const QString&, const QString&, const QString&, uint) = 0;
+ virtual bool prepareWriting (const TQString&, const TQString&, const TQString&, uint) = 0;
%If ( KDE_3_2_0 - )
- bool prepareWriting (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t);
+ bool prepareWriting (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
bool writeData (const char*, uint);
%End
@@ -78,18 +78,18 @@ protected:
virtual bool openArchive (int) = 0;
virtual bool closeArchive () = 0;
virtual KArchiveDirectory* rootDir ();
- KArchiveDirectory* findOrCreate (const QString&);
- void setDevice (QIODevice*);
+ KArchiveDirectory* findOrCreate (const TQString&);
+ void setDevice (TQIODevice*);
void setRootDir (KArchiveDirectory*);
protected:
//igx virtual void virtual_hook (int, void*);
%If ( KDE_3_2_0 - )
- bool prepareWriting_impl (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t);
- bool writeFile_impl (const QString&, const QString&, const QString&, uint, mode_t, time_t, time_t, time_t, const char*);
- bool writeDir_impl (const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t);
- bool writeSymLink_impl (const QString&, const QString&, const QString&, const QString&, mode_t, time_t, time_t, time_t);
+ bool prepareWriting_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t);
+ bool writeFile_impl (const TQString&, const TQString&, const TQString&, uint, mode_t, time_t, time_t, time_t, const char*);
+ bool writeDir_impl (const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
+ bool writeSymLink_impl (const TQString&, const TQString&, const TQString&, const TQString&, mode_t, time_t, time_t, time_t);
bool writeData_impl (const char*, uint);
%End
@@ -112,14 +112,14 @@ class KArchiveEntry
public:
- KArchiveEntry (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&);
- QDateTime datetime () const;
+ KArchiveEntry (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&);
+ TQDateTime datetime () const;
int date () const;
- QString name () const;
+ TQString name () const;
mode_t permissions () const;
- QString user () const;
- QString group () const;
- QString symlink () const;
+ TQString user () const;
+ TQString group () const;
+ TQString symlink () const;
virtual bool isFile () const;
virtual bool isDirectory () const;
@@ -140,7 +140,7 @@ class KArchiveFile : KArchiveEntry
public:
- KArchiveFile (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&, int, int);
+ KArchiveFile (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&, int, int);
int position () const;
int size () const;
@@ -148,12 +148,12 @@ public:
void setSize (int);
%End
- virtual QByteArray data () const;
- QIODevice* device () const;
+ virtual TQByteArray data () const;
+ TQIODevice* device () const;
virtual bool isFile () const;
%If ( KDE_3_1_0 - )
- void copyTo (const QString&) const;
+ void copyTo (const TQString&) const;
%End
@@ -171,14 +171,14 @@ class KArchiveDirectory : KArchiveEntry
public:
- KArchiveDirectory (KArchive*, const QString&, int, int, const QString&, const QString&, const QString&);
- QStringList entries () const;
- KArchiveEntry* entry (QString);
+ KArchiveDirectory (KArchive*, const TQString&, int, int, const TQString&, const TQString&, const TQString&);
+ TQStringList entries () const;
+ KArchiveEntry* entry (TQString);
void addEntry (KArchiveEntry*);
virtual bool isDirectory () const;
%If ( KDE_3_1_0 - )
- void copyTo (const QString&, bool = 1) const;
+ void copyTo (const TQString&, bool = 1) const;
%End