summaryrefslogtreecommitdiffstats
path: root/examples/listviews
diff options
context:
space:
mode:
Diffstat (limited to 'examples/listviews')
-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