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