summaryrefslogtreecommitdiffstats
path: root/tools/designer/examples
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 /tools/designer/examples
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 'tools/designer/examples')
-rw-r--r--tools/designer/examples/addressbook/addressbook.ui.h8
-rw-r--r--tools/designer/examples/addressbook/main.cpp2
-rw-r--r--tools/designer/examples/colortool/mainform.ui.h4
-rw-r--r--tools/designer/examples/credit/creditformbase.cpp8
-rw-r--r--tools/designer/examples/filechooser/widget/filechooser.cpp8
-rw-r--r--tools/designer/examples/metric/main.cpp2
-rw-r--r--tools/designer/examples/multiclip/multiclip.ui.h4
-rw-r--r--tools/designer/examples/vcr/vcr.cpp8
8 files changed, 22 insertions, 22 deletions
diff --git a/tools/designer/examples/addressbook/addressbook.ui.h b/tools/designer/examples/addressbook/addressbook.ui.h
index 83d177573..93f3d50e5 100644
--- a/tools/designer/examples/addressbook/addressbook.ui.h
+++ b/tools/designer/examples/addressbook/addressbook.ui.h
@@ -16,14 +16,14 @@
void AddressBook::fileNew()
{
AddressDetails dia( this, 0, TRUE );
- connect( &dia, SIGNAL( newAddress( const TQString &,
+ connect( &dia, TQ_SIGNAL( newAddress( const TQString &,
const TQString &,
const TQString &,
const TQString &,
const TQString &,
const TQString &,
const TQString & ) ),
- this, SLOT( insertAddress( const TQString &,
+ this, TQ_SLOT( insertAddress( const TQString &,
const TQString &,
const TQString &,
const TQString &,
@@ -118,8 +118,8 @@ void AddressBook::fileExit()
void AddressBook::editFind()
{
SearchDialog dia( this, 0, TRUE );
- connect( &dia, SIGNAL( searchAddress( const TQString & ) ),
- this, SLOT( searchAddress( const TQString & ) ) );
+ connect( &dia, TQ_SIGNAL( searchAddress( const TQString & ) ),
+ this, TQ_SLOT( searchAddress( const TQString & ) ) );
dia.exec();
}
diff --git a/tools/designer/examples/addressbook/main.cpp b/tools/designer/examples/addressbook/main.cpp
index 4b80e6d3e..0359e37c0 100644
--- a/tools/designer/examples/addressbook/main.cpp
+++ b/tools/designer/examples/addressbook/main.cpp
@@ -6,6 +6,6 @@ int main( int argc, char ** argv )
TQApplication a( argc, argv );
AddressBook *w = new AddressBook;
w->show();
- a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
+ a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) );
return a.exec();
}
diff --git a/tools/designer/examples/colortool/mainform.ui.h b/tools/designer/examples/colortool/mainform.ui.h
index c6343f957..7a0f8a8db 100644
--- a/tools/designer/examples/colortool/mainform.ui.h
+++ b/tools/designer/examples/colortool/mainform.ui.h
@@ -356,8 +356,8 @@ void MainForm::editFind()
{
if ( ! findForm ) {
findForm = new FindForm( this );
- connect( findForm, SIGNAL( lookfor(const TQString&) ),
- this, SLOT( lookfor(const TQString&) ) );
+ connect( findForm, TQ_SIGNAL( lookfor(const TQString&) ),
+ this, TQ_SLOT( lookfor(const TQString&) ) );
}
findForm->show();
}
diff --git a/tools/designer/examples/credit/creditformbase.cpp b/tools/designer/examples/credit/creditformbase.cpp
index 51c5e6a40..372a756d3 100644
--- a/tools/designer/examples/credit/creditformbase.cpp
+++ b/tools/designer/examples/credit/creditformbase.cpp
@@ -106,10 +106,10 @@ CreditFormBase::CreditFormBase( TQWidget* parent, const char* name, bool modal,
// signals and slots connections
- connect( okPushButton, SIGNAL( clicked() ), this, SLOT( accept() ) );
- connect( cancelPushButton, SIGNAL( clicked() ), this, SLOT( reject() ) );
- connect( creditButtonGroup, SIGNAL( clicked(int) ), this, SLOT( setAmount() ) );
- connect( specialRadioButton, SIGNAL( toggled(bool) ), amountSpinBox, SLOT( setEnabled(bool) ) );
+ connect( okPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( accept() ) );
+ connect( cancelPushButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( reject() ) );
+ connect( creditButtonGroup, TQ_SIGNAL( clicked(int) ), this, TQ_SLOT( setAmount() ) );
+ connect( specialRadioButton, TQ_SIGNAL( toggled(bool) ), amountSpinBox, TQ_SLOT( setEnabled(bool) ) );
}
/*
diff --git a/tools/designer/examples/filechooser/widget/filechooser.cpp b/tools/designer/examples/filechooser/widget/filechooser.cpp
index 3b510baf1..4e886829e 100644
--- a/tools/designer/examples/filechooser/widget/filechooser.cpp
+++ b/tools/designer/examples/filechooser/widget/filechooser.cpp
@@ -13,15 +13,15 @@ FileChooser::FileChooser( TQWidget *parent, const char *name )
lineEdit = new TQLineEdit( this, "filechooser_lineedit" );
layout->addWidget( lineEdit );
- connect( lineEdit, SIGNAL( textChanged( const TQString & ) ),
- this, SIGNAL( fileNameChanged( const TQString & ) ) );
+ connect( lineEdit, TQ_SIGNAL( textChanged( const TQString & ) ),
+ this, TQ_SIGNAL( fileNameChanged( const TQString & ) ) );
button = new TQPushButton( "...", this, "filechooser_button" );
button->setFixedWidth( button->fontMetrics().width( " ... " ) );
layout->addWidget( button );
- connect( button, SIGNAL( clicked() ),
- this, SLOT( chooseFile() ) );
+ connect( button, TQ_SIGNAL( clicked() ),
+ this, TQ_SLOT( chooseFile() ) );
setFocusProxy( lineEdit );
}
diff --git a/tools/designer/examples/metric/main.cpp b/tools/designer/examples/metric/main.cpp
index 8fe7bf6fc..00ec8c418 100644
--- a/tools/designer/examples/metric/main.cpp
+++ b/tools/designer/examples/metric/main.cpp
@@ -7,6 +7,6 @@ int main( int argc, char ** argv )
ConversionForm *w = new ConversionForm;
w->show();
a.setMainWidget( w );
- a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );
+ a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) );
return a.exec();
}
diff --git a/tools/designer/examples/multiclip/multiclip.ui.h b/tools/designer/examples/multiclip/multiclip.ui.h
index a4287fa44..203fc6906 100644
--- a/tools/designer/examples/multiclip/multiclip.ui.h
+++ b/tools/designer/examples/multiclip/multiclip.ui.h
@@ -36,9 +36,9 @@ void MulticlipForm::init()
currentLineEdit->setFocus();
cb = tqApp->clipboard();
- connect( cb, SIGNAL( dataChanged() ), SLOT( dataChanged() ) );
+ connect( cb, TQ_SIGNAL( dataChanged() ), TQ_SLOT( dataChanged() ) );
if ( cb->supportsSelection() )
- connect( cb, SIGNAL( selectionChanged() ), SLOT( selectionChanged() ) );
+ connect( cb, TQ_SIGNAL( selectionChanged() ), TQ_SLOT( selectionChanged() ) );
dataChanged();
}
diff --git a/tools/designer/examples/vcr/vcr.cpp b/tools/designer/examples/vcr/vcr.cpp
index fd39e1a98..d5b36f4d7 100644
--- a/tools/designer/examples/vcr/vcr.cpp
+++ b/tools/designer/examples/vcr/vcr.cpp
@@ -99,19 +99,19 @@ Vcr::Vcr( TQWidget *parent, const char *name )
TQPushButton *rewind = new TQPushButton( TQPixmap( rewind_xpm ), 0, this, "vcr_rewind" );
layout->addWidget( rewind );
- connect( rewind, SIGNAL(clicked()), SIGNAL(rewind()) );
+ connect( rewind, TQ_SIGNAL(clicked()), TQ_SIGNAL(rewind()) );
TQPushButton *play = new TQPushButton( TQPixmap( play_xpm ), 0, this, "vcr_play" );
layout->addWidget( play );
- connect( play, SIGNAL(clicked()), SIGNAL(play()) );
+ connect( play, TQ_SIGNAL(clicked()), TQ_SIGNAL(play()) );
TQPushButton *next = new TQPushButton( TQPixmap( next_xpm ), 0, this, "vcr_next" );
layout->addWidget( next );
- connect( next, SIGNAL(clicked()), SIGNAL(next()) );
+ connect( next, TQ_SIGNAL(clicked()), TQ_SIGNAL(next()) );
TQPushButton *stop = new TQPushButton( TQPixmap( stop_xpm ), 0, this, "vcr_stop" );
layout->addWidget( stop );
- connect( stop, SIGNAL(clicked()), SIGNAL(stop()) );
+ connect( stop, TQ_SIGNAL(clicked()), TQ_SIGNAL(stop()) );
}