summaryrefslogtreecommitdiffstats
path: root/examples/iconview
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-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/iconview
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt-ecca365d.tar.gz
tqt-ecca365d.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/iconview')
-rw-r--r--examples/iconview/main.cpp6
-rw-r--r--examples/iconview/simple_dd/main.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/examples/iconview/main.cpp b/examples/iconview/main.cpp
index f7f3593c5..f7ed6eeb8 100644
--- a/examples/iconview/main.cpp
+++ b/examples/iconview/main.cpp
@@ -61,9 +61,9 @@ int main( int argc, char **argv )
qiconview.setCaption( "TQt Example - Iconview" );
ListenDND listen_dnd( &qiconview );
- TQObject::connect( &qiconview, SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ),
- &listen_dnd, SLOT( dropped( TQDropEvent * ) ) );
- TQObject::connect( &qiconview, SIGNAL( moved() ), &listen_dnd, SLOT( moved() ) );
+ TQObject::connect( &qiconview, TQ_SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ),
+ &listen_dnd, TQ_SLOT( dropped( TQDropEvent * ) ) );
+ TQObject::connect( &qiconview, TQ_SIGNAL( moved() ), &listen_dnd, TQ_SLOT( moved() ) );
a.setMainWidget( &qiconview );
qiconview.show();
diff --git a/examples/iconview/simple_dd/main.cpp b/examples/iconview/simple_dd/main.cpp
index 3093e89a9..16d3b53c5 100644
--- a/examples/iconview/simple_dd/main.cpp
+++ b/examples/iconview/simple_dd/main.cpp
@@ -169,8 +169,8 @@ int main( int argc, char *argv[] )
// Set up the connection so that we can drop items into the icon view
TQObject::connect(
- iv, SIGNAL(dropped(TQDropEvent*, const TQValueList<TQIconDragItem>&)),
- iv, SLOT(slotNewItem(TQDropEvent*, const TQValueList<TQIconDragItem>&)));
+ iv, TQ_SIGNAL(dropped(TQDropEvent*, const TQValueList<TQIconDragItem>&)),
+ iv, TQ_SLOT(slotNewItem(TQDropEvent*, const TQValueList<TQIconDragItem>&)));
// Populate the TQIconView with icons
DDIconViewItem *item;