summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/designer/hierarchyview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 14:24:33 +0900
commit35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c (patch)
treebb3c7d39dd8592f3676cbd663a3cc42c7b288b41 /kdevdesigner/designer/hierarchyview.cpp
parent59f10590f7686267df6e294111a2ff5661089026 (diff)
downloadtdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.tar.gz
tdevelop-35fbd60457d1e51e6a0df5d181d1a0f00ad75a2c.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kdevdesigner/designer/hierarchyview.cpp')
-rw-r--r--kdevdesigner/designer/hierarchyview.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/kdevdesigner/designer/hierarchyview.cpp b/kdevdesigner/designer/hierarchyview.cpp
index f5193421..138b9499 100644
--- a/kdevdesigner/designer/hierarchyview.cpp
+++ b/kdevdesigner/designer/hierarchyview.cpp
@@ -193,20 +193,20 @@ HierarchyList::HierarchyList( TQWidget *parent, FormWindow *fw, bool doConnects
p.setColor( TQColorGroup::Base, TQColor( *backColor2 ) );
(void)*selectedBack; // hack
setPalette( p );
- disconnect( header(), TQT_SIGNAL( sectionClicked( int ) ),
- this, TQT_SLOT( changeSortColumn( int ) ) );
+ disconnect( header(), TQ_SIGNAL( sectionClicked( int ) ),
+ this, TQ_SLOT( changeSortColumn( int ) ) );
setSorting( -1 );
setHScrollBarMode( AlwaysOff );
setVScrollBarMode( AlwaysOn );
if ( doConnects ) {
- connect( this, TQT_SIGNAL( clicked( TQListViewItem * ) ),
- this, TQT_SLOT( objectClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
- this, TQT_SLOT( objectDoubleClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( returnPressed( TQListViewItem * ) ),
- this, TQT_SLOT( objectClicked( TQListViewItem * ) ) );
- connect( this, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint&, int ) ),
- this, TQT_SLOT( showRMBMenu( TQListViewItem *, const TQPoint & ) ) );
+ connect( this, TQ_SIGNAL( clicked( TQListViewItem * ) ),
+ this, TQ_SLOT( objectClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ),
+ this, TQ_SLOT( objectDoubleClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( returnPressed( TQListViewItem * ) ),
+ this, TQ_SLOT( objectClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint&, int ) ),
+ this, TQ_SLOT( showRMBMenu( TQListViewItem *, const TQPoint & ) ) );
}
deselect = TRUE;
setColumnWidthMode( 1, Manual );
@@ -612,8 +612,8 @@ void HierarchyList::showRMBMenu( TQListViewItem *i, const TQPoint & p )
if ( !tabWidgetMenu )
tabWidgetMenu =
formWindow->mainWindow()->setupTabWidgetHierarchyMenu(
- this, TQT_SLOT( addTabPage() ),
- TQT_SLOT( removeTabPage() ) );
+ this, TQ_SLOT( addTabPage() ),
+ TQ_SLOT( removeTabPage() ) );
tabWidgetMenu->popup( p );
}
}
@@ -681,8 +681,8 @@ FormDefinitionView::FormDefinitionView( TQWidget *parent, FormWindow *fw )
{
header()->hide();
removeColumn( 1 );
- connect( this, TQT_SIGNAL( itemRenamed( TQListViewItem *, int, const TQString & ) ),
- this, TQT_SLOT( renamed( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( itemRenamed( TQListViewItem *, int, const TQString & ) ),
+ this, TQ_SLOT( renamed( TQListViewItem * ) ) );
popupOpen = FALSE;
}
@@ -1268,7 +1268,7 @@ HierarchyView::HierarchyView( TQWidget *parent )
ClassBrowser cb( ciface->createClassBrowser( this ), ciface );
addTab( cb.lv, i18n( "Class Declarations" ) );
setTabToolTip( cb.lv, i18n( "List of all classes and its declarations of the current source file" ) );
- ciface->onClick( this, TQT_SLOT( jumpTo( const TQString &, const TQString &, int ) ) );
+ ciface->onClick( this, TQ_SLOT( jumpTo( const TQString &, const TQString &, int ) ) );
classBrowsers->insert( *it, cb );
setTabEnabled( cb.lv, FALSE );
}
@@ -1356,7 +1356,7 @@ void HierarchyView::showClasses( SourceEditor *se )
return;
lastSourceEditor = se;
- TQTimer::singleShot( 100, this, TQT_SLOT( showClassesTimeout() ) );
+ TQTimer::singleShot( 100, this, TQ_SLOT( showClassesTimeout() ) );
}
void HierarchyView::showClassesTimeout()