summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bug.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:38 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:50:38 -0600
commitd6331f1b56eb6dca7a1950658b2932f208015da0 (patch)
treef99bf8d1571f93304bdb4a46fb199a1bde60e6ee /kbugbuster/backend/bug.h
parente738fee8847c1f606df7b338a589cc8c0539a521 (diff)
downloadtdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.tar.gz
tdesdk-d6331f1b56eb6dca7a1950658b2932f208015da0.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'kbugbuster/backend/bug.h')
-rw-r--r--kbugbuster/backend/bug.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kbugbuster/backend/bug.h b/kbugbuster/backend/bug.h
index e60b0e98..406179c8 100644
--- a/kbugbuster/backend/bug.h
+++ b/kbugbuster/backend/bug.h
@@ -17,7 +17,7 @@ public:
enum Severity { SeverityUndefined, Critical, Grave, Major, Crash, Normal,
Minor, Wishlist };
- enum tqStatus { StatusUndefined, Unconfirmed, New, Assigned, Reopened,
+ enum Status { StatusUndefined, Unconfirmed, New, Assigned, Reopened,
Closed };
Bug();
@@ -55,23 +55,23 @@ public:
BugMergeList mergedWith() const;
/**
- * tqStatus of a bug. Currently open or closed.
+ * Status of a bug. Currently open or closed.
* TODO: Should we add a status 'deleted' here ?
*/
- tqStatus status() const;
- void settqStatus( tqStatus newtqStatus );
+ Status status() const;
+ void setStatus( Status newStatus );
- static TQString statusLabel( tqStatus s );
+ static TQString statusLabel( Status s );
/**
Return string representation of status. This function is symmetric to
- stringTotqStatus().
+ stringToStatus().
*/
- static TQString statusToString( tqStatus s );
+ static TQString statusToString( Status s );
/**
Return status code of string representation. This function is symmetric
to statusToString().
*/
- static tqStatus stringTotqStatus( const TQString &, bool *ok = 0 );
+ static Status stringToStatus( const TQString &, bool *ok = 0 );
bool operator==( const Bug &rhs );
bool operator<( const Bug &rhs ) const;