diff options
Diffstat (limited to 'kstars/kstars/devicemanager.cpp')
-rw-r--r-- | kstars/kstars/devicemanager.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kstars/kstars/devicemanager.cpp b/kstars/kstars/devicemanager.cpp index 705ddfe0..a83cd5cc 100644 --- a/kstars/kstars/devicemanager.cpp +++ b/kstars/kstars/devicemanager.cpp @@ -42,14 +42,14 @@ ** This allow KStars to control multiple devices distributed acorss ** multiple servers seemingly in a way that is completely transparent ** to devices and drivers alike. -** The device Manager can be thought of as the 'networking' tqparent -** of devices, while indimenu is 'GUI' tqparent of devices +** The device Manager can be thought of as the 'networking' parent +** of devices, while indimenu is 'GUI' parent of devices *******************************************************************/ -DeviceManager::DeviceManager(INDIMenu *INDItqparent, int inID) +DeviceManager::DeviceManager(INDIMenu *INDIparent, int inID) { - tqparent = INDItqparent; + parent = INDIparent; mgrID = inID; indi_dev.setAutoDelete(true); @@ -154,7 +154,7 @@ void DeviceManager::dataReceived() tcflush(serverFD, TCIFLUSH); sNotifier->disconnect(); close(serverFD); - tqparent->removeDeviceMgr(mgrID); + parent->removeDeviceMgr(mgrID); KMessageBox::error(0, TQString::tqfromLatin1(errmsg)); return; @@ -309,17 +309,17 @@ INDI_D * DeviceManager::addDevice (XMLEle *dep, char errmsg[]) if (!ap) return NULL; - if (tqparent->currentLabel.isEmpty()) - tqparent->setCustomLabel(valuXMLAtt(ap)); + if (parent->currentLabel.isEmpty()) + parent->setCustomLabel(valuXMLAtt(ap)); - dp = new INDI_D(tqparent, this, TQString(valuXMLAtt(ap)), tqparent->currentLabel); + dp = new INDI_D(parent, this, TQString(valuXMLAtt(ap)), parent->currentLabel); indi_dev.append(dp); emit newDevice(); // Reset label - tqparent->currentLabel = ""; + parent->currentLabel = ""; /* ok */ return dp; @@ -405,7 +405,7 @@ void DeviceManager::doMsg (XMLEle *msg, INDI_D *dp) txt_w->insert( TQString(valuXMLAtt(message)) + TQString("\n")); if ( Options::indiMessages() ) - tqparent->ksw->statusBar()->changeItem( TQString(valuXMLAtt(message)), 0); + parent->ksw->statusBar()->changeItem( TQString(valuXMLAtt(message)), 0); } |