summaryrefslogtreecommitdiffstats
path: root/kdesktop/krootwm.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:17:20 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:17:20 +0000
commita5edd20f0de599dbe7f7f00a184b78ac5156a846 (patch)
treeaf263e8b05d3a7ca4cadaae1e4c5b1f739d0a03b /kdesktop/krootwm.cc
parentc663b6440964f6ac48027143ac9e63298991f9d0 (diff)
downloadtdebase-a5edd20f0de599dbe7f7f00a184b78ac5156a846.tar.gz
tdebase-a5edd20f0de599dbe7f7f00a184b78ac5156a846.zip
TQt conversion fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1158418 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/krootwm.cc')
-rw-r--r--kdesktop/krootwm.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/kdesktop/krootwm.cc b/kdesktop/krootwm.cc
index 7e83f6779..58eb78a9f 100644
--- a/kdesktop/krootwm.cc
+++ b/kdesktop/krootwm.cc
@@ -108,7 +108,7 @@ KRootWm::KRootWm(KDesktop* _desktop) : TQObject(_desktop)
// The windowList and desktop menus can be part of a menubar (Mac style)
// so we create them here
- desktopMenu = new QPopupMenu;
+ desktopMenu = new TQPopupMenu;
windowListMenu = new KWindowListMenu;
connect( windowListMenu, TQT_SIGNAL( aboutToShow() ),
this, TQT_SLOT( slotWindowListAboutToShow() ) );
@@ -287,7 +287,7 @@ void KRootWm::buildMenus()
if (m_bDesktopEnabled && m_actionCollection->action("realign"))
{
- pArrangeMenu = new QPopupMenu;
+ pArrangeMenu = new TQPopupMenu;
m_actionCollection->action("sort_ncs")->plug( pArrangeMenu );
m_actionCollection->action("sort_nci")->plug( pArrangeMenu );
m_actionCollection->action("sort_size")->plug( pArrangeMenu );
@@ -296,7 +296,7 @@ void KRootWm::buildMenus()
pArrangeMenu->insertSeparator();
m_actionCollection->action("sort_directoriesfirst")->plug( pArrangeMenu );
- pLineupMenu = new QPopupMenu;
+ pLineupMenu = new TQPopupMenu;
m_actionCollection->action( "lineupHoriz" )->plug( pLineupMenu );
m_actionCollection->action( "lineupVert" )->plug( pLineupMenu );
pLineupMenu->insertSeparator();
@@ -306,14 +306,14 @@ void KRootWm::buildMenus()
sessionsMenu = 0;
if (m_actionCollection->action("newsession"))
{
- sessionsMenu = new QPopupMenu;
+ sessionsMenu = new TQPopupMenu;
connect( sessionsMenu, TQT_SIGNAL(aboutToShow()), TQT_SLOT(slotPopulateSessions()) );
connect( sessionsMenu, TQT_SIGNAL(activated(int)), TQT_SLOT(slotSessionActivated(int)) );
}
if (menuBar) {
bool needSeparator = false;
- file = new QPopupMenu;
+ file = new TQPopupMenu;
action = m_actionCollection->action("exec");
if (action)
@@ -330,7 +330,7 @@ void KRootWm::buildMenus()
if (action)
action->plug( file );
- desk = new QPopupMenu;
+ desk = new TQPopupMenu;
if (m_bDesktopEnabled)
{
@@ -415,7 +415,7 @@ void KRootWm::buildMenus()
if (m_bDesktopEnabled && m_actionCollection->action("realign"))
{
- TQPopupMenu* pIconOperationsMenu = new QPopupMenu;
+ TQPopupMenu* pIconOperationsMenu = new TQPopupMenu;
pIconOperationsMenu->insertItem(i18n("Sort Icons"), pArrangeMenu);
pIconOperationsMenu->insertSeparator();
@@ -430,7 +430,7 @@ void KRootWm::buildMenus()
desktopMenu->insertItem(SmallIconSet("icons"), i18n("Icons"), pIconOperationsMenu);
}
- TQPopupMenu* pWindowOperationsMenu = new QPopupMenu;
+ TQPopupMenu* pWindowOperationsMenu = new TQPopupMenu;
m_actionCollection->action("cascade")->plug( pWindowOperationsMenu );
m_actionCollection->action("unclutter")->plug( pWindowOperationsMenu );
desktopMenu->insertItem(SmallIconSet("window_list"), i18n("Windows"), pWindowOperationsMenu);