summaryrefslogtreecommitdiffstats
path: root/kmail/kmcommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmcommands.h')
-rw-r--r--kmail/kmcommands.h114
1 files changed, 57 insertions, 57 deletions
diff --git a/kmail/kmcommands.h b/kmail/kmcommands.h
index 8ebe68b15..4bc86ec05 100644
--- a/kmail/kmcommands.h
+++ b/kmail/kmcommands.h
@@ -58,13 +58,13 @@ public:
enum Result { Undefined, OK, Canceled, Failed };
// Trival constructor, don't retrieve any messages
- KMCommand( TQWidget *tqparent = 0 );
+ KMCommand( TQWidget *parent = 0 );
// Retrieve all messages in msgList when start is called.
- KMCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList );
+ KMCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList );
// Retrieve the single message msgBase when start is called.
- KMCommand( TQWidget *tqparent, KMMsgBase *msgBase );
+ KMCommand( TQWidget *parent, KMMsgBase *msgBase );
// Retrieve the single message msgBase when start is called.
- KMCommand( TQWidget *tqparent, KMMessage *message );
+ KMCommand( TQWidget *parent, KMMessage *message );
virtual ~KMCommand();
/** These folders will be closed by the dtor, handy, if you need to keep
@@ -98,7 +98,7 @@ protected:
const TQPtrList<KMMessage> retrievedMsgs() const;
// Returns the single message retrieved
KMMessage *retrievedMessage() const;
- // Returns the tqparent widget
+ // Returns the parent widget
TQWidget *parentWidget() const;
bool deletesItself() { return mDeletesItself; }
@@ -183,7 +183,7 @@ class KDE_EXPORT KMMailtoReplyCommand : public KMCommand
TQ_OBJECT
public:
- KMMailtoReplyCommand( TQWidget *tqparent, const KURL &url,
+ KMMailtoReplyCommand( TQWidget *parent, const KURL &url,
KMMessage *msg, const TQString &selection );
private:
@@ -199,7 +199,7 @@ class KDE_EXPORT KMMailtoForwardCommand : public KMCommand
TQ_OBJECT
public:
- KMMailtoForwardCommand( TQWidget *tqparent, const KURL &url,
+ KMMailtoForwardCommand( TQWidget *parent, const KURL &url,
KMMessage *msg );
private:
@@ -214,7 +214,7 @@ class KDE_EXPORT KMMailtoAddAddrBookCommand : public KMCommand
TQ_OBJECT
public:
- KMMailtoAddAddrBookCommand( const KURL &url, TQWidget *tqparent );
+ KMMailtoAddAddrBookCommand( const KURL &url, TQWidget *parent );
private:
virtual Result execute();
@@ -228,7 +228,7 @@ class KDE_EXPORT KMAddBookmarksCommand : public KMCommand
TQ_OBJECT
public:
- KMAddBookmarksCommand( const KURL &url, TQWidget *tqparent );
+ KMAddBookmarksCommand( const KURL &url, TQWidget *parent );
private:
virtual Result execute();
@@ -243,7 +243,7 @@ class KDE_EXPORT KMMailtoOpenAddrBookCommand : public KMCommand
TQ_OBJECT
public:
- KMMailtoOpenAddrBookCommand( const KURL &url, TQWidget *tqparent );
+ KMMailtoOpenAddrBookCommand( const KURL &url, TQWidget *parent );
private:
virtual Result execute();
@@ -287,7 +287,7 @@ class KDE_EXPORT KMUrlSaveCommand : public KMCommand
TQ_OBJECT
public:
- KMUrlSaveCommand( const KURL &url, TQWidget *tqparent );
+ KMUrlSaveCommand( const KURL &url, TQWidget *parent );
private slots:
void slotUrlSaveResult( KIO::Job *job );
@@ -304,7 +304,7 @@ class KDE_EXPORT KMEditMsgCommand : public KMCommand
TQ_OBJECT
public:
- KMEditMsgCommand( TQWidget *tqparent, KMMessage *msg );
+ KMEditMsgCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -316,7 +316,7 @@ class KDE_EXPORT KMUseTemplateCommand : public KMCommand
TQ_OBJECT
public:
- KMUseTemplateCommand( TQWidget *tqparent, KMMessage *msg );
+ KMUseTemplateCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -328,7 +328,7 @@ class KDE_EXPORT KMShowMsgSrcCommand : public KMCommand
TQ_OBJECT
public:
- KMShowMsgSrcCommand( TQWidget *tqparent, KMMessage *msg,
+ KMShowMsgSrcCommand( TQWidget *parent, KMMessage *msg,
bool fixedFont );
virtual Result execute();
@@ -343,8 +343,8 @@ class KDE_EXPORT KMSaveMsgCommand : public KMCommand
TQ_OBJECT
public:
- KMSaveMsgCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList );
- KMSaveMsgCommand( TQWidget *tqparent, KMMessage * msg );
+ KMSaveMsgCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList );
+ KMSaveMsgCommand( TQWidget *parent, KMMessage * msg );
KURL url();
private:
@@ -375,7 +375,7 @@ class KDE_EXPORT KMOpenMsgCommand : public KMCommand
TQ_OBJECT
public:
- KMOpenMsgCommand( TQWidget *tqparent, const KURL & url = KURL(),
+ KMOpenMsgCommand( TQWidget *parent, const KURL & url = KURL(),
const TQString & encoding = TQString() );
private:
@@ -399,24 +399,24 @@ class KDE_EXPORT KMSaveAttachmentsCommand : public KMCommand
TQ_OBJECT
public:
/** Use this to save all attachments of the given message.
- @param tqparent The tqparent widget of the command used for message boxes.
+ @param parent The parent widget of the command used for message boxes.
@param msg The message of which the attachments should be saved.
*/
- KMSaveAttachmentsCommand( TQWidget *tqparent, KMMessage *msg );
+ KMSaveAttachmentsCommand( TQWidget *parent, KMMessage *msg );
/** Use this to save all attachments of the given messages.
- @param tqparent The tqparent widget of the command used for message boxes.
+ @param parent The parent widget of the command used for message boxes.
@param msgs The messages of which the attachments should be saved.
*/
- KMSaveAttachmentsCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase>& msgs );
+ KMSaveAttachmentsCommand( TQWidget *parent, const TQPtrList<KMMsgBase>& msgs );
/** Use this to save the specified attachments of the given message.
- @param tqparent The tqparent widget of the command used for message
+ @param parent The parent 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 *tqparent, TQPtrList<partNode> &attachments,
+ KMSaveAttachmentsCommand( TQWidget *parent, TQPtrList<partNode> &attachments,
KMMessage *msg, bool encoded = false );
private slots:
@@ -438,7 +438,7 @@ class KDE_EXPORT KMReplyToCommand : public KMCommand
TQ_OBJECT
public:
- KMReplyToCommand( TQWidget *tqparent, KMMessage *msg,
+ KMReplyToCommand( TQWidget *parent, KMMessage *msg,
const TQString &selection = TQString() );
private:
@@ -454,7 +454,7 @@ class KDE_EXPORT KMNoQuoteReplyToCommand : public KMCommand
TQ_OBJECT
public:
- KMNoQuoteReplyToCommand( TQWidget *tqparent, KMMessage *msg );
+ KMNoQuoteReplyToCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -466,7 +466,7 @@ class KMReplyListCommand : public KMCommand
TQ_OBJECT
public:
- KMReplyListCommand( TQWidget *tqparent, KMMessage *msg,
+ KMReplyListCommand( TQWidget *parent, KMMessage *msg,
const TQString &selection = TQString() );
private:
@@ -482,7 +482,7 @@ class KDE_EXPORT KMReplyToAllCommand : public KMCommand
TQ_OBJECT
public:
- KMReplyToAllCommand( TQWidget *tqparent, KMMessage *msg,
+ KMReplyToAllCommand( TQWidget *parent, KMMessage *msg,
const TQString &selection = TQString() );
private:
@@ -498,7 +498,7 @@ class KDE_EXPORT KMReplyAuthorCommand : public KMCommand
TQ_OBJECT
public:
- KMReplyAuthorCommand( TQWidget *tqparent, KMMessage *msg,
+ KMReplyAuthorCommand( TQWidget *parent, KMMessage *msg,
const TQString &selection = TQString() );
private:
@@ -514,9 +514,9 @@ class KDE_EXPORT KMForwardInlineCommand : public KMCommand
TQ_OBJECT
public:
- KMForwardInlineCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
+ KMForwardInlineCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0 );
- KMForwardInlineCommand( TQWidget *tqparent, KMMessage * msg,
+ KMForwardInlineCommand( TQWidget *parent, KMMessage * msg,
uint identity = 0 );
private:
@@ -532,9 +532,9 @@ class KDE_EXPORT KMForwardAttachedCommand : public KMCommand
TQ_OBJECT
public:
- KMForwardAttachedCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
+ KMForwardAttachedCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0, KMail::Composer *win = 0 );
- KMForwardAttachedCommand( TQWidget *tqparent, KMMessage * msg,
+ KMForwardAttachedCommand( TQWidget *parent, KMMessage * msg,
uint identity = 0, KMail::Composer *win = 0 );
private:
@@ -550,9 +550,9 @@ class KDE_EXPORT KMForwardDigestCommand : public KMCommand
TQ_OBJECT
public:
- KMForwardDigestCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
+ KMForwardDigestCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
uint identity = 0, KMail::Composer *win = 0 );
- KMForwardDigestCommand( TQWidget *tqparent, KMMessage * msg,
+ KMForwardDigestCommand( TQWidget *parent, KMMessage * msg,
uint identity = 0, KMail::Composer *win = 0 );
private:
@@ -568,7 +568,7 @@ class KDE_EXPORT KMRedirectCommand : public KMCommand
TQ_OBJECT
public:
- KMRedirectCommand( TQWidget *tqparent, KMMessage *msg );
+ KMRedirectCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -580,7 +580,7 @@ class KDE_EXPORT KMCustomReplyToCommand : public KMCommand
TQ_OBJECT
public:
- KMCustomReplyToCommand( TQWidget *tqparent, KMMessage *msg,
+ KMCustomReplyToCommand( TQWidget *parent, KMMessage *msg,
const TQString &selection,
const TQString &tmpl );
@@ -598,7 +598,7 @@ class KDE_EXPORT KMCustomReplyAllToCommand : public KMCommand
TQ_OBJECT
public:
- KMCustomReplyAllToCommand( TQWidget *tqparent, KMMessage *msg,
+ KMCustomReplyAllToCommand( TQWidget *parent, KMMessage *msg,
const TQString &selection,
const TQString &tmpl );
@@ -616,9 +616,9 @@ class KDE_EXPORT KMCustomForwardCommand : public KMCommand
TQ_OBJECT
public:
- KMCustomForwardCommand( TQWidget *tqparent, const TQPtrList<KMMsgBase> &msgList,
+ KMCustomForwardCommand( TQWidget *parent, const TQPtrList<KMMsgBase> &msgList,
uint identity, const TQString &tmpl );
- KMCustomForwardCommand( TQWidget *tqparent, KMMessage * msg,
+ KMCustomForwardCommand( TQWidget *parent, KMMessage * msg,
uint identity, const TQString &tmpl );
private:
@@ -634,7 +634,7 @@ class KDE_EXPORT KMPrintCommand : public KMCommand
TQ_OBJECT
public:
- KMPrintCommand( TQWidget *tqparent, KMMessage *msg,
+ KMPrintCommand( TQWidget *parent, KMMessage *msg,
const KMail::HeaderStyle *headerStyle = 0,
const KMail::HeaderStrategy *headerStrategy = 0,
bool htmlOverride = false,
@@ -697,7 +697,7 @@ class KDE_EXPORT KMFilterActionCommand : public KMCommand
TQ_OBJECT
public:
- KMFilterActionCommand( TQWidget *tqparent,
+ KMFilterActionCommand( TQWidget *parent,
const TQPtrList<KMMsgBase> &msgList,
KMFilter *filter );
@@ -755,7 +755,7 @@ class KDE_EXPORT KMMailingListFilterCommand : public KMCommand
TQ_OBJECT
public:
- KMMailingListFilterCommand( TQWidget *tqparent, KMMessage *msg );
+ KMMailingListFilterCommand( TQWidget *parent, KMMessage *msg );
private:
virtual Result execute();
@@ -910,7 +910,7 @@ class KDE_EXPORT KMResendMessageCommand : public KMCommand
TQ_OBJECT
public:
- KMResendMessageCommand( TQWidget *tqparent, KMMessage *msg=0 );
+ KMResendMessageCommand( TQWidget *parent, KMMessage *msg=0 );
private:
virtual Result execute();
@@ -921,7 +921,7 @@ class KDE_EXPORT KMMailingListCommand : public KMCommand
Q_OBJECT
TQ_OBJECT
public:
- KMMailingListCommand( TQWidget *tqparent, KMFolder *folder );
+ KMMailingListCommand( TQWidget *parent, KMFolder *folder );
private:
virtual Result execute();
private slots:
@@ -937,7 +937,7 @@ class KDE_EXPORT KMMailingListPostCommand : public KMMailingListCommand
Q_OBJECT
TQ_OBJECT
public:
- KMMailingListPostCommand( TQWidget *tqparent, KMFolder *folder );
+ KMMailingListPostCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -947,7 +947,7 @@ class KDE_EXPORT KMMailingListSubscribeCommand : public KMMailingListCommand
Q_OBJECT
TQ_OBJECT
public:
- KMMailingListSubscribeCommand( TQWidget *tqparent, KMFolder *folder );
+ KMMailingListSubscribeCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -957,7 +957,7 @@ class KDE_EXPORT KMMailingListUnsubscribeCommand : public KMMailingListCommand
Q_OBJECT
TQ_OBJECT
public:
- KMMailingListUnsubscribeCommand( TQWidget *tqparent, KMFolder *folder );
+ KMMailingListUnsubscribeCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -967,7 +967,7 @@ class KDE_EXPORT KMMailingListArchivesCommand : public KMMailingListCommand
Q_OBJECT
TQ_OBJECT
public:
- KMMailingListArchivesCommand( TQWidget *tqparent, KMFolder *folder );
+ KMMailingListArchivesCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -977,7 +977,7 @@ class KDE_EXPORT KMMailingListHelpCommand : public KMMailingListCommand
Q_OBJECT
TQ_OBJECT
public:
- KMMailingListHelpCommand( TQWidget *tqparent, KMFolder *folder );
+ KMMailingListHelpCommand( TQWidget *parent, KMFolder *folder );
protected:
virtual KURL::List urls() const;
};
@@ -1029,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* tqparent );
+ const TQString& atmName, AttachmentAction action, KService::Ptr offer, TQWidget* parent );
signals:
@@ -1095,8 +1095,8 @@ class KDE_EXPORT AttachmentModifyCommand : public KMCommand
Q_OBJECT
TQ_OBJECT
public:
- AttachmentModifyCommand( partNode *node, KMMessage *msg, TQWidget *tqparent );
- AttachmentModifyCommand( int nodeId, KMMessage *msg, TQWidget *tqparent );
+ AttachmentModifyCommand( partNode *node, KMMessage *msg, TQWidget *parent );
+ AttachmentModifyCommand( int nodeId, KMMessage *msg, TQWidget *parent );
~AttachmentModifyCommand();
protected:
@@ -1123,8 +1123,8 @@ class KDE_EXPORT KMDeleteAttachmentCommand : public AttachmentModifyCommand
Q_OBJECT
TQ_OBJECT
public:
- KMDeleteAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *tqparent );
- KMDeleteAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *tqparent );
+ KMDeleteAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *parent );
+ KMDeleteAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *parent );
~KMDeleteAttachmentCommand();
protected:
@@ -1137,8 +1137,8 @@ class KDE_EXPORT KMEditAttachmentCommand : public AttachmentModifyCommand
Q_OBJECT
TQ_OBJECT
public:
- KMEditAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *tqparent );
- KMEditAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *tqparent );
+ KMEditAttachmentCommand( partNode *node, KMMessage *msg, TQWidget *parent );
+ KMEditAttachmentCommand( int nodeId, KMMessage *msg, TQWidget *parent );
~KMEditAttachmentCommand();
protected:
@@ -1156,7 +1156,7 @@ class KDE_EXPORT CreateTodoCommand : public KMCommand
Q_OBJECT
TQ_OBJECT
public:
- CreateTodoCommand( TQWidget *tqparent, KMMessage *msg );
+ CreateTodoCommand( TQWidget *parent, KMMessage *msg );
private:
Result execute();