|
|
@ -446,8 +446,8 @@ TQString KNutNet::readEnumValueVar (const TQString name, const int valueNumber)
|
|
|
|
|
|
|
|
|
|
|
|
m_error =0;
|
|
|
|
m_error =0;
|
|
|
|
if (m_state == Connected) {
|
|
|
|
if (m_state == Connected) {
|
|
|
|
// #if defined (KDE_VERSION_MAJOR)
|
|
|
|
// #if defined (TDE_VERSION_MAJOR)
|
|
|
|
// #if KDE_VERSION_MAJOR >= 3
|
|
|
|
// #if TDE_VERSION_MAJOR >= 3
|
|
|
|
TQValueVector<upsVarDef>::const_iterator it;
|
|
|
|
TQValueVector<upsVarDef>::const_iterator it;
|
|
|
|
// #else
|
|
|
|
// #else
|
|
|
|
// TQValueList<upsVar>::ConstIterator it;
|
|
|
|
// TQValueList<upsVar>::ConstIterator it;
|
|
|
@ -966,8 +966,8 @@ void KNutNet::upsSetType (struct upsVarDef& upsVar, const TQString name, const T
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void KNutNet::deleteVars (void) {
|
|
|
|
void KNutNet::deleteVars (void) {
|
|
|
|
// #if defined (KDE_VERSION_MAJOR)
|
|
|
|
// #if defined (TDE_VERSION_MAJOR)
|
|
|
|
// #if KDE_VERSION_MAJOR >= 3
|
|
|
|
// #if TDE_VERSION_MAJOR >= 3
|
|
|
|
TQValueVector<upsVarDef>::iterator it;
|
|
|
|
TQValueVector<upsVarDef>::iterator it;
|
|
|
|
// #else
|
|
|
|
// #else
|
|
|
|
// TQValueList<upsVar>::Iterator it;
|
|
|
|
// TQValueList<upsVar>::Iterator it;
|
|
|
|