summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/actionlistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/designer/actionlistview.cpp')
-rw-r--r--kdevdesigner/designer/actionlistview.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kdevdesigner/designer/actionlistview.cpp b/kdevdesigner/designer/actionlistview.cpp
index 53c7e292..7b687fe4 100644
--- a/kdevdesigner/designer/actionlistview.cpp
+++ b/kdevdesigner/designer/actionlistview.cpp
@@ -26,22 +26,22 @@
#include "actiondnd.h"
#include "actionlistview.h"
-#include <qheader.h>
+#include <tqheader.h>
#include <klocale.h>
-ActionListView::ActionListView( QWidget *parent, const char *name )
- : QListView( parent, name )
+ActionListView::ActionListView( TQWidget *parent, const char *name )
+ : TQListView( parent, name )
{
setShowSortIndicator( TRUE );
setResizeMode( LastColumn );
setRootIsDecorated( TRUE );
- connect( this, SIGNAL( contextMenuRequested( QListViewItem *, const QPoint &, int ) ),
- this, SLOT( rmbMenu( QListViewItem *, const QPoint & ) ) );
+ connect( this, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQT_SLOT( rmbMenu( TQListViewItem *, const TQPoint & ) ) );
}
-ActionItem::ActionItem( QListView *lv, QAction *ac )
- : QListViewItem( lv ), a( 0 ), g( 0 )
+ActionItem::ActionItem( TQListView *lv, TQAction *ac )
+ : TQListViewItem( lv ), a( 0 ), g( 0 )
{
g = ::qt_cast<QDesignerActionGroup*>(ac);
if ( !g )
@@ -49,8 +49,8 @@ ActionItem::ActionItem( QListView *lv, QAction *ac )
setDragEnabled( TRUE );
}
-ActionItem::ActionItem( QListViewItem *i, QAction *ac )
- : QListViewItem( i ), a( 0 ), g( 0 )
+ActionItem::ActionItem( TQListViewItem *i, TQAction *ac )
+ : TQListViewItem( i ), a( 0 ), g( 0 )
{
g = ::qt_cast<QDesignerActionGroup*>(ac);
if ( !g )
@@ -61,19 +61,19 @@ ActionItem::ActionItem( QListViewItem *i, QAction *ac )
void ActionItem::moveToEnd()
{
- QListViewItem *i = this;
+ TQListViewItem *i = this;
while ( i->nextSibling() )
i = i->nextSibling();
if ( i != this )
moveItem( i );
}
-QDragObject *ActionListView::dragObject()
+TQDragObject *ActionListView::dragObject()
{
ActionItem *i = (ActionItem*)currentItem();
if ( !i )
return 0;
- QStoredDrag *drag = 0;
+ TQStoredDrag *drag = 0;
if ( i->action() ) {
drag = new ActionDrag( i->action(), viewport() );
drag->setPixmap( i->action()->iconSet().pixmap() );
@@ -84,9 +84,9 @@ QDragObject *ActionListView::dragObject()
return drag;
}
-void ActionListView::rmbMenu( QListViewItem *i, const QPoint &p )
+void ActionListView::rmbMenu( TQListViewItem *i, const TQPoint &p )
{
- QPopupMenu *popup = new QPopupMenu( this );
+ TQPopupMenu *popup = new TQPopupMenu( this );
popup->insertItem( i18n( "New &Action" ), 0 );
popup->insertItem( i18n( "New Action &Group" ), 1 );
popup->insertItem( i18n( "New &Dropdown Action Group" ), 2 );