From 9c9412b30c54468adc9e506cc76c5d113fbf5056 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 1 Feb 2013 15:14:03 -0600 Subject: Rename a number of classes to enhance compatibility with KDE4 --- kdict/queryview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kdict/queryview.cpp') diff --git a/kdict/queryview.cpp b/kdict/queryview.cpp index 7dbeaba4..0aa6f1b8 100644 --- a/kdict/queryview.cpp +++ b/kdict/queryview.cpp @@ -143,7 +143,7 @@ QueryView::QueryView(TQWidget *_parent) setFocusPolicy(TQ_NoFocus); connect(part, TQT_SIGNAL(completed()), TQT_SLOT(partCompleted())); connect(part, TQT_SIGNAL(middleButtonClicked()), TQT_SLOT(middleButtonClicked())); - rightBtnMenu = new KPopupMenu(this); + rightBtnMenu = new TDEPopupMenu(this); connect(part,TQT_SIGNAL(popupMenu(const TQString &, const TQPoint &)),this,TQT_SLOT(buildPopupMenu(const TQString &, const TQPoint &))); connect(part->browserExtension(),TQT_SIGNAL(openURLRequest(const KURL &,const KParts::URLArgs &)), this,TQT_SLOT(slotURLRequest(const KURL &,const KParts::URLArgs &))); @@ -157,7 +157,7 @@ QueryView::~QueryView() {} -void QueryView::setActions(KToolBarPopupAction* NactBack, KToolBarPopupAction* NactForward, DictComboAction* NactQueryCombo) +void QueryView::setActions(TDEToolBarPopupAction* NactBack, TDEToolBarPopupAction* NactForward, DictComboAction* NactQueryCombo) { actBack = NactBack; connect(actBack->popupMenu(),TQT_SIGNAL(activated(int)),TQT_SLOT(browseBack(int))); @@ -282,7 +282,7 @@ void QueryView::copySelection() void QueryView::showFindDialog() { - KAction *act = part->actionCollection()->action("find"); + TDEAction *act = part->actionCollection()->action("find"); if (act) act->activate(); } -- cgit v1.2.1