summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bugserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/bugserver.h')
-rw-r--r--kbugbuster/backend/bugserver.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/kbugbuster/backend/bugserver.h b/kbugbuster/backend/bugserver.h
index 3b534fa0..b2095569 100644
--- a/kbugbuster/backend/bugserver.h
+++ b/kbugbuster/backend/bugserver.h
@@ -23,7 +23,7 @@
#ifndef BUGSERVER_H
#define BUGSERVER_H
-#include <qstring.h>
+#include <tqstring.h>
#include <kurl.h>
@@ -50,23 +50,23 @@ class BugServer
void setServerConfig( const BugServerConfig & );
BugServerConfig &serverConfig();
- QString identifier();
+ TQString identifier();
BugCache *cache() const { return mCache; }
KURL packageListUrl();
- KURL bugListUrl( const Package &, const QString &component );
+ KURL bugListUrl( const Package &, const TQString &component );
KURL bugDetailsUrl( const Bug & );
KURL bugLink( const Bug & );
- KURL attachmentViewLink( const QString &id );
- KURL attachmentEditLink( const QString &id );
+ KURL attachmentViewLink( const TQString &id );
+ KURL attachmentEditLink( const TQString &id );
- Bug::Status bugStatus( const QString & );
+ Bug::Status bugStatus( const TQString & );
- Bug::Severity bugSeverity( const QString & );
+ Bug::Severity bugSeverity( const TQString & );
Processor *processor() const;
@@ -81,7 +81,7 @@ class BugServer
/**
Return all the commands for a given bug.
*/
- QPtrList<BugCommand> queryCommands( const Bug & ) const;
+ TQPtrList<BugCommand> queryCommands( const Bug & ) const;
/**
Return true if we have a least one command for this bug.
*/
@@ -89,13 +89,13 @@ class BugServer
/**
Send all commands (generate the mails).
*/
- void sendCommands( MailSender *, const QString &senderName,
- const QString &senderEmail, bool sendBCC,
- const QString &recipient );
+ void sendCommands( MailSender *, const TQString &senderName,
+ const TQString &senderEmail, bool sendBCC,
+ const TQString &recipient );
/**
Forget all commands for a given bug.
*/
- void clearCommands( const QString &bug );
+ void clearCommands( const TQString &bug );
/**
Return true if any command has been created.
*/
@@ -103,11 +103,11 @@ class BugServer
/**
List all pending commands.
*/
- QStringList listCommands() const;
+ TQStringList listCommands() const;
/**
Return numbers of all bugs having at least one command queued.
*/
- QStringList bugsWithCommands() const;
+ TQStringList bugsWithCommands() const;
void saveCommands() const;
void loadCommands();
@@ -115,9 +115,9 @@ class BugServer
void setPackages( const Package::List & );
const Package::List &packages() const;
- void setBugs( const Package &, const QString &component,
+ void setBugs( const Package &, const TQString &component,
const Bug::List & );
- const Bug::List &bugs( const Package &, const QString &component );
+ const Bug::List &bugs( const Package &, const TQString &component );
void setBugDetails( const Bug &, const BugDetails & );
const BugDetails &bugDetails( const Bug & );
@@ -133,13 +133,13 @@ class BugServer
Package::List mPackages;
// Map package -> list of bugs
- typedef QMap< QPair<Package, QString>, Bug::List > BugListMap;
+ typedef TQMap< QPair<Package, TQString>, Bug::List > BugListMap;
BugListMap mBugs;
// Map bug -> bug details (i.e. contents of the report)
- typedef QMap< Bug, BugDetails > BugDetailsMap;
+ typedef TQMap< Bug, BugDetails > BugDetailsMap;
BugDetailsMap mBugDetails;
// Map bug-number -> list of commands
- typedef QMap< QString, QPtrList<BugCommand> > CommandsMap;
+ typedef TQMap< TQString, TQPtrList<BugCommand> > CommandsMap;
CommandsMap mCommands;
KSimpleConfig *mCommandsFile;