diff options
Diffstat (limited to 'knode/knarticle.h')
-rw-r--r-- | knode/knarticle.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/knode/knarticle.h b/knode/knarticle.h index 9c2fc8979..798742e17 100644 --- a/knode/knarticle.h +++ b/knode/knarticle.h @@ -15,13 +15,13 @@ #ifndef KNARTICLE_H #define KNARTICLE_H -#include <qstringlist.h> -#include <qtextstream.h> -#include <qfile.h> -#include <qfont.h> -#include <qcolor.h> -#include <qasciidict.h> -#include <qvaluelist.h> +#include <tqstringlist.h> +#include <tqtextstream.h> +#include <tqfile.h> +#include <tqfont.h> +#include <tqcolor.h> +#include <tqasciidict.h> +#include <tqvaluelist.h> #include <kmime_headers.h> #include <kmime_newsarticle.h> @@ -36,13 +36,13 @@ class KNArticleCollection; /** This class encapsulates a generic article. It provides all the usual headers of a RFC822-message. Further more it contains an - unique id and can store a pointer to a @ref QListViewItem. It is + unique id and can store a pointer to a @ref TQListViewItem. It is used as a base class for all visible articles. */ class KNArticle : public KMime::NewsArticle, public KNJobItem { public: - typedef QValueList<KNArticle*> List; + typedef TQValueList<KNArticle*> List; KNArticle(KNArticleCollection *c); ~KNArticle(); @@ -87,7 +87,7 @@ class KNGroup; class KNRemoteArticle : public KNArticle { public: - typedef QValueList<KNRemoteArticle*> List; + typedef TQValueList<KNRemoteArticle*> List; KNRemoteArticle(KNGroup *g); ~KNRemoteArticle(); @@ -169,8 +169,8 @@ class KNRemoteArticle : public KNArticle { void setForceDefaultCS(bool b); - QColor color() const { return c_olor; } - void setColor(const QColor& c) { c_olor = c; } + TQColor color() const { return c_olor; } + void setColor(const TQColor& c) { c_olor = c; } time_t subThreadChangeDate() { return s_ubThreadChangeDate; } void setSubThreadChangeDate(time_t date) { s_ubThreadChangeDate = date; } @@ -188,7 +188,7 @@ class KNRemoteArticle : public KNArticle { KNRemoteArticle *d_ref; // displayed reference-article (may differ from i_dRef) unsigned char t_hrLevel; // quality of threading short s_core; // guess what ;-) - QColor c_olor; // color for the header list + TQColor c_olor; // color for the header list unsigned short u_nreadFups, // number of the article's unread follow-ups n_ewFups; // number of the article's new follow-ups time_t s_ubThreadChangeDate; // the last time the sub-thread of this article changed @@ -207,7 +207,7 @@ class KNRemoteArticle : public KNArticle { class KNLocalArticle : public KNArticle { public: - typedef QValueList<KNLocalArticle*> List; + typedef TQValueList<KNLocalArticle*> List; KNLocalArticle(KNArticleCollection *c=0); ~KNLocalArticle(); @@ -294,27 +294,27 @@ class KNAttachment { ~KNAttachment(); //name (used as a Content-Type parameter and as filename) - const QString& name() { return n_ame; } - void setName(const QString &s) { n_ame=s; h_asChanged=true; } + const TQString& name() { return n_ame; } + void setName(const TQString &s) { n_ame=s; h_asChanged=true; } //mime type - const QCString& mimeType() { return m_imeType; } - void setMimeType(const QString &s); + const TQCString& mimeType() { return m_imeType; } + void setMimeType(const TQString &s); //Content-Description - const QString& description() { return d_escription; } - void setDescription(const QString &s) { d_escription=s; h_asChanged=true; } + const TQString& description() { return d_escription; } + void setDescription(const TQString &s) { d_escription=s; h_asChanged=true; } //Encoding int cte() { return e_ncoding.cte(); } void setCte(int e) { e_ncoding.setCte( (KMime::Headers::contentEncoding)(e) ); h_asChanged=true; } bool isFixedBase64()const { return f_b64; } - QString encoding() { return e_ncoding.asUnicodeString(); } + TQString encoding() { return e_ncoding.asUnicodeString(); } //content handling KMime::Content* content()const { return c_ontent; } - QString contentSize() const; + TQString contentSize() const; bool isAttached() const { return i_sAttached; } bool hasChanged() const { return h_asChanged; } void updateContentInfo(); @@ -324,9 +324,9 @@ class KNAttachment { protected: KMime::Content *c_ontent; KNLoadHelper *l_oadHelper; - QFile *f_ile; - QCString m_imeType; - QString n_ame, + TQFile *f_ile; + TQCString m_imeType; + TQString n_ame, d_escription; KMime::Headers::CTEncoding e_ncoding; bool i_sAttached, |