From 35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 14:24:33 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/editorproxy.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/editorproxy.cpp') diff --git a/src/editorproxy.cpp b/src/editorproxy.cpp index 73ff852b..75e0ba13 100644 --- a/src/editorproxy.cpp +++ b/src/editorproxy.cpp @@ -40,13 +40,13 @@ EditorProxy::EditorProxy() : TQObject() { m_delayedLineTimer = new TQTimer( this ); - connect( m_delayedLineTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT(setLineNumberDelayed()) ); + connect( m_delayedLineTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT(setLineNumberDelayed()) ); TDEConfig *config = kapp->config(); m_delayedViewCreationCompatibleUI = true; TDEAction *ac = new TDEAction( i18n("Show Context Menu"), 0, this, - TQT_SLOT(showPopup()), TopLevel::getInstance()->main()->actionCollection(), "show_popup" ); + TQ_SLOT(showPopup()), TopLevel::getInstance()->main()->actionCollection(), "show_popup" ); TDEShortcut cut ;/*= TDEStdAccel::shortcut(TDEStdAccel::PopupMenuContext);*/ cut.append(KKey(CTRL+Key_Return)); ac->setShortcut(cut); @@ -143,7 +143,7 @@ void EditorProxy::installPopup( KParts::Part * part ) iface->installPopup( popup ); - connect(popup, TQT_SIGNAL(aboutToShow()), this, TQT_SLOT(popupAboutToShow())); + connect(popup, TQ_SIGNAL(aboutToShow()), this, TQ_SLOT(popupAboutToShow())); // ugly hack: mark the "original" items m_popupIds.resize(popup->count()); -- cgit v1.2.3