From e985f7e545f4739493965aad69bbecb136dc9346 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 16 Jun 2011 19:02:47 +0000 Subject: TQt4 port kdewebdev This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kommander/editor/actionlistview.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kommander/editor/actionlistview.cpp') diff --git a/kommander/editor/actionlistview.cpp b/kommander/editor/actionlistview.cpp index 1c764f35..20a0ee4e 100644 --- a/kommander/editor/actionlistview.cpp +++ b/kommander/editor/actionlistview.cpp @@ -1,7 +1,7 @@ /********************************************************************** ** Copyright (C) 2000 Trolltech AS. All rights reserved. ** -** This file is part of Qt Designer. +** This file is part of TQt Designer. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software @@ -24,8 +24,8 @@ #include -ActionListView::ActionListView( TQWidget *parent, const char *name ) - : TQListView( parent, name ) +ActionListView::ActionListView( TQWidget *tqparent, const char *name ) + : TQListView( tqparent, name ) { header()->setStretchEnabled( true ); setRootIsDecorated( true ); @@ -38,9 +38,9 @@ ActionItem::ActionItem( TQListView *lv, TQAction *ac ) : TQListViewItem( lv ), a( 0 ), g( 0 ) { if ( ac->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ) - g = (QDesignerActionGroup*)ac; + g = (TQDesignerActionGroup*)ac; else - a = (QDesignerAction*)ac; + a = (TQDesignerAction*)ac; setDragEnabled( true ); } @@ -48,9 +48,9 @@ ActionItem::ActionItem( TQListViewItem *i, TQAction *ac ) : TQListViewItem( i ), a( 0 ), g( 0 ) { if ( ac->inherits( TQACTIONGROUP_OBJECT_NAME_STRING ) ) - g = (QDesignerActionGroup*)ac; + g = (TQDesignerActionGroup*)ac; else - a = (QDesignerAction*)ac; + a = (TQDesignerAction*)ac; setDragEnabled( true ); moveToEnd(); } -- cgit v1.2.1