summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoView.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-14 21:19:12 +0900
committerMichele Calgaro <[email protected]>2023-12-24 16:56:48 +0900
commit757d80a919132cf72773928d53d100d22358de34 (patch)
tree78f1145fbd227d1135514b40e66e2e4bcbe3fcce /lib/kofficecore/KoView.cpp
parent9abcf51de91242d1ab70230ba46abd2108416edf (diff)
downloadkoffice-757d80a919132cf72773928d53d100d22358de34.tar.gz
koffice-757d80a919132cf72773928d53d100d22358de34.zip
Remove various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 3aab8aa05b954b80e336517f93463a9b5f50f3d6)
Diffstat (limited to 'lib/kofficecore/KoView.cpp')
-rw-r--r--lib/kofficecore/KoView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kofficecore/KoView.cpp b/lib/kofficecore/KoView.cpp
index 322c1a7d..6bebf91e 100644
--- a/lib/kofficecore/KoView.cpp
+++ b/lib/kofficecore/KoView.cpp
@@ -114,7 +114,7 @@ KoView::KoView( KoDocument *document, TQWidget *parent, const char *name )
//kdDebug(30003) << "KoView::KoView " << this << endl;
d = new KoViewPrivate;
d->m_doc = document;
- KParts::PartBase::setPartObject( TQT_TQOBJECT(this) );
+ KParts::PartBase::setPartObject( this );
setFocusPolicy( TQWidget::StrongFocus );
@@ -533,7 +533,7 @@ void KoView::slotChildActivated( bool a )
// Is the new active view a child of this one ?
// In this case we may not delete!
// TQObject *n = d->m_manager->activeWidget();
- TQObject *n = TQT_TQOBJECT(activeWidget);
+ TQObject *n = activeWidget;
while( n )
if ( n == (TQObject *)view )
return;
@@ -627,7 +627,7 @@ void KoView::slotAutoScroll( )
void KoView::setupGlobalActions() {
actionNewView = new TDEAction( i18n( "&New View" ), "window-new", 0,
- TQT_TQOBJECT(this), TQT_SLOT( newView() ),
+ this, TQT_SLOT( newView() ),
actionCollection(), "view_newview" );
}