diff options
author | Timothy Pearson <tpearson@raptorengineering.com> | 2025-05-25 13:00:08 -0500 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2025-05-25 13:00:08 -0500 |
commit | f7bed30a8018b109ce25f16d015b1eb6fca6b41b (patch) | |
tree | 3c345712bcc0b8204094a4e5b645b9a3845bb18c /clients/tde/src/app/views | |
parent | 35529a2fb04893ca887dd11c700e22889ff7696c (diff) | |
download | ulab-master.tar.gz ulab-master.zip |
Diffstat (limited to 'clients/tde/src/app/views')
-rw-r--r-- | clients/tde/src/app/views/instrumentview.cpp | 10 | ||||
-rw-r--r-- | clients/tde/src/app/views/instrumentview.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/clients/tde/src/app/views/instrumentview.cpp b/clients/tde/src/app/views/instrumentview.cpp index 88f2329..b0ca660 100644 --- a/clients/tde/src/app/views/instrumentview.cpp +++ b/clients/tde/src/app/views/instrumentview.cpp @@ -46,14 +46,14 @@ void InstrumentView::init() { if (!factory) { KMessageBox::error( this, i18n("TDE could not find the %1 part, or the %2 part could not be started.").arg(m_libraryName).arg(m_libraryName) ); - TQTimer::singleShot(0, this, SLOT(close())); + TQTimer::singleShot(0, this, TQ_SLOT(close())); } else { - m_instrumentPart = (InstrumentPart *)factory->create(TQT_TQOBJECT(this), "part", "KParts::RemoteInstrumentPart"); + m_instrumentPart = (InstrumentPart *)factory->create(this, "part", "KParts::RemoteInstrumentPart"); m_instrumentPart->setMDIMainForm(m_mainForm); setIcon(SmallIcon(m_libraryName)); - connect(m_instrumentPart, SIGNAL(statusMessageSet(const TQString&)), this, SLOT(setStatusMessage(const TQString&))); - connect(m_instrumentPart, SIGNAL(usingFixedSizeChanged(bool)), this, SLOT(setUsingFixedSize(bool))); + connect(m_instrumentPart, TQ_SIGNAL(statusMessageSet(const TQString&)), this, TQ_SLOT(setStatusMessage(const TQString&))); + connect(m_instrumentPart, TQ_SIGNAL(usingFixedSizeChanged(bool)), this, TQ_SLOT(setUsingFixedSize(bool))); TQWidget *childPartWidget = m_instrumentPart->widget(); if (childPartWidget) { childPartWidget->installEventFilter(this); @@ -151,7 +151,7 @@ void InstrumentView::connectServer(TQString server) { delete canary; return; } - TQTimer::singleShot(0, this, SLOT(close())); + TQTimer::singleShot(0, this, TQ_SLOT(close())); } } diff --git a/clients/tde/src/app/views/instrumentview.h b/clients/tde/src/app/views/instrumentview.h index 36b9aad..1f30444 100644 --- a/clients/tde/src/app/views/instrumentview.h +++ b/clients/tde/src/app/views/instrumentview.h @@ -18,7 +18,7 @@ typedef KParts::RemoteInstrumentPart InstrumentPart; class InstrumentView : public KMdiChildView { - Q_OBJECT + TQ_OBJECT public: InstrumentView(const TQString &library, TQWidget *parentWidget=0L, const char *name=0L, WFlags f=0); |