diff options
Diffstat (limited to 'kstars/kstars/indidriver.cpp')
-rw-r--r-- | kstars/kstars/indidriver.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kstars/kstars/indidriver.cpp b/kstars/kstars/indidriver.cpp index 8c2e0db6..f9073f23 100644 --- a/kstars/kstars/indidriver.cpp +++ b/kstars/kstars/indidriver.cpp @@ -102,11 +102,11 @@ INDIDriver::INDIDriver(TQWidget *parent) : devManager( parent ) TQObject::connect(clientListView, TQT_SIGNAL(rightButtonPressed ( TQListViewItem *, const TQPoint &, int )), this, TQT_SLOT(ClientprocessRightButton( TQListViewItem *, const TQPoint &, int ))); -TQObject::connect(ClientpopMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(processHostStatus(int))); +TQObject::connect(ClientpopMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(processHostqStatus(int))); TQObject::connect(localListView, TQT_SIGNAL(rightButtonPressed ( TQListViewItem *, const TQPoint &, int )), this, TQT_SLOT(LocalprocessRightButton( TQListViewItem *, const TQPoint &, int ))); -TQObject::connect(LocalpopMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(processDeviceStatus(int))); +TQObject::connect(LocalpopMenu, TQT_SIGNAL(activated(int)), this, TQT_SLOT(processDevicetqStatus(int))); TQObject::connect(ksw->getINDIMenu(), TQT_SIGNAL(driverDisconnected(int)), this, TQT_SLOT(shutdownHost(int))); @@ -183,22 +183,22 @@ void INDIDriver::LocalprocessRightButton( TQListViewItem *item, const TQPoint &p void INDIDriver::activateRunService() { - processDeviceStatus(0); + processDevicetqStatus(0); } void INDIDriver::activateStopService() { - processDeviceStatus(1); + processDevicetqStatus(1); } void INDIDriver::activateHostConnection() { - processHostStatus(0); + processHostqStatus(0); } void INDIDriver::activateHostDisconnection() { - processHostStatus(1); + processHostqStatus(1); } void INDIDriver::updateLocalButtons() @@ -244,7 +244,7 @@ for (uint i=0; i < ksw->data()->INDIHostsList.count(); i++) } -void INDIDriver::processDeviceStatus(int id) +void INDIDriver::processDevicetqStatus(int id) { if (localListView->selectedItem() == NULL) return; @@ -301,7 +301,7 @@ void INDIDriver::processDeviceStatus(int id) } } -void INDIDriver::processHostStatus(int id) +void INDIDriver::processHostqStatus(int id) { int mgrID; bool toConnect = (id == 0); @@ -829,7 +829,7 @@ void INDIDriver::modifyINDIHost() currentItem->setText(1, hostConf.nameIN->text()); currentItem->setText(2, hostConf.portnumber->text()); - ksw->data()->INDIHostsList.replace(clientListView->itemIndex(currentItem), hostItem); + ksw->data()->INDIHostsList.tqreplace(clientListView->itemIndex(currentItem), hostItem); saveHosts(); } |