diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:22:52 +0900 |
commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /chalk/ui/layerlist.cpp | |
parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
download | koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'chalk/ui/layerlist.cpp')
-rw-r--r-- | chalk/ui/layerlist.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/chalk/ui/layerlist.cpp b/chalk/ui/layerlist.cpp index 9bcf12ce..56cf628c 100644 --- a/chalk/ui/layerlist.cpp +++ b/chalk/ui/layerlist.cpp @@ -119,7 +119,7 @@ public: m_list( list ) { TQFrame::setPalette( TQToolTip::palette() ); - connect( &m_timer, TQT_SIGNAL( timeout() ), m_list, TQT_SLOT( hideTip() ) ); + connect( &m_timer, TQ_SIGNAL( timeout() ), m_list, TQ_SLOT( hideTip() ) ); tqApp->installEventFilter( this ); } @@ -302,12 +302,12 @@ LayerList::LayerList( TQWidget *parent, const char *name ) setNumRows( 2 ); - connect( this, TQT_SIGNAL( itemRenamed( TQListViewItem*, const TQString&, int ) ), - TQT_SLOT( slotItemRenamed( TQListViewItem*, const TQString&, int ) ) ); - connect( this, TQT_SIGNAL( moved( TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>& ) ), - TQT_SLOT( slotItemMoved( TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>& ) ) ); - connect( this, TQT_SIGNAL( onItem( TQListViewItem* ) ), TQT_SLOT( hideTip() ) ); - connect( this, TQT_SIGNAL( onViewport() ), TQT_SLOT( hideTip() ) ); + connect( this, TQ_SIGNAL( itemRenamed( TQListViewItem*, const TQString&, int ) ), + TQ_SLOT( slotItemRenamed( TQListViewItem*, const TQString&, int ) ) ); + connect( this, TQ_SIGNAL( moved( TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>& ) ), + TQ_SLOT( slotItemMoved( TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>&, TQPtrList<TQListViewItem>& ) ) ); + connect( this, TQ_SIGNAL( onItem( TQListViewItem* ) ), TQ_SLOT( hideTip() ) ); + connect( this, TQ_SIGNAL( onViewport() ), TQ_SLOT( hideTip() ) ); } LayerList::~LayerList() @@ -1174,7 +1174,7 @@ bool LayerItem::mousePressEvent( TQMouseEvent *e ) { if ( !(e->state() & TQt::ControlButton) && !(e->state() & TQt::ShiftButton) ) setActive(); - TQTimer::singleShot( 0, listView(), TQT_SLOT( showContextMenu() ) ); + TQTimer::singleShot( 0, listView(), TQ_SLOT( showContextMenu() ) ); return false; } |