diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/kmjob.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/kmjob.h')
-rw-r--r-- | kdeprint/kmjob.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kdeprint/kmjob.h b/kdeprint/kmjob.h index 7ea5cf10b..379f7cfd8 100644 --- a/kdeprint/kmjob.h +++ b/kdeprint/kmjob.h @@ -25,8 +25,8 @@ #warning internal header, do not use except if you are a KDEPrint developer #endif -#include <qstring.h> -#include <qvaluevector.h> +#include <tqstring.h> +#include <tqvaluevector.h> #include <kdeprint/kmobject.h> #include <kdelibs_export.h> @@ -69,26 +69,26 @@ public: KMJob& operator=(const KMJob& j); void copy(const KMJob& j); - QString pixmap(); - QString stateString(); + TQString pixmap(); + TQString stateString(); bool isCompleted() const { return (m_state >= Cancelled && m_state <= Completed); } bool isActive() const { return !isCompleted(); } // inline access functions int id() const { return m_ID; } void setId(int id) { m_ID = id; } - const QString& name() const { return m_name; } - void setName(const QString& s) { m_name = s; } - const QString& printer() const { return m_printer; } - void setPrinter(const QString& s) { m_printer = s; } - const QString& owner() const { return m_owner; } - void setOwner(const QString& s) { m_owner = s; } + const TQString& name() const { return m_name; } + void setName(const TQString& s) { m_name = s; } + const TQString& printer() const { return m_printer; } + void setPrinter(const TQString& s) { m_printer = s; } + const TQString& owner() const { return m_owner; } + void setOwner(const TQString& s) { m_owner = s; } int state() const { return m_state; } void setState(int s) { m_state = s; } int size() const { return m_size; } void setSize(int s) { m_size = s; } - const QString& uri() const { return m_uri; } - void setUri(const QString& s) { m_uri = s; } + const TQString& uri() const { return m_uri; } + void setUri(const TQString& s) { m_uri = s; } int type() const { return m_type; } void setType(int t) { m_type = t; } int pages() const { return m_pages; } @@ -100,8 +100,8 @@ public: bool isRemote() const { return m_remote; } void setRemote(bool on) { m_remote = on; } - QString attribute(int i) const { return m_attributes[i]; } - void setAttribute(int i, const QString& att) { m_attributes[i] = att; } + TQString attribute(int i) const { return m_attributes[i]; } + void setAttribute(int i, const TQString& att) { m_attributes[i] = att; } int attributeCount() const { return m_attributes.size(); } void setAttributeCount(int c) { m_attributes.resize(c); } @@ -124,7 +124,7 @@ protected: // internal members QString m_uri; - QValueVector<QString> m_attributes; + TQValueVector<TQString> m_attributes; }; #endif |