diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-31 22:16:03 +0900 |
commit | ecca365daf06c711cf30f93f4c773dabf5642790 (patch) | |
tree | 0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/listviews/listviews.cpp | |
parent | 1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff) | |
download | tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/listviews/listviews.cpp')
-rw-r--r-- | examples/listviews/listviews.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/listviews/listviews.cpp b/examples/listviews/listviews.cpp index 1344db998..66680f852 100644 --- a/examples/listviews/listviews.cpp +++ b/examples/listviews/listviews.cpp @@ -127,20 +127,20 @@ ListViews::ListViews( TQWidget *parent, const char *name ) menu = new TQPopupMenu( messages ); for( int i = 1; i <= 10; i++ ) menu->insertItem( TQString( "Context Item %1" ).arg( i ) ); - connect(messages, SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint& , int ) ), - this, SLOT( slotRMB( TQListViewItem *, const TQPoint &, int ) ) ); + connect(messages, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint& , int ) ), + this, TQ_SLOT( slotRMB( TQListViewItem *, const TQPoint &, int ) ) ); vsplitter->setResizeMode( messages, TQSplitter::KeepSize ); message = new TQLabel( vsplitter ); message->setAlignment( TQt::AlignTop ); message->setBackgroundMode( PaletteBase ); - connect( folders, SIGNAL( selectionChanged( TQListViewItem* ) ), - this, SLOT( slotFolderChanged( TQListViewItem* ) ) ); - connect( messages, SIGNAL( selectionChanged() ), - this, SLOT( slotMessageChanged() ) ); - connect( messages, SIGNAL( currentChanged( TQListViewItem * ) ), - this, SLOT( slotMessageChanged() ) ); + connect( folders, TQ_SIGNAL( selectionChanged( TQListViewItem* ) ), + this, TQ_SLOT( slotFolderChanged( TQListViewItem* ) ) ); + connect( messages, TQ_SIGNAL( selectionChanged() ), + this, TQ_SLOT( slotMessageChanged() ) ); + connect( messages, TQ_SIGNAL( currentChanged( TQListViewItem * ) ), + this, TQ_SLOT( slotMessageChanged() ) ); messages->setSelectionMode( TQListView::Extended ); // some preparations |