diff options
author | Michele Calgaro <[email protected]> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-12 12:39:52 +0900 |
commit | ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch) | |
tree | d8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdeio/tdefile/tdefiletreeview.cpp | |
parent | 5d320b587ba28fa3c4745e1555aff74d5651783e (diff) | |
download | tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeio/tdefile/tdefiletreeview.cpp')
-rw-r--r-- | tdeio/tdefile/tdefiletreeview.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tdeio/tdefile/tdefiletreeview.cpp b/tdeio/tdefile/tdefiletreeview.cpp index 2710d4c08..e9c87f5b6 100644 --- a/tdeio/tdefile/tdefiletreeview.cpp +++ b/tdeio/tdefile/tdefiletreeview.cpp @@ -48,32 +48,32 @@ KFileTreeView::KFileTreeView( TQWidget *parent, const char *name ) setSelectionModeExt( TDEListView::Single ); m_animationTimer = new TQTimer( this ); - connect( m_animationTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( slotAnimation() ) ); + connect( m_animationTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( slotAnimation() ) ); m_currentBeforeDropItem = 0; m_dropItem = 0; m_autoOpenTimer = new TQTimer( this ); - connect( m_autoOpenTimer, TQT_SIGNAL( timeout() ), - this, TQT_SLOT( slotAutoOpenFolder() ) ); + connect( m_autoOpenTimer, TQ_SIGNAL( timeout() ), + this, TQ_SLOT( slotAutoOpenFolder() ) ); /* The executed-Slot only opens a path, while the expanded-Slot populates it */ - connect( this, TQT_SIGNAL( executed( TQListViewItem * ) ), - this, TQT_SLOT( slotExecuted( TQListViewItem * ) ) ); - connect( this, TQT_SIGNAL( expanded ( TQListViewItem *) ), - this, TQT_SLOT( slotExpanded( TQListViewItem *) )); - connect( this, TQT_SIGNAL( collapsed( TQListViewItem *) ), - this, TQT_SLOT( slotCollapsed( TQListViewItem* ))); + connect( this, TQ_SIGNAL( executed( TQListViewItem * ) ), + this, TQ_SLOT( slotExecuted( TQListViewItem * ) ) ); + connect( this, TQ_SIGNAL( expanded ( TQListViewItem *) ), + this, TQ_SLOT( slotExpanded( TQListViewItem *) )); + connect( this, TQ_SIGNAL( collapsed( TQListViewItem *) ), + this, TQ_SLOT( slotCollapsed( TQListViewItem* ))); /* connections from the konqtree widget */ - connect( this, TQT_SIGNAL( selectionChanged() ), - this, TQT_SLOT( slotSelectionChanged() ) ); - connect( this, TQT_SIGNAL( onItem( TQListViewItem * )), - this, TQT_SLOT( slotOnItem( TQListViewItem * ) ) ); - connect( this, TQT_SIGNAL(itemRenamed(TQListViewItem*, const TQString &, int)), - this, TQT_SLOT(slotItemRenamed(TQListViewItem*, const TQString &, int))); + connect( this, TQ_SIGNAL( selectionChanged() ), + this, TQ_SLOT( slotSelectionChanged() ) ); + connect( this, TQ_SIGNAL( onItem( TQListViewItem * )), + this, TQ_SLOT( slotOnItem( TQListViewItem * ) ) ); + connect( this, TQ_SIGNAL(itemRenamed(TQListViewItem*, const TQString &, int)), + this, TQ_SLOT(slotItemRenamed(TQListViewItem*, const TQString &, int))); m_bDrag = false; @@ -375,12 +375,12 @@ KFileTreeBranch* KFileTreeView::addBranch( const KURL &path, const TQString& nam KFileTreeBranch *KFileTreeView::addBranch(KFileTreeBranch *newBranch) { - connect( newBranch, TQT_SIGNAL(populateFinished( KFileTreeViewItem* )), - this, TQT_SLOT( slotPopulateFinished( KFileTreeViewItem* ))); + connect( newBranch, TQ_SIGNAL(populateFinished( KFileTreeViewItem* )), + this, TQ_SLOT( slotPopulateFinished( KFileTreeViewItem* ))); - connect( newBranch, TQT_SIGNAL( newTreeViewItems( KFileTreeBranch*, + connect( newBranch, TQ_SIGNAL( newTreeViewItems( KFileTreeBranch*, const KFileTreeViewItemList& )), - this, TQT_SLOT( slotNewTreeViewItems( KFileTreeBranch*, + this, TQ_SLOT( slotNewTreeViewItems( KFileTreeBranch*, const KFileTreeViewItemList& ))); m_branches.append( newBranch ); |