summaryrefslogtreecommitdiffstats
path: root/knode/knarticlefactory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /knode/knarticlefactory.h
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knode/knarticlefactory.h')
-rw-r--r--knode/knarticlefactory.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/knode/knarticlefactory.h b/knode/knarticlefactory.h
index 6b18b6e5b..995fcdc0d 100644
--- a/knode/knarticlefactory.h
+++ b/knode/knarticlefactory.h
@@ -15,7 +15,7 @@
#ifndef KNARTICLEFACTORY_H
#define KNARTICLEFACTORY_H
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <kdialogbase.h>
#include "knjobdata.h"
@@ -36,27 +36,27 @@ namespace KNConfig {
}
-class KNArticleFactory : public QObject , public KNJobConsumer {
+class KNArticleFactory : public TQObject , public KNJobConsumer {
Q_OBJECT
public:
enum replyType { RTgroup, RTmail, RTboth };
- KNArticleFactory(QObject *p=0, const char *n=0);
+ KNArticleFactory(TQObject *p=0, const char *n=0);
~KNArticleFactory();
//factory methods
void createPosting(KNNntpAccount *a);
void createPosting(KNGroup *g);
- void createReply(KNRemoteArticle *a, QString selectedText=QString::null, bool post=true, bool mail=false);
+ void createReply(KNRemoteArticle *a, TQString selectedText=TQString::null, bool post=true, bool mail=false);
void createForward(KNArticle *a);
void createCancel(KNArticle *a);
void createSupersede(KNArticle *a);
void createMail(KMime::Headers::AddressField *address);
// send a mail via an external program...
- void sendMailExternal(const QString &address=QString::null, const QString &subject=QString::null, const QString &body=QString::null);
+ void sendMailExternal(const TQString &address=TQString::null, const TQString &subject=TQString::null, const TQString &body=TQString::null);
//article handling
void edit(KNLocalArticle *a);
@@ -75,7 +75,7 @@ class KNArticleFactory : public QObject , public KNJobConsumer {
//article generation
// col: group or account
- KNLocalArticle* newArticle(KNCollection *col, QString &sig, QCString defChset, bool withXHeaders=true, KNArticle *origPost=0);
+ KNLocalArticle* newArticle(KNCollection *col, TQString &sig, TQCString defChset, bool withXHeaders=true, KNArticle *origPost=0);
//cancel & supersede
bool cancelAllowed(KNArticle *a);
@@ -83,7 +83,7 @@ class KNArticleFactory : public QObject , public KNJobConsumer {
//send-errors
void showSendErrorDialog();
- QValueList<KNComposer*> mCompList;
+ TQValueList<KNComposer*> mCompList;
KNSendErrorDialog *s_endErrDlg;
protected slots:
@@ -101,21 +101,21 @@ class KNSendErrorDialog : public KDialogBase {
KNSendErrorDialog();
~KNSendErrorDialog();
- void append(const QString &subject, const QString &error);
+ void append(const TQString &subject, const TQString &error);
protected:
class LBoxItem : public KNListBoxItem {
public:
- LBoxItem(const QString &e, const QString &t, QPixmap *p=0)
+ LBoxItem(const TQString &e, const TQString &t, TQPixmap *p=0)
: KNListBoxItem(t, p) , error(e) {}
~LBoxItem() {}
- QString error;
+ TQString error;
};
KNDialogListBox *j_obs;
- QLabel *e_rror;
- QPixmap p_ixmap;
+ TQLabel *e_rror;
+ TQPixmap p_ixmap;
protected slots:
void slotHighlighted(int idx);