diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:12 -0600 |
commit | fd5d099065a748cac49e20a13481f85666c53c71 (patch) | |
tree | a0f1672cd88eb0e69b9ddc2ed9b08ecd98538bd3 /kmail/kmreaderwin.h | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmail/kmreaderwin.h')
-rw-r--r-- | kmail/kmreaderwin.h | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/kmail/kmreaderwin.h b/kmail/kmreaderwin.h index 961994526..6251a4849 100644 --- a/kmail/kmreaderwin.h +++ b/kmail/kmreaderwin.h @@ -28,12 +28,12 @@ class TQTextCodec; class DwHeaders; class DwMediaType; -class KActionCollection; -class KAction; -class KActionMenu; -class KSelectAction; -class KRadioAction; -class KToggleAction; +class TDEActionCollection; +class TDEAction; +class TDEActionMenu; +class TDESelectAction; +class TDERadioAction; +class TDEToggleAction; class TDEConfigBase; class TDEHTMLPart; class KURL; @@ -88,7 +88,7 @@ class KMReaderWin: public TQWidget, public KMail::Interface::Observer { public: KMReaderWin( TQWidget *parent, TQWidget *mainWindow, - KActionCollection *actionCollection, + TDEActionCollection *actionCollection, const char *name=0, int f=0 ); virtual ~KMReaderWin(); @@ -244,19 +244,19 @@ public: // Action to reply to a message // but action( "some_name" ) some name could be used instead. - KToggleAction *toggleFixFontAction() { return mToggleFixFontAction; } - KAction *mailToComposeAction() { return mMailToComposeAction; } - KAction *mailToReplyAction() { return mMailToReplyAction; } - KAction *mailToForwardAction() { return mMailToForwardAction; } - KAction *addAddrBookAction() { return mAddAddrBookAction; } - KAction *openAddrBookAction() { return mOpenAddrBookAction; } - KAction *copyAction() { return mCopyAction; } - KAction *selectAllAction() { return mSelectAllAction; } - KAction *copyURLAction() { return mCopyURLAction; } - KAction *urlOpenAction() { return mUrlOpenAction; } - KAction *urlSaveAsAction() { return mUrlSaveAsAction; } - KAction *addBookmarksAction() { return mAddBookmarksAction;} - KAction *startImChatAction() { return mStartIMChatAction; } + TDEToggleAction *toggleFixFontAction() { return mToggleFixFontAction; } + TDEAction *mailToComposeAction() { return mMailToComposeAction; } + TDEAction *mailToReplyAction() { return mMailToReplyAction; } + TDEAction *mailToForwardAction() { return mMailToForwardAction; } + TDEAction *addAddrBookAction() { return mAddAddrBookAction; } + TDEAction *openAddrBookAction() { return mOpenAddrBookAction; } + TDEAction *copyAction() { return mCopyAction; } + TDEAction *selectAllAction() { return mSelectAllAction; } + TDEAction *copyURLAction() { return mCopyURLAction; } + TDEAction *urlOpenAction() { return mUrlOpenAction; } + TDEAction *urlSaveAsAction() { return mUrlSaveAsAction; } + TDEAction *addBookmarksAction() { return mAddBookmarksAction;} + TDEAction *startImChatAction() { return mStartIMChatAction; } // This function returns the complete data that were in this // message parts - *after* all encryption has been removed that // could be removed. @@ -528,12 +528,12 @@ private slots: private: void adjustLayout(); void createWidgets(); - void createActions( KActionCollection * ac ); + void createActions( TDEActionCollection * ac ); void saveSplitterSizes( TDEConfigBase & c ) const; - KRadioAction * actionForHeaderStyle( const KMail::HeaderStyle *, + TDERadioAction * actionForHeaderStyle( const KMail::HeaderStyle *, const KMail::HeaderStrategy * ); - KRadioAction * actionForAttachmentStrategy( const KMail::AttachmentStrategy * ); + TDERadioAction * actionForAttachmentStrategy( const KMail::AttachmentStrategy * ); /** Read override codec from configuration */ void readGlobalOverrideCodec(); @@ -585,13 +585,13 @@ private: partNode* mRootNode; TQString mIdOfLastViewedMessage; TQWidget *mMainWindow; - KActionCollection *mActionCollection; - KAction *mMailToComposeAction, *mMailToReplyAction, *mMailToForwardAction, + TDEActionCollection *mActionCollection; + TDEAction *mMailToComposeAction, *mMailToReplyAction, *mMailToForwardAction, *mAddAddrBookAction, *mOpenAddrBookAction, *mCopyAction, *mCopyURLAction, *mUrlOpenAction, *mUrlSaveAsAction, *mAddBookmarksAction, *mStartIMChatAction, *mSelectAllAction; - KToggleAction *mHeaderOnlyAttachmentsAction; - KSelectAction *mSelectEncodingAction; - KToggleAction *mToggleFixFontAction; + TDEToggleAction *mHeaderOnlyAttachmentsAction; + TDESelectAction *mSelectEncodingAction; + TDEToggleAction *mToggleFixFontAction; KURL mHoveredUrl; KURL mClickedUrl; |