diff options
Diffstat (limited to 'ksquirrel/ksquirrelpart/sq_libraryhandler.h')
-rw-r--r-- | ksquirrel/ksquirrelpart/sq_libraryhandler.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/ksquirrel/ksquirrelpart/sq_libraryhandler.h b/ksquirrel/ksquirrelpart/sq_libraryhandler.h index a3f34bf..05bd4c9 100644 --- a/ksquirrel/ksquirrelpart/sq_libraryhandler.h +++ b/ksquirrel/ksquirrelpart/sq_libraryhandler.h @@ -18,13 +18,13 @@ #ifndef SQ_LIBRARY_HANDLER_H #define SQ_LIBRARY_HANDLER_H -#include <qvaluevector.h> -#include <qdatetime.h> -#include <qobject.h> +#include <tqvaluevector.h> +#include <tqdatetime.h> +#include <tqobject.h> #include "sq_library.h" -class QStringList; +class TQStringList; class KConfig; class KURL; @@ -34,10 +34,10 @@ class KURL; * in library loading mechanizm. */ -class SQ_LibraryHandler : public QObject, public QValueVector<SQ_LIBRARY> +class SQ_LibraryHandler : public TQObject, public TQValueVector<SQ_LIBRARY> { public: - SQ_LibraryHandler(QObject *parent = 0); + SQ_LibraryHandler(TQObject *tqparent = 0); ~SQ_LibraryHandler(); enum Support { Maybe = 0, Yes, No }; @@ -49,14 +49,14 @@ class SQ_LibraryHandler : public QObject, public QValueVector<SQ_LIBRARY> void sync(); - Support maybeSupported(const KURL &, const QString& = QString::null) const; + Support maybeSupported(const KURL &, const TQString& = TQString()) const; /* * Find appropriate SQ_LIBRARY by filename. If * not found, return NULL. */ SQ_LIBRARY* libraryForFile(const KURL &); - SQ_LIBRARY* libraryForFile(const QString &); + SQ_LIBRARY* libraryForFile(const TQString &); /* * Find appropriate SQ_LIBRARY by its name. If @@ -64,32 +64,32 @@ class SQ_LibraryHandler : public QObject, public QValueVector<SQ_LIBRARY> * * Name is a string, returned by fmt_quickinfo() */ - SQ_LIBRARY* libraryByName(const QString &name); + SQ_LIBRARY* libraryByName(const TQString &name); /* * Does any of found libraries handle given extension ? */ - bool knownExtension(const QString &ext); + bool knownExtension(const TQString &ext); /* * Fill 'filters' with all found filters, and * 'quick' with appropriate information. */ - void allFilters(QStringList &filters, QStringList &quick) const; + void allFilters(TQStringList &filters, TQStringList &quick) const; - void allWritableFilters(QStringList &filters, QStringList &quick) const; + void allWritableFilters(TQStringList &filters, TQStringList &quick) const; /* * Get all filters as one string. */ - QString allFiltersString() const; + TQString allFiltersString() const; /* * Filters as one string suitable for KFileDialogs. * If r == true, return readable codecs * If allfiles == true, append *.* to result */ - QString allFiltersFileDialogString(bool r, bool allfiles = true) const; + TQString allFiltersFileDialogString(bool r, bool allfiles = true) const; /* * Remove and unload all libraries. @@ -105,7 +105,7 @@ class SQ_LibraryHandler : public QObject, public QValueVector<SQ_LIBRARY> private: - void add(QStringList &foundLibraries); + void add(TQStringList &foundLibraries); /* * Load libraries from disk. @@ -114,7 +114,7 @@ class SQ_LibraryHandler : public QObject, public QValueVector<SQ_LIBRARY> /* * Is library with name 'quick' already been handled ? */ - bool alreadyInMap(const QString &quick) const; + bool alreadyInMap(const TQString &quick) const; void writeSettings(SQ_LIBRARY *lib); void readSettings(SQ_LIBRARY *lib); |