diff options
Diffstat (limited to 'lib/kross/api/eventslot.h')
| -rw-r--r-- | lib/kross/api/eventslot.h | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/lib/kross/api/eventslot.h b/lib/kross/api/eventslot.h index 8f564103c..f9736fd0a 100644 --- a/lib/kross/api/eventslot.h +++ b/lib/kross/api/eventslot.h @@ -20,8 +20,8 @@ #ifndef KROSS_API_EVENTSLOT_H #define KROSS_API_EVENTSLOT_H -#include <qstring.h> -#include <qobject.h> +#include <tqstring.h> +#include <tqobject.h> #include <ksharedptr.h> #include "event.h" @@ -29,7 +29,7 @@ namespace Kross { namespace Api { /** - * Each Qt signal and slot connection between a QObject + * Each TQt signal and slot connection between a TQObject * instance and a functionname is represented with * a EventSlot and handled by the \a EventManager. */ @@ -47,12 +47,12 @@ namespace Kross { namespace Api { * * \param name The name of the EventSlot. The EventSlot * will be accessible by that unique name via - * it's parent. + * it's tqparent. * \param receiver The receiver of the event. * \param slot The slot of the receiver which this * EventSlot points to. */ - EventSlot(const QString& name, QObject* receiver, QCString slot); + EventSlot(const TQString& name, TQObject* receiver, TQCString slot); /** * Destructor. @@ -60,21 +60,21 @@ namespace Kross { namespace Api { virtual ~EventSlot(); /// \see Kross::Api::Object::getClassName() - virtual const QString getClassName() const; + virtual const TQString getClassName() const; /// \see Kross::Api::Event::call() - virtual Object::Ptr call(const QString& name, KSharedPtr<List> arguments); + virtual Object::Ptr call(const TQString& name, KSharedPtr<List> arguments); /* private: EventManager* m_eventmanager; - QGuardedPtr<QObject> m_sender; - QCString m_signal; - QCString m_slot; - QString m_function; - QValueList<EventSlot*> m_slots; + TQGuardedPtr<TQObject> m_sender; + TQCString m_signal; + TQCString m_slot; + TQString m_function; + TQValueList<EventSlot*> m_slots; protected: - void call(const QVariant&); + void call(const TQVariant&); public slots: // Stupid signals and slots. To get the passed // arguments we need to have all cases of slots @@ -89,32 +89,32 @@ namespace Kross { namespace Api { void callback(int, int, int, int, bool); void callback(int, bool); void callback(int, int, bool); - void callback(int, int, const QString&); + void callback(int, int, const TQString&); void callback(uint); void callback(long); void callback(ulong); void callback(double); void callback(const char*); void callback(bool); - void callback(const QString&); - void callback(const QString&, int); - void callback(const QString&, int, int); - void callback(const QString&, uint); - void callback(const QString&, bool); - void callback(const QString&, bool, bool); - void callback(const QString&, bool, int); - void callback(const QString&, const QString&); - void callback(const QString&, const QString&, const QString&); - void callback(const QStringList&); - void callback(const QVariant&); + void callback(const TQString&); + void callback(const TQString&, int); + void callback(const TQString&, int, int); + void callback(const TQString&, uint); + void callback(const TQString&, bool); + void callback(const TQString&, bool, bool); + void callback(const TQString&, bool, int); + void callback(const TQString&, const TQString&); + void callback(const TQString&, const TQString&, const TQString&); + void callback(const TQStringList&); + void callback(const TQVariant&); // The following both slots are more generic to // handle Kross::Api::Object instances. //void callback(Kross::Api::Object*); //void callback(Kross::Api::List*); */ private: - QObject* m_receiver; - QCString m_slot; + TQObject* m_receiver; + TQCString m_slot; }; }} |
