diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /doc/html/archivesearch-example.html | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/html/archivesearch-example.html')
-rw-r--r-- | doc/html/archivesearch-example.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/html/archivesearch-example.html b/doc/html/archivesearch-example.html index 176357bf5..314d3cc60 100644 --- a/doc/html/archivesearch-example.html +++ b/doc/html/archivesearch-example.html @@ -59,12 +59,12 @@ were done using <a href="designer-manual.html">TQt Designer</a>. void ArchiveDialog::init() { - connect(&articleSearcher, SIGNAL(done(bool)), this, SLOT(searchDone(bool))); - connect(&articleFetcher, SIGNAL(done(bool)), this, SLOT(fetchDone(bool))); - connect(myListView, SIGNAL(selectionChanged(TQListViewItem*)), this, SLOT(fetch(TQListViewItem*))); - connect(myLineEdit, SIGNAL(returnPressed()), this, SLOT(search())); - connect(myListView, SIGNAL(returnPressed(TQListViewItem*)), this, SLOT(fetch(TQListViewItem*))); - connect(myPushButton, SIGNAL(clicked()), this, SLOT(close())); + connect(&articleSearcher, TQ_SIGNAL(done(bool)), this, TQ_SLOT(searchDone(bool))); + connect(&articleFetcher, TQ_SIGNAL(done(bool)), this, TQ_SLOT(fetchDone(bool))); + connect(myListView, TQ_SIGNAL(selectionChanged(TQListViewItem*)), this, TQ_SLOT(fetch(TQListViewItem*))); + connect(myLineEdit, TQ_SIGNAL(returnPressed()), this, TQ_SLOT(search())); + connect(myListView, TQ_SIGNAL(returnPressed(TQListViewItem*)), this, TQ_SLOT(fetch(TQListViewItem*))); + connect(myPushButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(close())); } void ArchiveDialog::fetch( <a href="qlistviewitem.html">TQListViewItem</a> *it ) @@ -164,8 +164,8 @@ int main(int argc, char **argv) ArchiveDialog ad; ad.show(); -<a name="x489"></a><a name="x487"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( &a, SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), -<a name="x488"></a> &a, SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); +<a name="x489"></a><a name="x487"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( &a, TQ_SIGNAL(<a href="ntqapplication.html#lastWindowClosed">lastWindowClosed</a>()), +<a name="x488"></a> &a, TQ_SLOT(<a href="ntqapplication.html#quit">quit</a>()) ); <a name="x486"></a> return a.<a href="ntqapplication.html#exec">exec</a>(); } |