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-12 12:39:52 +0900 |
commit | ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch) | |
tree | d8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdemdi/test | |
parent | 5d320b587ba28fa3c4745e1555aff74d5651783e (diff) | |
download | tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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); |