From c56e9aa280a5c584f6fa229432efdad836044590 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 12 Jul 2023 11:31:57 +0900 Subject: Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3. Signed-off-by: Michele Calgaro (cherry picked from commit 30555507108fe0b2b3f9ded9de37f38d4a1d9c50) --- korganizer/multiagendaview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'korganizer') diff --git a/korganizer/multiagendaview.cpp b/korganizer/multiagendaview.cpp index 7cbd42ebb..f36109dcd 100644 --- a/korganizer/multiagendaview.cpp +++ b/korganizer/multiagendaview.cpp @@ -459,7 +459,7 @@ void MultiAgendaView::updateConfig() bool MultiAgendaView::eventFilter(TQObject * obj, TQEvent * event) { - if ( obj->className() == TQCString(TQSPLITTERHANDLE_OBJECT_NAME_STRING) ) { + if ( obj->className() == TQCString("TQSplitterHandle") ) { // KDE4: not needed anymore, TQSplitter has a moved signal there if ( (event->type() == TQEvent::MouseMove && TDEGlobalSettings::opaqueResize()) || event->type() == TQEvent::MouseButtonRelease ) { @@ -542,7 +542,7 @@ void MultiAgendaView::zoomView( const int delta, const TQPoint & pos, const Qt:: // KDE4: not needed, use existing TQSplitter signals instead void MultiAgendaView::installSplitterEventFilter(TQSplitter * splitter) { - TQObjectList *objlist = splitter->queryList( TQSPLITTERHANDLE_OBJECT_NAME_STRING ); + TQObjectList *objlist = splitter->queryList( "TQSplitterHandle" ); // HACK: when not being visible, the splitter handle is sometimes not found // for unknown reasons, so trigger an update when we are shown again if ( objlist->count() == 0 && !isVisible() ) -- cgit v1.2.1