summaryrefslogtreecommitdiffstats
path: root/clients/tde/src/part/commanalyzer
diff options
context:
space:
mode:
Diffstat (limited to 'clients/tde/src/part/commanalyzer')
-rw-r--r--clients/tde/src/part/commanalyzer/part.cpp16
-rw-r--r--clients/tde/src/part/commanalyzer/part.h4
2 files changed, 10 insertions, 10 deletions
diff --git a/clients/tde/src/part/commanalyzer/part.cpp b/clients/tde/src/part/commanalyzer/part.cpp
index 5c8fab3..774967b 100644
--- a/clients/tde/src/part/commanalyzer/part.cpp
+++ b/clients/tde/src/part/commanalyzer/part.cpp
@@ -76,9 +76,9 @@ CommAnalyzerPart::CommAnalyzerPart( TQWidget *parentWidget, const char *widgetNa
// Create timers
m_forcedUpdateTimer = new TQTimer(this);
- connect(m_forcedUpdateTimer, SIGNAL(timeout()), this, SLOT(mainEventLoop()));
+ connect(m_forcedUpdateTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(mainEventLoop()));
m_updateTimeoutTimer = new TQTimer(this);
- connect(m_updateTimeoutTimer, SIGNAL(timeout()), this, SLOT(mainEventLoop()));
+ connect(m_updateTimeoutTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(mainEventLoop()));
// Create widgets
m_base = new CommAnalyzerBase(widget());
@@ -112,17 +112,17 @@ CommAnalyzerPart::CommAnalyzerPart( TQWidget *parentWidget, const char *widgetNa
m_base->traceZoomWidget->setTraceName(0, "Trace 1");
m_base->traceZoomWidget->setTraceHorizontalUnits(0, "Hz");
m_base->traceZoomWidget->setTraceVerticalUnits(0, "dBm");
- connect(m_traceWidget, SIGNAL(zoomBoxChanged(const TQRectF&)), this, SLOT(updateZoomWidgetLimits(const TQRectF&)));
- connect(m_traceWidget, SIGNAL(offsetChanged(uint, double)), m_base->traceZoomWidget, SLOT(setTraceOffset(uint, double)));
+ connect(m_traceWidget, TQ_SIGNAL(zoomBoxChanged(const TQRectF&)), this, TQ_SLOT(updateZoomWidgetLimits(const TQRectF&)));
+ connect(m_traceWidget, TQ_SIGNAL(offsetChanged(uint, double)), m_base->traceZoomWidget, TQ_SLOT(setTraceOffset(uint, double)));
m_base->saRefLevel->setSizePolicy(TQSizePolicy(TQSizePolicy::Fixed, TQSizePolicy::Fixed));
m_base->saRefLevel->setFloatMin(-128);
m_base->saRefLevel->setFloatMax(128);
m_base->saRefLevel->setLineStep(1);
- connect(m_base->saRefLevel, SIGNAL(floatValueChanged(double)), this, SLOT(saRefLevelChanged(double)));
+ connect(m_base->saRefLevel, TQ_SIGNAL(floatValueChanged(double)), this, TQ_SLOT(saRefLevelChanged(double)));
- TQTimer::singleShot(0, this, TQT_SLOT(postInit()));
+ TQTimer::singleShot(0, this, TQ_SLOT(postInit()));
}
CommAnalyzerPart::~CommAnalyzerPart() {
@@ -168,9 +168,9 @@ void CommAnalyzerPart::disconnectFromServerCallback() {
}
void CommAnalyzerPart::connectionFinishedCallback() {
- connect(m_socket, SIGNAL(readyRead()), m_socket, SLOT(processPendingData()));
+ connect(m_socket, TQ_SIGNAL(readyRead()), m_socket, TQ_SLOT(processPendingData()));
m_socket->processPendingData();
- connect(m_socket, SIGNAL(newDataReceived()), this, SLOT(mainEventLoop()));
+ connect(m_socket, TQ_SIGNAL(newDataReceived()), this, TQ_SLOT(mainEventLoop()));
m_tickerState = 0;
m_commHandlerState = 0;
m_commHandlerMode = 0;
diff --git a/clients/tde/src/part/commanalyzer/part.h b/clients/tde/src/part/commanalyzer/part.h
index 65d56d0..3eb7542 100644
--- a/clients/tde/src/part/commanalyzer/part.h
+++ b/clients/tde/src/part/commanalyzer/part.h
@@ -43,10 +43,10 @@ namespace RemoteLab
{
class CommAnalyzerPart : public KParts::RemoteInstrumentPart
{
- Q_OBJECT
+ TQ_OBJECT
public:
- CommAnalyzerPart( QWidget *, const char *, TQObject *, const char *, const TQStringList&);
+ CommAnalyzerPart( TQWidget *, const char *, TQObject *, const char *, const TQStringList&);
~CommAnalyzerPart();
virtual bool openFile() { return false; } // pure virtual in the base class