diff options
Diffstat (limited to 'kstars/kstars/indimenu.cpp')
-rw-r--r-- | kstars/kstars/indimenu.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kstars/kstars/indimenu.cpp b/kstars/kstars/indimenu.cpp index fb5b4c73..fa96accb 100644 --- a/kstars/kstars/indimenu.cpp +++ b/kstars/kstars/indimenu.cpp @@ -27,13 +27,13 @@ #include <stdlib.h> #include <tqlineedit.h> -#include <tqtextedit.h> +#include <textedit.h> #include <tqframe.h> #include <tqtabwidget.h> #include <tqcheckbox.h> #include <tqlabel.h> #include <tqpushbutton.h> -#include <tqlayout.h> +#include <layout.h> #include <tqsocketnotifier.h> #include <tqdatetime.h> #include <tqvbox.h> @@ -82,7 +82,7 @@ INDIMenu::~INDIMenu() ** Traverse the drivers list, check for updated drivers and take ** appropriate action *********************************************************************/ -void INDIMenu::updatetqStatus() +void INDIMenu::updateStatus() { INDIDriver *drivers = ksw->getINDIDriver(); @@ -122,7 +122,7 @@ DeviceManager *dev; if (drivers->devices[i]->state && drivers->devices[i]->managed == false && drivers->devices[i]->mode == IDevice::M_LOCAL) { dev = new DeviceManager(this, mgrCounter); - if (dev->indiConnect("localhost", TQString("%1").tqarg(drivers->devices[i]->indiPort))) + if (dev->indiConnect("localhost", TQString("%1").arg(drivers->devices[i]->indiPort))) { drivers->devices[i]->mgrID = mgrCounter; drivers->devices[i]->managed = true; @@ -226,7 +226,7 @@ for (unsigned int i=0; i < mgr.count(); i++) nset++; if (nset) - currentLabel = deviceName + TQString(" %1").tqarg(nset+1); + currentLabel = deviceName + TQString(" %1").arg(nset+1); else currentLabel = deviceName; |