summaryrefslogtreecommitdiffstats
path: root/kmenuedit/kmenuedit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kmenuedit/kmenuedit.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmenuedit/kmenuedit.cpp')
-rw-r--r--kmenuedit/kmenuedit.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kmenuedit/kmenuedit.cpp b/kmenuedit/kmenuedit.cpp
index ba8d6fc08..9474d85eb 100644
--- a/kmenuedit/kmenuedit.cpp
+++ b/kmenuedit/kmenuedit.cpp
@@ -18,7 +18,7 @@
*
*/
-#include <qsplitter.h>
+#include <tqsplitter.h>
#include <kaction.h>
#include <kapplication.h>
@@ -37,7 +37,7 @@
#include "kmenuedit.h"
#include "kmenuedit.moc"
-KMenuEdit::KMenuEdit (bool controlCenter, QWidget *, const char *name)
+KMenuEdit::KMenuEdit (bool controlCenter, TQWidget *, const char *name)
: KMainWindow (0, name), m_tree(0), m_basicTab(0), m_splitter(0), m_controlCenter(controlCenter)
{
#if 0
@@ -69,8 +69,8 @@ void KMenuEdit::setupActions()
m_actionDelete = 0;
- KStdAction::save(this, SLOT( slotSave() ), actionCollection());
- KStdAction::quit(this, SLOT( close() ), actionCollection());
+ KStdAction::save(this, TQT_SLOT( slotSave() ), actionCollection());
+ KStdAction::quit(this, TQT_SLOT( close() ), actionCollection());
KStdAction::cut(0, 0, actionCollection());
KStdAction::copy(0, 0, actionCollection());
KStdAction::paste(0, 0, actionCollection());
@@ -78,29 +78,29 @@ void KMenuEdit::setupActions()
void KMenuEdit::setupView()
{
- m_splitter = new QSplitter(Horizontal, this);
+ m_splitter = new TQSplitter(Horizontal, this);
m_tree = new TreeView(m_controlCenter, actionCollection(), m_splitter);
m_basicTab = new BasicTab(m_splitter);
- connect(m_tree, SIGNAL(entrySelected(MenuFolderInfo *)),
- m_basicTab, SLOT(setFolderInfo(MenuFolderInfo *)));
- connect(m_tree, SIGNAL(entrySelected(MenuEntryInfo *)),
- m_basicTab, SLOT(setEntryInfo(MenuEntryInfo *)));
- connect(m_tree, SIGNAL(disableAction()),
- m_basicTab, SLOT(slotDisableAction() ) );
+ connect(m_tree, TQT_SIGNAL(entrySelected(MenuFolderInfo *)),
+ m_basicTab, TQT_SLOT(setFolderInfo(MenuFolderInfo *)));
+ connect(m_tree, TQT_SIGNAL(entrySelected(MenuEntryInfo *)),
+ m_basicTab, TQT_SLOT(setEntryInfo(MenuEntryInfo *)));
+ connect(m_tree, TQT_SIGNAL(disableAction()),
+ m_basicTab, TQT_SLOT(slotDisableAction() ) );
- connect(m_basicTab, SIGNAL(changed(MenuFolderInfo *)),
- m_tree, SLOT(currentChanged(MenuFolderInfo *)));
+ connect(m_basicTab, TQT_SIGNAL(changed(MenuFolderInfo *)),
+ m_tree, TQT_SLOT(currentChanged(MenuFolderInfo *)));
- connect(m_basicTab, SIGNAL(changed(MenuEntryInfo *)),
- m_tree, SLOT(currentChanged(MenuEntryInfo *)));
+ connect(m_basicTab, TQT_SIGNAL(changed(MenuEntryInfo *)),
+ m_tree, TQT_SLOT(currentChanged(MenuEntryInfo *)));
- connect(m_basicTab, SIGNAL(findServiceShortcut(const KShortcut&, KService::Ptr &)),
- m_tree, SLOT(findServiceShortcut(const KShortcut&, KService::Ptr &)));
+ connect(m_basicTab, TQT_SIGNAL(findServiceShortcut(const KShortcut&, KService::Ptr &)),
+ m_tree, TQT_SLOT(findServiceShortcut(const KShortcut&, KService::Ptr &)));
// restore splitter sizes
KConfig* config = KGlobal::config();
- QValueList<int> sizes = config->readIntListEntry("SplitterSizes");
+ TQValueList<int> sizes = config->readIntListEntry("SplitterSizes");
if (sizes.isEmpty())
sizes << 1 << 3;