From fd5d099065a748cac49e20a13481f85666c53c71 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:12 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- libtdepim/komposer/core/core.cpp | 18 +++++++++--------- libtdepim/komposer/core/core.h | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'libtdepim/komposer/core') diff --git a/libtdepim/komposer/core/core.cpp b/libtdepim/komposer/core/core.cpp index a2f5fd003..87da5c00e 100644 --- a/libtdepim/komposer/core/core.cpp +++ b/libtdepim/komposer/core/core.cpp @@ -55,7 +55,7 @@ using namespace Komposer; Core::Core( TQWidget *parent, const char *name ) : KomposerIface( "KomposerIface" ), - KMainWindow( parent, name ), m_currentEditor( 0 ) + TDEMainWindow( parent, name ), m_currentEditor( 0 ) { initWidgets(); initCore(); @@ -248,29 +248,29 @@ Core::createActions() { KStdAction::close( this, TQT_SLOT(slotClose()), actionCollection() ); - (void) new KAction( i18n( "&Send" ), "mail_send", CTRL+Key_Return, + (void) new TDEAction( i18n( "&Send" ), "mail_send", CTRL+Key_Return, this, TQT_SLOT(slotSendNow()), actionCollection(), "send_default" ); - (void) new KAction( i18n( "&Queue" ), "queue", 0, + (void) new TDEAction( i18n( "&Queue" ), "queue", 0, this, TQT_SLOT(slotSendLater()), actionCollection(), "send_alternative" ); - (void) new KAction( i18n( "Save in &Drafts Folder" ), "filesave", 0, + (void) new TDEAction( i18n( "Save in &Drafts Folder" ), "filesave", 0, this, TQT_SLOT(slotSaveDraft()), actionCollection(), "save_in_drafts" ); - (void) new KAction( i18n( "&Insert File..." ), "fileopen", 0, + (void) new TDEAction( i18n( "&Insert File..." ), "fileopen", 0, this, TQT_SLOT(slotInsertFile()), actionCollection(), "insert_file" ); - (void) new KAction( i18n( "&Address Book" ), "contents",0, + (void) new TDEAction( i18n( "&Address Book" ), "contents",0, this, TQT_SLOT(slotAddrBook()), actionCollection(), "addressbook" ); - (void) new KAction( i18n( "&New Composer" ), "mail_new", - KStdAccel::shortcut( KStdAccel::New ), + (void) new TDEAction( i18n( "&New Composer" ), "mail_new", + TDEStdAccel::shortcut( TDEStdAccel::New ), this, TQT_SLOT(slotNewComposer()), actionCollection(), "new_composer" ); - (void) new KAction( i18n( "&Attach File..." ), "attach", + (void) new TDEAction( i18n( "&Attach File..." ), "attach", 0, this, TQT_SLOT(slotAttachFile()), actionCollection(), "attach_file" ); } diff --git a/libtdepim/komposer/core/core.h b/libtdepim/komposer/core/core.h index 98fee42aa..5259710ae 100644 --- a/libtdepim/komposer/core/core.h +++ b/libtdepim/komposer/core/core.h @@ -42,7 +42,7 @@ namespace Komposer /** * This class provides the interface to the Komposer core for the editor. */ - class Core : public KMainWindow, virtual public KomposerIface + class Core : public TDEMainWindow, virtual public KomposerIface { Q_OBJECT -- cgit v1.2.1