summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bugsystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/bugsystem.h')
-rw-r--r--kbugbuster/backend/bugsystem.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kbugbuster/backend/bugsystem.h b/kbugbuster/backend/bugsystem.h
index c573698b..c5c37d18 100644
--- a/kbugbuster/backend/bugsystem.h
+++ b/kbugbuster/backend/bugsystem.h
@@ -8,10 +8,10 @@
#include <kurl.h>
-#include <qobject.h>
-#include <qptrlist.h>
-#include <qmap.h>
-#include <qpair.h>
+#include <tqobject.h>
+#include <tqptrlist.h>
+#include <tqmap.h>
+#include <tqpair.h>
class KConfig;
@@ -36,13 +36,13 @@ class BugSystem : public QObject
/**
BugSystem takes ownership of the BugServerConfig objects.
*/
- void setServerList( const QValueList<BugServerConfig> &servers );
- QValueList<BugServer *> serverList();
+ void setServerList( const TQValueList<BugServerConfig> &servers );
+ TQValueList<BugServer *> serverList();
- void setCurrentServer( const QString & );
+ void setCurrentServer( const TQString & );
void retrievePackageList();
- void retrieveBugList( const Package &, const QString &component );
+ void retrieveBugList( const Package &, const TQString &component );
void retrieveBugDetails( const Bug & );
/**
@@ -57,7 +57,7 @@ class BugSystem : public QObject
/**
Forget all commands for a given bug.
*/
- void clearCommands( const QString &bug );
+ void clearCommands( const TQString &bug );
/**
Forget all commands for all bugs.
*/
@@ -72,44 +72,44 @@ class BugSystem : public QObject
Package::List packageList() const;
- Package package( const QString &pkgname ) const;
- Bug bug( const Package &pkg, const QString &component, const QString &number ) const;
+ Package package( const TQString &pkgname ) const;
+ Bug bug( const Package &pkg, const TQString &component, const TQString &number ) const;
static void saveQuery( const KURL &url );
- static void saveResponse( const QByteArray &d );
- static QString lastResponse();
+ static void saveResponse( const TQByteArray &d );
+ static TQString lastResponse();
void readConfig( KConfig * );
void writeConfig( KConfig * );
signals:
void packageListAvailable( const Package::List &pkgs );
- void bugListAvailable( const Package &pkg, const QString &component, const Bug::List & );
- void bugListAvailable( const QString &label, const Bug::List & );
+ void bugListAvailable( const Package &pkg, const TQString &component, const Bug::List & );
+ void bugListAvailable( const TQString &label, const Bug::List & );
void bugDetailsAvailable( const Bug &, const BugDetails & );
void packageListLoading();
- void bugListLoading( const Package &, const QString &component );
- void bugListLoading( const QString &label );
+ void bugListLoading( const Package &, const TQString &component );
+ void bugListLoading( const TQString &label );
void bugDetailsLoading( const Bug & );
void packageListCacheMiss();
void bugListCacheMiss( const Package &package );
- void bugListCacheMiss( const QString &label );
+ void bugListCacheMiss( const TQString &label );
void bugDetailsCacheMiss( const Bug & );
void bugDetailsLoadingError();
- void infoMessage( const QString &message );
+ void infoMessage( const TQString &message );
void infoPercent( unsigned long percent );
void commandQueued( BugCommand * );
- void commandCanceled( const QString & );
+ void commandCanceled( const TQString & );
- void loadingError( const QString &text );
+ void loadingError( const TQString &text );
protected:
- BugServer *findServer( const QString &name );
+ BugServer *findServer( const TQString &name );
void registerJob( BugJob * );
@@ -122,7 +122,7 @@ class BugSystem : public QObject
private slots:
void setPackageList( const Package::List &pkgs );
- void setBugList( const Package &pkg, const QString &component, const Bug::List &bugs );
+ void setBugList( const Package &pkg, const TQString &component, const Bug::List &bugs );
void setBugDetails( const Bug &bug, const BugDetails &details );
private:
@@ -130,13 +130,13 @@ class BugSystem : public QObject
BugServer *mServer;
- QValueList<BugServer *> mServerList;
+ TQValueList<BugServer *> mServerList;
- QPtrList<BugJob> mJobs;
+ TQPtrList<BugJob> mJobs;
static BugSystem *s_self;
- static QString mLastResponse;
+ static TQString mLastResponse;
};
#endif