summaryrefslogtreecommitdiffstats
path: root/kmail/kmcommands.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 /kmail/kmcommands.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 'kmail/kmcommands.h')
-rw-r--r--kmail/kmcommands.h246
1 files changed, 123 insertions, 123 deletions
diff --git a/kmail/kmcommands.h b/kmail/kmcommands.h
index 02a48c4a0..d9c0e8392 100644
--- a/kmail/kmcommands.h
+++ b/kmail/kmcommands.h
@@ -3,13 +3,13 @@
#ifndef KMCommands_h
#define KMCommands_h
-#include <qdatetime.h>
-#include <qguardedptr.h>
-#include <qptrlist.h>
-#include <qvaluelist.h>
-#include <qvaluevector.h>
-#include <qtimer.h>
-#include <qfont.h>
+#include <tqdatetime.h>
+#include <tqguardedptr.h>
+#include <tqptrlist.h>
+#include <tqvaluelist.h>
+#include <tqvaluevector.h>
+#include <tqtimer.h>
+#include <tqfont.h>
#include <kio/job.h>
#include "kmmsgbase.h" // for KMMsgStatus
#include <mimelib/string.h>
@@ -43,8 +43,8 @@ namespace KMail {
namespace GpgME { class Error; }
namespace Kleo { class SpecialJob; }
-typedef QMap<int,KMFolder*> KMMenuToFolder;
-typedef QMap<partNode*, KMMessage*> PartNodeMessageMap;
+typedef TQMap<int,KMFolder*> KMMenuToFolder;
+typedef TQMap<partNode*, KMMessage*> PartNodeMessageMap;
class KDE_EXPORT KMCommand : public QObject
{
@@ -55,13 +55,13 @@ public:
enum Result { Undefined, OK, Canceled, Failed };
// Trival constructor, don't retrieve any messages
- KMCommand( QWidget *parent = 0 );
+ KMCommand( TQWidget *parent = 0 );
// Retrieve all messages in msgList when start is called.
- KMCommand( QWidget *parent, const QPtrList<KMMsgBase> &msgList );
+ KMCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList );
// Retrieve the single message msgBase when start is called.
- KMCommand( QWidget *parent, KMMsgBase *msgBase );
+ KMCommand( TQWidget *parent, KMMsgBase *msgBase );
// Retrieve the single message msgBase when start is called.
- KMCommand( QWidget *parent, KMMessage *message );
+ KMCommand( TQWidget *parent, KMMessage *message );
virtual ~KMCommand();
/** These folders will be closed by the dtor, handy, if you need to keep
@@ -90,11 +90,11 @@ signals:
protected:
// Returns list of messages retrieved
- const QPtrList<KMMessage> retrievedMsgs() const;
+ const TQPtrList<KMMessage> retrievedMsgs() const;
// Returns the single message retrieved
KMMessage *retrievedMessage() const;
// Returns the parent widget
- QWidget *parentWidget() const;
+ TQWidget *parentWidget() const;
bool deletesItself() { return mDeletesItself; }
/** Specify whether the subclass takes care of the deletion of the object.
@@ -151,10 +151,10 @@ private:
bool mDeletesItself : 1;
bool mEmitsCompletedItself : 1;
- QWidget *mParent;
- QPtrList<KMMessage> mRetrievedMsgs;
- QPtrList<KMMsgBase> mMsgList;
- QValueList<QGuardedPtr<KMFolder> > mFolders;
+ TQWidget *mParent;
+ TQPtrList<KMMessage> mRetrievedMsgs;
+ TQPtrList<KMMsgBase> mMsgList;
+ TQValueList<TQGuardedPtr<KMFolder> > mFolders;
};
class KDE_EXPORT KMMailtoComposeCommand : public KMCommand
@@ -176,14 +176,14 @@ class KDE_EXPORT KMMailtoReplyCommand : public KMCommand
Q_OBJECT
public:
- KMMailtoReplyCommand( QWidget *parent, const KURL &url,
- KMMessage *msg, const QString &selection );
+ KMMailtoReplyCommand( TQWidget *parent, const KURL &url,
+ KMMessage *msg, const TQString &selection );
private:
virtual Result execute();
KURL mUrl;
- QString mSelection;
+ TQString mSelection;
};
class KDE_EXPORT KMMailtoForwardCommand : public KMCommand
@@ -191,7 +191,7 @@ class KDE_EXPORT KMMailtoForwardCommand : public KMCommand
Q_OBJECT
public:
- KMMailtoForwardCommand( QWidget *parent, const KURL &url,
+ KMMailtoForwardCommand( TQWidget *parent, const KURL &url,
KMMessage *msg );
private:
@@ -205,7 +205,7 @@ class KDE_EXPORT KMMailtoAddAddrBookCommand : public KMCommand
Q_OBJECT
public:
- KMMailtoAddAddrBookCommand( const KURL &url, QWidget *parent );
+ KMMailtoAddAddrBookCommand( const KURL &url, TQWidget *parent );
private:
virtual Result execute();
@@ -218,7 +218,7 @@ class KDE_EXPORT KMAddBookmarksCommand : public KMCommand
Q_OBJECT
public:
- KMAddBookmarksCommand( const KURL &url, QWidget *parent );
+ KMAddBookmarksCommand( const KURL &url, TQWidget *parent );
private:
virtual Result execute();
@@ -232,7 +232,7 @@ class KDE_EXPORT KMMailtoOpenAddrBookCommand : public KMCommand
Q_OBJECT
public:
- KMMailtoOpenAddrBookCommand( const KURL &url, QWidget *parent );
+ KMMailtoOpenAddrBookCommand( const KURL &url, TQWidget *parent );
private:
virtual Result execute();
@@ -273,7 +273,7 @@ class KDE_EXPORT KMUrlSaveCommand : public KMCommand
Q_OBJECT
public:
- KMUrlSaveCommand( const KURL &url, QWidget *parent );
+ KMUrlSaveCommand( const KURL &url, TQWidget *parent );
private slots:
void slotUrlSaveResult( KIO::Job *job );
@@ -289,7 +289,7 @@ class KDE_EXPORT KMEditMsgCommand : public KMCommand
Q_OBJECT
public:
- KMEditMsgCommand( QWidget *parent, KMMessage *msg );
+ KMEditMsgCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -300,7 +300,7 @@ class KDE_EXPORT KMUseTemplateCommand : public KMCommand
Q_OBJECT
public:
- KMUseTemplateCommand( QWidget *parent, KMMessage *msg );
+ KMUseTemplateCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -311,7 +311,7 @@ class KDE_EXPORT KMShowMsgSrcCommand : public KMCommand
Q_OBJECT
public:
- KMShowMsgSrcCommand( QWidget *parent, KMMessage *msg,
+ KMShowMsgSrcCommand( TQWidget *parent, KMMessage *msg,
bool fixedFont );
virtual Result execute();
@@ -325,8 +325,8 @@ class KDE_EXPORT KMSaveMsgCommand : public KMCommand
Q_OBJECT
public:
- KMSaveMsgCommand( QWidget *parent, const QPtrList<KMMsgBase> &msgList );
- KMSaveMsgCommand( QWidget *parent, KMMessage * msg );
+ KMSaveMsgCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList );
+ KMSaveMsgCommand( TQWidget *parent, KMMessage * msg );
KURL url();
private:
@@ -341,10 +341,10 @@ private slots:
private:
static const int MAX_CHUNK_SIZE = 64*1024;
KURL mUrl;
- QValueList<unsigned long> mMsgList;
+ TQValueList<unsigned long> mMsgList;
unsigned int mMsgListIndex;
KMMessage *mStandAloneMessage;
- QByteArray mData;
+ TQByteArray mData;
int mOffset;
size_t mTotalSize;
KIO::TransferJob *mJob;
@@ -355,14 +355,14 @@ class KDE_EXPORT KMOpenMsgCommand : public KMCommand
Q_OBJECT
public:
- KMOpenMsgCommand( QWidget *parent, const KURL & url = KURL(),
- const QString & encoding = QString() );
+ KMOpenMsgCommand( TQWidget *parent, const KURL & url = KURL(),
+ const TQString & encoding = TQString() );
private:
virtual Result execute();
private slots:
- void slotDataArrived( KIO::Job *job, const QByteArray & data );
+ void slotDataArrived( KIO::Job *job, const TQByteArray & data );
void slotResult( KIO::Job *job );
private:
@@ -370,7 +370,7 @@ private:
KURL mUrl;
DwString mMsgString;
KIO::TransferJob *mJob;
- const QString mEncoding;
+ const TQString mEncoding;
};
class KDE_EXPORT KMSaveAttachmentsCommand : public KMCommand
@@ -381,12 +381,12 @@ public:
@param parent The parent widget of the command used for message boxes.
@param msg The message of which the attachments should be saved.
*/
- KMSaveAttachmentsCommand( QWidget *parent, KMMessage *msg );
+ KMSaveAttachmentsCommand( TQWidget *parent, KMMessage *msg );
/** Use this to save all attachments of the given messages.
@param parent The parent widget of the command used for message boxes.
@param msgs The messages of which the attachments should be saved.
*/
- KMSaveAttachmentsCommand( QWidget *parent, const QPtrList<KMMsgBase>& msgs );
+ KMSaveAttachmentsCommand( TQWidget *parent, const TQPtrList<KMMsgBase>& msgs );
/** Use this to save the specified attachments of the given message.
@param parent The parent widget of the command used for message
boxes.
@@ -395,7 +395,7 @@ public:
@param encoded True if the transport encoding should not be removed
when the attachment is saved.
*/
- KMSaveAttachmentsCommand( QWidget *parent, QPtrList<partNode> &attachments,
+ KMSaveAttachmentsCommand( TQWidget *parent, TQPtrList<partNode> &attachments,
KMMessage *msg, bool encoded = false );
private slots:
@@ -416,14 +416,14 @@ class KDE_EXPORT KMReplyToCommand : public KMCommand
Q_OBJECT
public:
- KMReplyToCommand( QWidget *parent, KMMessage *msg,
- const QString &selection = QString::null );
+ KMReplyToCommand( TQWidget *parent, KMMessage *msg,
+ const TQString &selection = TQString::null );
private:
virtual Result execute();
private:
- QString mSelection;
+ TQString mSelection;
};
class KDE_EXPORT KMNoQuoteReplyToCommand : public KMCommand
@@ -431,7 +431,7 @@ class KDE_EXPORT KMNoQuoteReplyToCommand : public KMCommand
Q_OBJECT
public:
- KMNoQuoteReplyToCommand( QWidget *parent, KMMessage *msg );
+ KMNoQuoteReplyToCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -442,14 +442,14 @@ class KMReplyListCommand : public KMCommand
Q_OBJECT
public:
- KMReplyListCommand( QWidget *parent, KMMessage *msg,
- const QString &selection = QString::null );
+ KMReplyListCommand( TQWidget *parent, KMMessage *msg,
+ const TQString &selection = TQString::null );
private:
virtual Result execute();
private:
- QString mSelection;
+ TQString mSelection;
};
class KDE_EXPORT KMReplyToAllCommand : public KMCommand
@@ -457,14 +457,14 @@ class KDE_EXPORT KMReplyToAllCommand : public KMCommand
Q_OBJECT
public:
- KMReplyToAllCommand( QWidget *parent, KMMessage *msg,
- const QString &selection = QString::null );
+ KMReplyToAllCommand( TQWidget *parent, KMMessage *msg,
+ const TQString &selection = TQString::null );
private:
virtual Result execute();
private:
- QString mSelection;
+ TQString mSelection;
};
class KDE_EXPORT KMReplyAuthorCommand : public KMCommand
@@ -472,14 +472,14 @@ class KDE_EXPORT KMReplyAuthorCommand : public KMCommand
Q_OBJECT
public:
- KMReplyAuthorCommand( QWidget *parent, KMMessage *msg,
- const QString &selection = QString::null );
+ KMReplyAuthorCommand( TQWidget *parent, KMMessage *msg,
+ const TQString &selection = TQString::null );
private:
virtual Result execute();
private:
- QString mSelection;
+ TQString mSelection;
};
class KDE_EXPORT KMForwardInlineCommand : public KMCommand
@@ -487,9 +487,9 @@ class KDE_EXPORT KMForwardInlineCommand : public KMCommand
Q_OBJECT
public:
- KMForwardInlineCommand( QWidget *parent, const QPtrList<KMMsgBase> &msgList,
+ KMForwardInlineCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0 );
- KMForwardInlineCommand( QWidget *parent, KMMessage * msg,
+ KMForwardInlineCommand( TQWidget *parent, KMMessage * msg,
uint identity = 0 );
private:
@@ -504,16 +504,16 @@ class KDE_EXPORT KMForwardAttachedCommand : public KMCommand
Q_OBJECT
public:
- KMForwardAttachedCommand( QWidget *parent, const QPtrList<KMMsgBase> &msgList,
+ KMForwardAttachedCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0, KMail::Composer *win = 0 );
- KMForwardAttachedCommand( QWidget *parent, KMMessage * msg,
+ KMForwardAttachedCommand( TQWidget *parent, KMMessage * msg,
uint identity = 0, KMail::Composer *win = 0 );
private:
virtual Result execute();
uint mIdentity;
- QGuardedPtr<KMail::Composer> mWin;
+ TQGuardedPtr<KMail::Composer> mWin;
};
class KDE_EXPORT KMForwardDigestCommand : public KMCommand
@@ -521,16 +521,16 @@ class KDE_EXPORT KMForwardDigestCommand : public KMCommand
Q_OBJECT
public:
- KMForwardDigestCommand( QWidget *parent, const QPtrList<KMMsgBase> &msgList,
+ KMForwardDigestCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0, KMail::Composer *win = 0 );
- KMForwardDigestCommand( QWidget *parent, KMMessage * msg,
+ KMForwardDigestCommand( TQWidget *parent, KMMessage * msg,
uint identity = 0, KMail::Composer *win = 0 );
private:
virtual Result execute();
uint mIdentity;
- QGuardedPtr<KMail::Composer> mWin;
+ TQGuardedPtr<KMail::Composer> mWin;
};
class KDE_EXPORT KMRedirectCommand : public KMCommand
@@ -538,7 +538,7 @@ class KDE_EXPORT KMRedirectCommand : public KMCommand
Q_OBJECT
public:
- KMRedirectCommand( QWidget *parent, KMMessage *msg );
+ KMRedirectCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -549,16 +549,16 @@ class KDE_EXPORT KMCustomReplyToCommand : public KMCommand
Q_OBJECT
public:
- KMCustomReplyToCommand( QWidget *parent, KMMessage *msg,
- const QString &selection,
- const QString &tmpl );
+ KMCustomReplyToCommand( TQWidget *parent, KMMessage *msg,
+ const TQString &selection,
+ const TQString &tmpl );
private:
virtual Result execute();
private:
- QString mSelection;
- QString mTemplate;
+ TQString mSelection;
+ TQString mTemplate;
};
class KDE_EXPORT KMCustomReplyAllToCommand : public KMCommand
@@ -566,16 +566,16 @@ class KDE_EXPORT KMCustomReplyAllToCommand : public KMCommand
Q_OBJECT
public:
- KMCustomReplyAllToCommand( QWidget *parent, KMMessage *msg,
- const QString &selection,
- const QString &tmpl );
+ KMCustomReplyAllToCommand( TQWidget *parent, KMMessage *msg,
+ const TQString &selection,
+ const TQString &tmpl );
private:
virtual Result execute();
private:
- QString mSelection;
- QString mTemplate;
+ TQString mSelection;
+ TQString mTemplate;
};
class KDE_EXPORT KMCustomForwardCommand : public KMCommand
@@ -583,16 +583,16 @@ class KDE_EXPORT KMCustomForwardCommand : public KMCommand
Q_OBJECT
public:
- KMCustomForwardCommand( QWidget *parent, const QPtrList<KMMsgBase> &msgList,
- uint identity, const QString &tmpl );
- KMCustomForwardCommand( QWidget *parent, KMMessage * msg,
- uint identity, const QString &tmpl );
+ KMCustomForwardCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
+ uint identity, const TQString &tmpl );
+ KMCustomForwardCommand( TQWidget *parent, KMMessage * msg,
+ uint identity, const TQString &tmpl );
private:
virtual Result execute();
uint mIdentity;
- QString mTemplate;
+ TQString mTemplate;
};
class KDE_EXPORT KMPrintCommand : public KMCommand
@@ -600,13 +600,13 @@ class KDE_EXPORT KMPrintCommand : public KMCommand
Q_OBJECT
public:
- KMPrintCommand( QWidget *parent, KMMessage *msg,
+ KMPrintCommand( TQWidget *parent, KMMessage *msg,
bool htmlOverride=false,
bool htmlLoadExtOverride=false,
bool useFixedFont = false,
- const QString & encoding = QString() );
+ const TQString & encoding = TQString() );
- void setOverrideFont( const QFont& );
+ void setOverrideFont( const TQFont& );
private:
virtual Result execute();
@@ -614,8 +614,8 @@ private:
bool mHtmlOverride;
bool mHtmlLoadExtOverride;
bool mUseFixedFont;
- QFont mOverrideFont;
- QString mEncoding;
+ TQFont mOverrideFont;
+ TQString mEncoding;
};
class KDE_EXPORT KMSetStatusCommand : public KMCommand
@@ -624,15 +624,15 @@ class KDE_EXPORT KMSetStatusCommand : public KMCommand
public:
// Serial numbers
- KMSetStatusCommand( KMMsgStatus status, const QValueList<Q_UINT32> &,
+ KMSetStatusCommand( KMMsgStatus status, const TQValueList<Q_UINT32> &,
bool toggle=false );
private:
virtual Result execute();
KMMsgStatus mStatus;
- QValueList<Q_UINT32> mSerNums;
- QValueList<int> mIds;
+ TQValueList<Q_UINT32> mSerNums;
+ TQValueList<int> mIds;
bool mToggle;
};
@@ -641,13 +641,13 @@ class KDE_EXPORT KMFilterCommand : public KMCommand
Q_OBJECT
public:
- KMFilterCommand( const QCString &field, const QString &value );
+ KMFilterCommand( const TQCString &field, const TQString &value );
private:
virtual Result execute();
- QCString mField;
- QString mValue;
+ TQCString mField;
+ TQString mValue;
};
@@ -656,13 +656,13 @@ class KDE_EXPORT KMFilterActionCommand : public KMCommand
Q_OBJECT
public:
- KMFilterActionCommand( QWidget *parent,
- const QPtrList<KMMsgBase> &msgList,
+ KMFilterActionCommand( TQWidget *parent,
+ const TQPtrList<KMMsgBase> &msgList,
KMFilter *filter );
private:
virtual Result execute();
- QValueList<Q_UINT32> serNumList;
+ TQValueList<Q_UINT32> serNumList;
KMFilter *mFilter;
};
@@ -711,7 +711,7 @@ class KDE_EXPORT KMMailingListFilterCommand : public KMCommand
Q_OBJECT
public:
- KMMailingListFilterCommand( QWidget *parent, KMMessage *msg );
+ KMMailingListFilterCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -730,11 +730,11 @@ class KDE_EXPORT KMMenuCommand : public KMCommand
Q_OBJECT
public:
- static void folderToPopupMenu(bool move, QObject *receiver,
- KMMenuToFolder *aMenuToFolder, QPopupMenu *menu );
+ static void folderToPopupMenu(bool move, TQObject *receiver,
+ KMMenuToFolder *aMenuToFolder, TQPopupMenu *menu );
static void makeFolderMenu(KMFolderNode* item, bool move,
- QObject *receiver, KMMenuToFolder *aMenuToFolder, QPopupMenu *menu );
+ TQObject *receiver, KMMenuToFolder *aMenuToFolder, TQPopupMenu *menu );
};
class KDE_EXPORT KMCopyCommand : public KMMenuCommand
@@ -743,7 +743,7 @@ class KDE_EXPORT KMCopyCommand : public KMMenuCommand
public:
KMCopyCommand( KMFolder* destFolder,
- const QPtrList<KMMsgBase> &msgList );
+ const TQPtrList<KMMsgBase> &msgList );
KMCopyCommand( KMFolder* destFolder, KMMessage *msg );
protected slots:
@@ -755,8 +755,8 @@ private:
virtual Result execute();
KMFolder *mDestFolder;
- QPtrList<KMMsgBase> mMsgList;
- QValueList<KMail::FolderJob*> mPendingJobs;
+ TQPtrList<KMMsgBase> mMsgList;
+ TQValueList<KMail::FolderJob*> mPendingJobs;
};
namespace KPIM {
@@ -767,7 +767,7 @@ class KDE_EXPORT KMMoveCommand : public KMMenuCommand
Q_OBJECT
public:
- KMMoveCommand( KMFolder* destFolder, const QPtrList<KMMsgBase> &msgList );
+ KMMoveCommand( KMFolder* destFolder, const TQPtrList<KMMsgBase> &msgList );
KMMoveCommand( KMFolder* destFolder, KMMessage * msg );
KMMoveCommand( KMFolder* destFolder, KMMsgBase * msgBase );
KMFolder* destFolder() const { return mDestFolder; }
@@ -782,17 +782,17 @@ protected:
KMMoveCommand( Q_UINT32 sernum );
void setDestFolder( KMFolder* folder ) { mDestFolder = folder; }
void addMsg( KMMsgBase *msg ) { mSerNumList.append( msg->getMsgSerNum() ); }
- QValueVector<KMFolder*> mOpenedFolders;
+ TQValueVector<KMFolder*> mOpenedFolders;
private:
virtual Result execute();
void completeMove( Result result );
KMFolder *mDestFolder;
- QValueList<Q_UINT32> mSerNumList;
+ TQValueList<Q_UINT32> mSerNumList;
// List of serial numbers that have to be transferred to a host.
// Ticked off as they come in via msgAdded signals.
- QValueList<Q_UINT32> mLostBoys;
+ TQValueList<Q_UINT32> mLostBoys;
KPIM::ProgressItem *mProgressItem;
bool mCompleteWithAddedMsg;
};
@@ -802,7 +802,7 @@ class KDE_EXPORT KMDeleteMsgCommand : public KMMoveCommand
Q_OBJECT
public:
- KMDeleteMsgCommand( KMFolder* srcFolder, const QPtrList<KMMsgBase> &msgList );
+ KMDeleteMsgCommand( KMFolder* srcFolder, const TQPtrList<KMMsgBase> &msgList );
KMDeleteMsgCommand( KMFolder* srcFolder, KMMessage * msg );
KMDeleteMsgCommand( Q_UINT32 sernum );
@@ -834,12 +834,12 @@ class KDE_EXPORT KMLoadPartsCommand : public KMCommand
Q_OBJECT
public:
- KMLoadPartsCommand( QPtrList<partNode>& parts, KMMessage* msg );
+ KMLoadPartsCommand( TQPtrList<partNode>& parts, KMMessage* msg );
KMLoadPartsCommand( partNode* node, KMMessage* msg );
KMLoadPartsCommand( PartNodeMessageMap& partMap );
public slots:
- void slotPartRetrieved( KMMessage* msg, QString partSpecifier );
+ void slotPartRetrieved( KMMessage* msg, TQString partSpecifier );
signals:
void partsRetrieved();
@@ -859,7 +859,7 @@ class KDE_EXPORT KMResendMessageCommand : public KMCommand
Q_OBJECT
public:
- KMResendMessageCommand( QWidget *parent, KMMessage *msg=0 );
+ KMResendMessageCommand( TQWidget *parent, KMMessage *msg=0 );
private:
virtual Result execute();
@@ -869,7 +869,7 @@ class KDE_EXPORT KMMailingListCommand : public KMCommand
{
Q_OBJECT
public:
- KMMailingListCommand( QWidget *parent, KMFolder *folder );
+ KMMailingListCommand( TQWidget *parent, KMFolder *folder );
private:
virtual Result execute();
private slots:
@@ -884,7 +884,7 @@ class KDE_EXPORT KMMailingListPostCommand : public KMMailingListCommand
{
Q_OBJECT
public:
- KMMailingListPostCommand( QWidget *parent, KMFolder *folder );
+ KMMailingListPostCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -893,7 +893,7 @@ class KDE_EXPORT KMMailingListSubscribeCommand : public KMMailingListCommand
{
Q_OBJECT
public:
- KMMailingListSubscribeCommand( QWidget *parent, KMFolder *folder );
+ KMMailingListSubscribeCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -902,7 +902,7 @@ class KDE_EXPORT KMMailingListUnsubscribeCommand : public KMMailingListCommand
{
Q_OBJECT
public:
- KMMailingListUnsubscribeCommand( QWidget *parent, KMFolder *folder );
+ KMMailingListUnsubscribeCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -911,7 +911,7 @@ class KDE_EXPORT KMMailingListArchivesCommand : public KMMailingListCommand
{
Q_OBJECT
public:
- KMMailingListArchivesCommand( QWidget *parent, KMFolder *folder );
+ KMMailingListArchivesCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -920,7 +920,7 @@ class KDE_EXPORT KMMailingListHelpCommand : public KMMailingListCommand
{
Q_OBJECT
public:
- KMMailingListHelpCommand( QWidget *parent, KMFolder *folder );
+ KMMailingListHelpCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -970,16 +970,16 @@ public:
* @param offer specify a KService that should handle the "open" action, 0 otherwise
*/
KMHandleAttachmentCommand( partNode* node, KMMessage* msg, int atmId,
- const QString& atmName, AttachmentAction action, KService::Ptr offer, QWidget* parent );
+ const TQString& atmName, AttachmentAction action, KService::Ptr offer, TQWidget* parent );
signals:
- void showAttachment( int id, const QString& name );
+ void showAttachment( int id, const TQString& name );
private:
virtual Result execute();
- QString createAtmFileLink() const;
+ TQString createAtmFileLink() const;
/** Get a KService if it was not specified */
KService::Ptr getServiceOffer();
@@ -1015,14 +1015,14 @@ private slots:
*/
void slotPartComplete();
- void slotAtmDecryptWithChiasmusResult( const GpgME::Error &, const QVariant & );
+ void slotAtmDecryptWithChiasmusResult( const GpgME::Error &, const TQVariant & );
void slotAtmDecryptWithChiasmusUploadResult( KIO::Job * );
private:
partNode* mNode;
KMMessage* mMsg;
int mAtmId;
- QString mAtmName;
+ TQString mAtmName;
AttachmentAction mAction;
KService::Ptr mOffer;
Kleo::SpecialJob *mJob;
@@ -1035,7 +1035,7 @@ class KDE_EXPORT AttachmentModifyCommand : public KMCommand
{
Q_OBJECT
public:
- AttachmentModifyCommand( partNode *node, KMMessage *msg, QWidget *parent );
+ AttachmentModifyCommand( partNode *node, KMMessage *msg, TQWidget *parent );
~AttachmentModifyCommand();
protected:
@@ -1056,14 +1056,14 @@ class KDE_EXPORT AttachmentModifyCommand : public KMCommand
void messageDeleteResult( KMCommand *cmd );
private:
- QGuardedPtr<KMFolder> mFolder;
+ TQGuardedPtr<KMFolder> mFolder;
};
class KDE_EXPORT KMDeleteAttachmentCommand : public AttachmentModifyCommand
{
Q_OBJECT
public:
- KMDeleteAttachmentCommand( partNode *node, KMMessage *msg, QWidget *parent );
+ KMDeleteAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *parent );
~KMDeleteAttachmentCommand();
protected:
@@ -1075,7 +1075,7 @@ class KDE_EXPORT KMEditAttachmentCommand : public AttachmentModifyCommand
{
Q_OBJECT
public:
- KMEditAttachmentCommand( partNode *node, KMMessage *msg, QWidget *parent );
+ KMEditAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *parent );
~KMEditAttachmentCommand();
protected:
@@ -1092,7 +1092,7 @@ class KDE_EXPORT CreateTodoCommand : public KMCommand
{
Q_OBJECT
public:
- CreateTodoCommand( QWidget *parent, KMMessage *msg );
+ CreateTodoCommand( TQWidget *parent, KMMessage *msg );
private:
Result execute();