summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bug.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbugbuster/backend/bug.h')
-rw-r--r--kbugbuster/backend/bug.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kbugbuster/backend/bug.h b/kbugbuster/backend/bug.h
index 9a5ae8b6..406179c8 100644
--- a/kbugbuster/backend/bug.h
+++ b/kbugbuster/backend/bug.h
@@ -3,7 +3,7 @@
#include "person.h"
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <ksharedptr.h>
@@ -12,8 +12,8 @@ class BugImpl;
class Bug
{
public:
- typedef QValueList<Bug> List;
- typedef QValueList<int> BugMergeList;
+ typedef TQValueList<Bug> List;
+ typedef TQValueList<int> BugMergeList;
enum Severity { SeverityUndefined, Critical, Grave, Major, Crash, Normal,
Minor, Wishlist };
@@ -26,30 +26,30 @@ public:
Bug &operator=( const Bug &rhs );
~Bug();
- static QString severityLabel( Severity s );
+ static TQString severityLabel( Severity s );
/**
Return string representation of severity. This function is symmetric to
stringToSeverity().
*/
- static QString severityToString( Severity s );
+ static TQString severityToString( Severity s );
/**
Return severity code of string representation. This function is symmetric
to severityToString().
*/
- static Severity stringToSeverity( const QString &, bool *ok = 0 );
+ static Severity stringToSeverity( const TQString &, bool *ok = 0 );
- static QValueList<Severity> severities();
+ static TQValueList<Severity> severities();
uint age() const;
void setAge( uint days );
- QString title() const;
- void setTitle( QString title );
+ TQString title() const;
+ void setTitle( TQString title );
Person submitter() const;
- QString number() const;
+ TQString number() const;
Severity severity() const;
void setSeverity( Severity severity );
- QString severityAsString() const;
+ TQString severityAsString() const;
Person developerTODO() const;
BugMergeList mergedWith() const;
@@ -61,24 +61,24 @@ public:
Status status() const;
void setStatus( Status newStatus );
- static QString statusLabel( Status s );
+ static TQString statusLabel( Status s );
/**
Return string representation of status. This function is symmetric to
stringToStatus().
*/
- static QString statusToString( Status s );
+ static TQString statusToString( Status s );
/**
Return status code of string representation. This function is symmetric
to statusToString().
*/
- static Status stringToStatus( const QString &, bool *ok = 0 );
+ static Status stringToStatus( const TQString &, bool *ok = 0 );
bool operator==( const Bug &rhs );
bool operator<( const Bug &rhs ) const;
bool isNull() const { return m_impl == 0; }
- static Bug fromNumber( const QString &bugNumber );
+ static Bug fromNumber( const TQString &bugNumber );
private:
BugImpl *impl() const { return m_impl; }