diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:36 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:14:36 -0600 |
commit | 7716a5e605907a009e19f429cec4e6b5f346bd71 (patch) | |
tree | 16cf4a5d7a24db774f988022d514adefc75015c0 /kompare/kompare_shell.cpp | |
parent | 0117fbed932653a04aeef16b2ed7edee858959ac (diff) | |
download | tdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.tar.gz tdesdk-7716a5e605907a009e19f429cec4e6b5f346bd71.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kompare/kompare_shell.cpp')
-rw-r--r-- | kompare/kompare_shell.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kompare/kompare_shell.cpp b/kompare/kompare_shell.cpp index dd4fda2a..6ec2a171 100644 --- a/kompare/kompare_shell.cpp +++ b/kompare/kompare_shell.cpp @@ -228,12 +228,12 @@ void KompareShell::blend( const KURL& url1, const KURL& diff ) void KompareShell::setupActions() { - KAction* open = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(slotFileOpen()), actionCollection()); + TDEAction* open = KStdAction::open(TQT_TQOBJECT(this), TQT_SLOT(slotFileOpen()), actionCollection()); open->setText( i18n( "&Open Diff..." ) ); - new KAction( i18n("&Compare Files..."), "fileopen", TQt::CTRL + TQt::Key_C, + new TDEAction( i18n("&Compare Files..."), "fileopen", TQt::CTRL + TQt::Key_C, TQT_TQOBJECT(this), TQT_SLOT(slotFileCompareFiles()), actionCollection(), "file_compare_files" ); - new KAction( i18n("&Blend URL with Diff..."), "fileblend", TQt::CTRL + TQt::Key_B, + new TDEAction( i18n("&Blend URL with Diff..."), "fileblend", TQt::CTRL + TQt::Key_B, TQT_TQOBJECT(this), TQT_SLOT(slotFileBlendURLAndDiff()), actionCollection(), "file_blend_url" ); KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT( slotFileClose() ), actionCollection() ); @@ -242,7 +242,7 @@ void KompareShell::setupActions() createStandardStatusBarAction(); #endif setStandardToolBarMenuEnabled(true); - m_showTextView = new KToggleAction( i18n("Show T&ext View"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowTextView()), + m_showTextView = new TDEToggleAction( i18n("Show T&ext View"), 0, TQT_TQOBJECT(this), TQT_SLOT(slotShowTextView()), actionCollection(), "options_show_text_view" ); m_showTextView->setCheckedState(i18n("Hide T&ext View")); |