From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kross/python/pythonextension.h | 54 +++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'lib/kross/python/pythonextension.h') diff --git a/lib/kross/python/pythonextension.h b/lib/kross/python/pythonextension.h index 02e425879..b19a11a1f 100644 --- a/lib/kross/python/pythonextension.h +++ b/lib/kross/python/pythonextension.h @@ -27,12 +27,12 @@ #include "../api/dict.h" #include "../api/class.h" -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include namespace Kross { namespace Python { @@ -135,46 +135,46 @@ namespace Kross { namespace Python { static Kross::Api::Object::Ptr toObject(const Py::Object& object); /** - * Converts a QString to a Py::Object. If - * the QString isNull() then Py::None() will + * Converts a TQString to a Py::Object. If + * the TQString isNull() then Py::None() will * be returned. * - * \param s The QString to convert. - * \return The to a Py::String converted QString. + * \param s The TQString to convert. + * \return The to a Py::String converted TQString. */ - static const Py::Object toPyObject(const QString& s); + static const Py::Object toPyObject(const TQString& s); /** - * Converts a QStringList to a Py::List. + * Converts a TQStringList to a Py::List. * - * \param list The QStringList to convert. - * \return The to a Py::List converted QStringList. + * \param list The TQStringList to convert. + * \return The to a Py::List converted TQStringList. */ - static const Py::List toPyObject(const QStringList& list); + static const Py::List toPyObject(const TQStringList& list); /** - * Converts a QMap to a Py::Dict. + * Converts a TQMap to a Py::Dict. * - * \param map The QMap to convert. - * \return The to a Py::Dict converted QMap. + * \param map The TQMap to convert. + * \return The to a Py::Dict converted TQMap. */ - static const Py::Dict toPyObject(const QMap& map); + static const Py::Dict toPyObject(const TQMap& map); /** - * Converts a QValueList to a Py::List. + * Converts a TQValueList to a Py::List. * - * \param list The QValueList to convert. - * \return The to a Py::List converted QValueList. + * \param list The TQValueList to convert. + * \return The to a Py::List converted TQValueList. */ - static const Py::List toPyObject(const QValueList& list); + static const Py::List toPyObject(const TQValueList& list); /** - * Converts a QVariant to a Py::Object. + * Converts a TQVariant to a Py::Object. * - * \param variant The QVariant to convert. - * \return The to a Py::Object converted QVariant. + * \param variant The TQVariant to convert. + * \return The to a Py::Object converted TQVariant. */ - static const Py::Object toPyObject(const QVariant& variant); + static const Py::Object toPyObject(const TQVariant& variant); /** * Converts a \a Kross::Api::Object to a Py::Object. -- cgit v1.2.3