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 /libtdepim/komposer/core | |
parent | b440a9c608596cd88efdb3bfa4661c5e37efbe4b (diff) | |
download | tdepim-fd5d099065a748cac49e20a13481f85666c53c71.tar.gz tdepim-fd5d099065a748cac49e20a13481f85666c53c71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'libtdepim/komposer/core')
-rw-r--r-- | libtdepim/komposer/core/core.cpp | 18 | ||||
-rw-r--r-- | libtdepim/komposer/core/core.h | 2 |
2 files changed, 10 insertions, 10 deletions
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 |