diff options
Diffstat (limited to 'kjsembed/slotproxy.h')
-rw-r--r-- | kjsembed/slotproxy.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kjsembed/slotproxy.h b/kjsembed/slotproxy.h index 3df42215..4ed96b24 100644 --- a/kjsembed/slotproxy.h +++ b/kjsembed/slotproxy.h @@ -24,7 +24,7 @@ #include <kjsembed/global.h> #include <kjs/object.h> -#include <qobject.h> +#include <tqobject.h> #ifndef QT_ONLY #include <kurl.h> @@ -54,53 +54,53 @@ class KJSEMBED_EXPORT JSSlotProxy : public QObject Q_OBJECT public: - JSSlotProxy( QObject *parent, const char *name=0 ); - JSSlotProxy( QObject *parent, const char *name, JSObjectProxy *prx ); + JSSlotProxy( TQObject *parent, const char *name=0 ); + JSSlotProxy( TQObject *parent, const char *name, JSObjectProxy *prx ); virtual ~JSSlotProxy(); void setInterpreter( KJS::Interpreter *js ) { this->js = js; } void setProxy( JSObjectProxy *proxy ) { this->proxy = proxy; } void setObject( const KJS::Object &obj ) { this->obj = obj; } - void setMethod( const QString &method ) { this->method = method; } + void setMethod( const TQString &method ) { this->method = method; } public slots: void slot_void(); void slot_bool( bool b ); - void slot_string( const QString &s ); + void slot_string( const TQString &s ); void slot_int( int i ); void slot_uint( uint i ); void slot_long( long i ); void slot_ulong( ulong i ); void slot_double( double d ); - void slot_font( const QFont &font ); - void slot_color( const QColor &color ); - void slot_point( const QPoint &point ); - void slot_rect( const QRect &rec ); - void slot_size( const QSize &size ); - void slot_pixmap( const QPixmap &pix ); + void slot_font( const TQFont &font ); + void slot_color( const TQColor &color ); + void slot_point( const TQPoint &point ); + void slot_rect( const TQRect &rec ); + void slot_size( const TQSize &size ); + void slot_pixmap( const TQPixmap &pix ); void slot_url( const KURL &url ); void slot_intint( int , int ); void slot_intbool( int , bool ); void slot_intintint( int , int , int ); - void slot_date(const QDate& date); - void slot_time(const QTime& time); - void slot_datetime( const QDateTime &dateTime ); - void slot_datedate( const QDate &date1, const QDate &date2 ); - void slot_colorstring( const QColor &color, const QString &string); - void slot_image( const QImage &image ); + void slot_date(const TQDate& date); + void slot_time(const TQTime& time); + void slot_datetime( const TQDateTime &dateTime ); + void slot_datedate( const TQDate &date1, const TQDate &date2 ); + void slot_colorstring( const TQColor &color, const TQString &string); + void slot_image( const TQImage &image ); - void slot_variant( const QVariant &variant ); + void slot_variant( const TQVariant &variant ); - void slot_widget( QWidget *widget ); + void slot_widget( TQWidget *widget ); private: void execute( const KJS::List &args ); JSObjectProxy *proxy; KJS::Interpreter *js; KJS::Object obj; - QString method; + TQString method; class SlotProxyPrivate *d; }; |