summaryrefslogtreecommitdiffstats
path: root/kmail/kmcommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmcommands.h')
-rw-r--r--kmail/kmcommands.h188
1 files changed, 121 insertions, 67 deletions
diff --git a/kmail/kmcommands.h b/kmail/kmcommands.h
index 5fbebb65c..173f98ee6 100644
--- a/kmail/kmcommands.h
+++ b/kmail/kmcommands.h
@@ -11,7 +11,7 @@
#include <tqtimer.h>
#include <tqfont.h>
#include <kio/job.h>
-#include "kmmsgbase.h" // for KMMsgStatus
+#include "kmmsgbase.h" // for KMMsgtqStatus
#include <mimelib/string.h>
#include <kdepimmacros.h>
#include <kservice.h>
@@ -48,22 +48,23 @@ namespace Kleo { class SpecialJob; }
typedef TQMap<int,KMFolder*> KMMenuToFolder;
typedef TQMap<partNode*, KMMessage*> PartNodeMessageMap;
-class KDE_EXPORT KMCommand : public QObject
+class KDE_EXPORT KMCommand : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
friend class LaterDeleterWithCommandCompletion;
public:
enum Result { Undefined, OK, Canceled, Failed };
// Trival constructor, don't retrieve any messages
- KMCommand( TQWidget *parent = 0 );
+ KMCommand( TQWidget *tqparent = 0 );
// Retrieve all messages in msgList when start is called.
- KMCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList );
+ KMCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList );
// Retrieve the single message msgBase when start is called.
- KMCommand( TQWidget *parent, KMMsgBase *msgBase );
+ KMCommand( TQWidget *tqparent, KMMsgBase *msgBase );
// Retrieve the single message msgBase when start is called.
- KMCommand( TQWidget *parent, KMMessage *message );
+ KMCommand( TQWidget *tqparent, KMMessage *message );
virtual ~KMCommand();
/** These folders will be closed by the dtor, handy, if you need to keep
@@ -97,7 +98,7 @@ protected:
const TQPtrList<KMMessage> retrievedMsgs() const;
// Returns the single message retrieved
KMMessage *retrievedMessage() const;
- // Returns the parent widget
+ // Returns the tqparent widget
TQWidget *tqparentWidget() const;
bool deletesItself() { return mDeletesItself; }
@@ -164,6 +165,7 @@ private:
class KDE_EXPORT KMMailtoComposeCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMMailtoComposeCommand( const KURL &url, KMMessage *msg=0 );
@@ -178,9 +180,10 @@ private:
class KDE_EXPORT KMMailtoReplyCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailtoReplyCommand( TQWidget *parent, const KURL &url,
+ KMMailtoReplyCommand( TQWidget *tqparent, const KURL &url,
KMMessage *msg, const TQString &selection );
private:
@@ -193,9 +196,10 @@ private:
class KDE_EXPORT KMMailtoForwardCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailtoForwardCommand( TQWidget *parent, const KURL &url,
+ KMMailtoForwardCommand( TQWidget *tqparent, const KURL &url,
KMMessage *msg );
private:
@@ -207,9 +211,10 @@ private:
class KDE_EXPORT KMMailtoAddAddrBookCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailtoAddAddrBookCommand( const KURL &url, TQWidget *parent );
+ KMMailtoAddAddrBookCommand( const KURL &url, TQWidget *tqparent );
private:
virtual Result execute();
@@ -220,9 +225,10 @@ private:
class KDE_EXPORT KMAddBookmarksCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMAddBookmarksCommand( const KURL &url, TQWidget *parent );
+ KMAddBookmarksCommand( const KURL &url, TQWidget *tqparent );
private:
virtual Result execute();
@@ -234,9 +240,10 @@ private:
class KDE_EXPORT KMMailtoOpenAddrBookCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailtoOpenAddrBookCommand( const KURL &url, TQWidget *parent );
+ KMMailtoOpenAddrBookCommand( const KURL &url, TQWidget *tqparent );
private:
virtual Result execute();
@@ -247,6 +254,7 @@ private:
class KDE_EXPORT KMUrlCopyCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMUrlCopyCommand( const KURL &url, KMMainWidget *mainWidget = 0 );
@@ -261,6 +269,7 @@ private:
class KDE_EXPORT KMUrlOpenCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMUrlOpenCommand( const KURL &url, KMReaderWin *readerWin );
@@ -275,9 +284,10 @@ private:
class KDE_EXPORT KMUrlSaveCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMUrlSaveCommand( const KURL &url, TQWidget *parent );
+ KMUrlSaveCommand( const KURL &url, TQWidget *tqparent );
private slots:
void slotUrlSaveResult( KIO::Job *job );
@@ -291,9 +301,10 @@ private:
class KDE_EXPORT KMEditMsgCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMEditMsgCommand( TQWidget *parent, KMMessage *msg );
+ KMEditMsgCommand( TQWidget *tqparent, KMMessage *msg );
private:
virtual Result execute();
@@ -302,9 +313,10 @@ private:
class KDE_EXPORT KMUseTemplateCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMUseTemplateCommand( TQWidget *parent, KMMessage *msg );
+ KMUseTemplateCommand( TQWidget *tqparent, KMMessage *msg );
private:
virtual Result execute();
@@ -313,9 +325,10 @@ private:
class KDE_EXPORT KMShowMsgSrcCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMShowMsgSrcCommand( TQWidget *parent, KMMessage *msg,
+ KMShowMsgSrcCommand( TQWidget *tqparent, KMMessage *msg,
bool fixedFont );
virtual Result execute();
@@ -327,10 +340,11 @@ private:
class KDE_EXPORT KMSaveMsgCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMSaveMsgCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList );
- KMSaveMsgCommand( TQWidget *parent, KMMessage * msg );
+ KMSaveMsgCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList );
+ KMSaveMsgCommand( TQWidget *tqparent, KMMessage * msg );
KURL url();
private:
@@ -358,9 +372,10 @@ private:
class KDE_EXPORT KMOpenMsgCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMOpenMsgCommand( TQWidget *parent, const KURL & url = KURL(),
+ KMOpenMsgCommand( TQWidget *tqparent, const KURL & url = KURL(),
const TQString & encoding = TQString() );
private:
@@ -381,26 +396,27 @@ private:
class KDE_EXPORT KMSaveAttachmentsCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
/** Use this to save all attachments of the given message.
- @param parent The parent widget of the command used for message boxes.
+ @param tqparent The tqparent widget of the command used for message boxes.
@param msg The message of which the attachments should be saved.
*/
- KMSaveAttachmentsCommand( TQWidget *parent, KMMessage *msg );
+ KMSaveAttachmentsCommand( TQWidget *tqparent, 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 tqparent The tqparent widget of the command used for message boxes.
@param msgs The messages of which the attachments should be saved.
*/
- KMSaveAttachmentsCommand( TQWidget *parent, const TQPtrList<KMMsgBase>& msgs );
+ KMSaveAttachmentsCommand( TQWidget *tqparent, 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
+ @param tqparent The tqparent widget of the command used for message
boxes.
@param attachments The attachments that should be saved.
@param msg The message that the attachments belong to.
@param encoded True if the transport encoding should not be removed
when the attachment is saved.
*/
- KMSaveAttachmentsCommand( TQWidget *parent, TQPtrList<partNode> &attachments,
+ KMSaveAttachmentsCommand( TQWidget *tqparent, TQPtrList<partNode> &attachments,
KMMessage *msg, bool encoded = false );
private slots:
@@ -419,10 +435,11 @@ private:
class KDE_EXPORT KMReplyToCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMReplyToCommand( TQWidget *parent, KMMessage *msg,
- const TQString &selection = TQString::null );
+ KMReplyToCommand( TQWidget *tqparent, KMMessage *msg,
+ const TQString &selection = TQString() );
private:
virtual Result execute();
@@ -434,9 +451,10 @@ private:
class KDE_EXPORT KMNoQuoteReplyToCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMNoQuoteReplyToCommand( TQWidget *parent, KMMessage *msg );
+ KMNoQuoteReplyToCommand( TQWidget *tqparent, KMMessage *msg );
private:
virtual Result execute();
@@ -445,10 +463,11 @@ private:
class KMReplyListCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMReplyListCommand( TQWidget *parent, KMMessage *msg,
- const TQString &selection = TQString::null );
+ KMReplyListCommand( TQWidget *tqparent, KMMessage *msg,
+ const TQString &selection = TQString() );
private:
virtual Result execute();
@@ -460,10 +479,11 @@ private:
class KDE_EXPORT KMReplyToAllCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMReplyToAllCommand( TQWidget *parent, KMMessage *msg,
- const TQString &selection = TQString::null );
+ KMReplyToAllCommand( TQWidget *tqparent, KMMessage *msg,
+ const TQString &selection = TQString() );
private:
virtual Result execute();
@@ -475,10 +495,11 @@ private:
class KDE_EXPORT KMReplyAuthorCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMReplyAuthorCommand( TQWidget *parent, KMMessage *msg,
- const TQString &selection = TQString::null );
+ KMReplyAuthorCommand( TQWidget *tqparent, KMMessage *msg,
+ const TQString &selection = TQString() );
private:
virtual Result execute();
@@ -490,11 +511,12 @@ private:
class KDE_EXPORT KMForwardInlineCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMForwardInlineCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
+ KMForwardInlineCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0 );
- KMForwardInlineCommand( TQWidget *parent, KMMessage * msg,
+ KMForwardInlineCommand( TQWidget *tqparent, KMMessage * msg,
uint identity = 0 );
private:
@@ -507,11 +529,12 @@ private:
class KDE_EXPORT KMForwardAttachedCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMForwardAttachedCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
+ KMForwardAttachedCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0, KMail::Composer *win = 0 );
- KMForwardAttachedCommand( TQWidget *parent, KMMessage * msg,
+ KMForwardAttachedCommand( TQWidget *tqparent, KMMessage * msg,
uint identity = 0, KMail::Composer *win = 0 );
private:
@@ -524,11 +547,12 @@ private:
class KDE_EXPORT KMForwardDigestCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMForwardDigestCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
+ KMForwardDigestCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0, KMail::Composer *win = 0 );
- KMForwardDigestCommand( TQWidget *parent, KMMessage * msg,
+ KMForwardDigestCommand( TQWidget *tqparent, KMMessage * msg,
uint identity = 0, KMail::Composer *win = 0 );
private:
@@ -541,9 +565,10 @@ private:
class KDE_EXPORT KMRedirectCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMRedirectCommand( TQWidget *parent, KMMessage *msg );
+ KMRedirectCommand( TQWidget *tqparent, KMMessage *msg );
private:
virtual Result execute();
@@ -552,9 +577,10 @@ private:
class KDE_EXPORT KMCustomReplyToCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMCustomReplyToCommand( TQWidget *parent, KMMessage *msg,
+ KMCustomReplyToCommand( TQWidget *tqparent, KMMessage *msg,
const TQString &selection,
const TQString &tmpl );
@@ -569,9 +595,10 @@ private:
class KDE_EXPORT KMCustomReplyAllToCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMCustomReplyAllToCommand( TQWidget *parent, KMMessage *msg,
+ KMCustomReplyAllToCommand( TQWidget *tqparent, KMMessage *msg,
const TQString &selection,
const TQString &tmpl );
@@ -586,11 +613,12 @@ private:
class KDE_EXPORT KMCustomForwardCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMCustomForwardCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
+ KMCustomForwardCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
uint identity, const TQString &tmpl );
- KMCustomForwardCommand( TQWidget *parent, KMMessage * msg,
+ KMCustomForwardCommand( TQWidget *tqparent, KMMessage * msg,
uint identity, const TQString &tmpl );
private:
@@ -603,9 +631,10 @@ private:
class KDE_EXPORT KMPrintCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMPrintCommand( TQWidget *parent, KMMessage *msg,
+ KMPrintCommand( TQWidget *tqparent, KMMessage *msg,
const KMail::HeaderStyle *headerStyle = 0,
const KMail::HeaderStrategy *headerStrategy = 0,
bool htmlOverride = false,
@@ -630,16 +659,17 @@ private:
class KDE_EXPORT KMSeStatusCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
// Serial numbers
- KMSeStatusCommand( KMMsgStatus status, const TQValueList<TQ_UINT32> &,
+ KMSeStatusCommand( KMMsgtqStatus status, const TQValueList<TQ_UINT32> &,
bool toggle=false );
private:
virtual Result execute();
- KMMsgStatus mStatus;
+ KMMsgtqStatus mtqStatus;
TQValueList<TQ_UINT32> mSerNums;
TQValueList<int> mIds;
bool mToggle;
@@ -648,6 +678,7 @@ private:
class KDE_EXPORT KMFilterCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMFilterCommand( const TQCString &field, const TQString &value );
@@ -663,9 +694,10 @@ private:
class KDE_EXPORT KMFilterActionCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMFilterActionCommand( TQWidget *parent,
+ KMFilterActionCommand( TQWidget *tqparent,
const TQPtrList<KMMsgBase> &msgList,
KMFilter *filter );
@@ -676,9 +708,10 @@ private:
};
-class KDE_EXPORT KMMetaFilterActionCommand : public QObject
+class KDE_EXPORT KMMetaFilterActionCommand : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
KMMetaFilterActionCommand( KMFilter *filter, KMHeaders *headers,
@@ -693,9 +726,10 @@ private:
KMMainWidget *mMainWidget;
};
-class KDE_EXPORT FolderShortcutCommand : public QObject
+class KDE_EXPORT FolderShortcutCommand : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
FolderShortcutCommand( KMMainWidget* mainwidget, KMFolder *folder );
@@ -718,9 +752,10 @@ private:
class KDE_EXPORT KMMailingListFilterCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailingListFilterCommand( TQWidget *parent, KMMessage *msg );
+ KMMailingListFilterCommand( TQWidget *tqparent, KMMessage *msg );
private:
virtual Result execute();
@@ -737,6 +772,7 @@ private:
class KDE_EXPORT KMMenuCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
static void folderToPopupMenu(bool move, TQObject *receiver,
@@ -749,6 +785,7 @@ public:
class KDE_EXPORT KMCopyCommand : public KMMenuCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMCopyCommand( KMFolder* destFolder,
@@ -774,6 +811,7 @@ namespace KPIM {
class KDE_EXPORT KMMoveCommand : public KMMenuCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMMoveCommand( KMFolder* destFolder, const TQPtrList<KMMsgBase> &msgList );
@@ -809,6 +847,7 @@ private:
class KDE_EXPORT KMDeleteMsgCommand : public KMMoveCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMDeleteMsgCommand( KMFolder* srcFolder, const TQPtrList<KMMsgBase> &msgList );
@@ -823,6 +862,7 @@ private:
class KDE_EXPORT KMUrlClickedCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMUrlClickedCommand( const KURL &url, uint identity,
@@ -841,6 +881,7 @@ private:
class KDE_EXPORT KMLoadPartsCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMLoadPartsCommand( TQPtrList<partNode>& parts, KMMessage* msg );
@@ -866,9 +907,10 @@ private:
class KDE_EXPORT KMResendMessageCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMResendMessageCommand( TQWidget *parent, KMMessage *msg=0 );
+ KMResendMessageCommand( TQWidget *tqparent, KMMessage *msg=0 );
private:
virtual Result execute();
@@ -877,8 +919,9 @@ private:
class KDE_EXPORT KMMailingListCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailingListCommand( TQWidget *parent, KMFolder *folder );
+ KMMailingListCommand( TQWidget *tqparent, KMFolder *folder );
private:
virtual Result execute();
private slots:
@@ -892,8 +935,9 @@ protected:
class KDE_EXPORT KMMailingListPostCommand : public KMMailingListCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailingListPostCommand( TQWidget *parent, KMFolder *folder );
+ KMMailingListPostCommand( TQWidget *tqparent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -901,8 +945,9 @@ protected:
class KDE_EXPORT KMMailingListSubscribeCommand : public KMMailingListCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailingListSubscribeCommand( TQWidget *parent, KMFolder *folder );
+ KMMailingListSubscribeCommand( TQWidget *tqparent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -910,8 +955,9 @@ protected:
class KDE_EXPORT KMMailingListUnsubscribeCommand : public KMMailingListCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailingListUnsubscribeCommand( TQWidget *parent, KMFolder *folder );
+ KMMailingListUnsubscribeCommand( TQWidget *tqparent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -919,8 +965,9 @@ protected:
class KDE_EXPORT KMMailingListArchivesCommand : public KMMailingListCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailingListArchivesCommand( TQWidget *parent, KMFolder *folder );
+ KMMailingListArchivesCommand( TQWidget *tqparent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -928,8 +975,9 @@ protected:
class KDE_EXPORT KMMailingListHelpCommand : public KMMailingListCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMMailingListHelpCommand( TQWidget *parent, KMFolder *folder );
+ KMMailingListHelpCommand( TQWidget *tqparent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -937,6 +985,7 @@ protected:
class KDE_EXPORT KMIMChatCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
KMIMChatCommand( const KURL &url, KMMessage *msg=0 );
@@ -957,6 +1006,7 @@ private:
class KDE_EXPORT KMHandleAttachmentCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
/** Supported types of attachment handling */
@@ -979,7 +1029,7 @@ public:
* @param offer specify a KService that should handle the "open" action, 0 otherwise
*/
KMHandleAttachmentCommand( partNode* node, KMMessage* msg, int atmId,
- const TQString& atmName, AttachmentAction action, KService::Ptr offer, TQWidget* parent );
+ const TQString& atmName, AttachmentAction action, KService::Ptr offer, TQWidget* tqparent );
signals:
@@ -1043,9 +1093,10 @@ private:
class KDE_EXPORT AttachmentModifyCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- AttachmentModifyCommand( partNode *node, KMMessage *msg, TQWidget *parent );
- AttachmentModifyCommand( int nodeId, KMMessage *msg, TQWidget *parent );
+ AttachmentModifyCommand( partNode *node, KMMessage *msg, TQWidget *tqparent );
+ AttachmentModifyCommand( int nodeId, KMMessage *msg, TQWidget *tqparent );
~AttachmentModifyCommand();
protected:
@@ -1070,9 +1121,10 @@ class KDE_EXPORT AttachmentModifyCommand : public KMCommand
class KDE_EXPORT KMDeleteAttachmentCommand : public AttachmentModifyCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMDeleteAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *parent );
- KMDeleteAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *parent );
+ KMDeleteAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *tqparent );
+ KMDeleteAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *tqparent );
~KMDeleteAttachmentCommand();
protected:
@@ -1083,9 +1135,10 @@ class KDE_EXPORT KMDeleteAttachmentCommand : public AttachmentModifyCommand
class KDE_EXPORT KMEditAttachmentCommand : public AttachmentModifyCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- KMEditAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *parent );
- KMEditAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *parent );
+ KMEditAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *tqparent );
+ KMEditAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *tqparent );
~KMEditAttachmentCommand();
protected:
@@ -1101,8 +1154,9 @@ class KDE_EXPORT KMEditAttachmentCommand : public AttachmentModifyCommand
class KDE_EXPORT CreateTodoCommand : public KMCommand
{
Q_OBJECT
+ TQ_OBJECT
public:
- CreateTodoCommand( TQWidget *parent, KMMessage *msg );
+ CreateTodoCommand( TQWidget *tqparent, KMMessage *msg );
private:
Result execute();