summaryrefslogtreecommitdiffstats
path: root/examples/listviews/listviews.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /examples/listviews/listviews.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/listviews/listviews.cpp')
-rw-r--r--examples/listviews/listviews.cpp16
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