diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-12 11:17:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-15 11:09:32 +0900 |
commit | 7f03918f8df7479b0e1a88288066201a301e87bf (patch) | |
tree | ef42e0c7ecbd6d292ca5aa7f3aeca141dd65cdb1 /tdemdi/test | |
parent | ccaaecf59c0e607be633c45ad3b7bb1ef29e981f (diff) | |
download | tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.tar.gz tdelibs-7f03918f8df7479b0e1a88288066201a301e87bf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7)
Diffstat (limited to 'tdemdi/test')
-rw-r--r-- | tdemdi/test/hello.cpp | 2 | ||||
-rw-r--r-- | tdemdi/test/mainwidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tdemdi/test/hello.cpp b/tdemdi/test/hello.cpp index d92233ea6..0790ce491 100644 --- a/tdemdi/test/hello.cpp +++ b/tdemdi/test/hello.cpp @@ -22,7 +22,7 @@ Hello::Hello( const char *title, const char *text, TQWidget *parentWidget ) : KMdiChildView(title, parentWidget), t(text), b(0) { TQTimer *timer = new TQTimer(this); - TQObject::connect( timer, TQT_SIGNAL(timeout()), TQT_SLOT(animate()) ); + TQObject::connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(animate()) ); timer->start( 40 ); resize( 260, 130 ); diff --git a/tdemdi/test/mainwidget.cpp b/tdemdi/test/mainwidget.cpp index cf41c1647..6438ff978 100644 --- a/tdemdi/test/mainwidget.cpp +++ b/tdemdi/test/mainwidget.cpp @@ -114,7 +114,7 @@ RestartWidget::RestartWidget():TDEMainWindow() TQLabel* l = new TQLabel("This is for the testing of\nKMdiMainFrm::read/writeDockConfig().\n", this); TQCheckBox* b1 = new TQCheckBox("KMdiMainFrm close/restart", this); b1->toggle(); - TQObject::connect(b1, TQT_SIGNAL(stateChanged(int)), this, TQT_SLOT(onStateChanged(int))); + TQObject::connect(b1, TQ_SIGNAL(stateChanged(int)), this, TQ_SLOT(onStateChanged(int))); bl->add(l); bl->add(b1); bl->setMargin(10); |