From 58a97ed3af5e4df6c4a58d043b0c267bd97056a9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:12:46 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- atlantik/libatlantikui/estateview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'atlantik/libatlantikui/estateview.cpp') diff --git a/atlantik/libatlantikui/estateview.cpp b/atlantik/libatlantikui/estateview.cpp index a9f4b83d..5cb865e5 100644 --- a/atlantik/libatlantikui/estateview.cpp +++ b/atlantik/libatlantikui/estateview.cpp @@ -434,7 +434,7 @@ void EstateView::mousePressEvent(TQMouseEvent *e) { if (e->button()==Qt::RightButton && m_estate->isOwned()) { - KPopupMenu *rmbMenu = new KPopupMenu(this); + TDEPopupMenu *rmbMenu = new TDEPopupMenu(this); rmbMenu->insertTitle(m_estate->name()); if (m_estate->isOwnedBySelf()) @@ -480,7 +480,7 @@ void EstateView::mousePressEvent(TQMouseEvent *e) rmbMenu->insertItem(i18n("Request Trade with %1").arg(player->name()), 3); } - KPopupMenu *pm = dynamic_cast(rmbMenu); + TDEPopupMenu *pm = dynamic_cast(rmbMenu); if (pm) { connect(pm, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotMenuAction(int))); } -- cgit v1.2.1