diff options
Diffstat (limited to 'kjsembed/slotproxy.h')
-rw-r--r-- | kjsembed/slotproxy.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/kjsembed/slotproxy.h b/kjsembed/slotproxy.h index 2dc3565d..b0c4cb42 100644 --- a/kjsembed/slotproxy.h +++ b/kjsembed/slotproxy.h @@ -32,9 +32,9 @@ #include <kjsembed/qtstubs.h> #endif // QT_ONLY -class TQDate; -class TQTime; -class TQDateTime; +class TTQDate; +class TTQTime; +class TTQDateTime; namespace KJS { class Interpreter; @@ -49,58 +49,58 @@ class JSObjectProxy; * * @author Richard Moore, rich@kde.org */ -class KJSEMBED_EXPORT JSSlotProxy : public QObject +class KJSEMBED_EXPORT JSSlotProxy : public TQObject { Q_OBJECT public: - JSSlotProxy( TQObject *parent, const char *name=0 ); - JSSlotProxy( TQObject *parent, const char *name, JSObjectProxy *prx ); + JSSlotProxy( TTQObject *parent, const char *name=0 ); + JSSlotProxy( TTQObject *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 TQString &method ) { this->method = method; } + void setMethod( const TTQString &method ) { this->method = method; } public slots: void slot_void(); void slot_bool( bool b ); - void slot_string( const TQString &s ); + void slot_string( const TTQString &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 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_font( const TTQFont &font ); + void slot_color( const TTQColor &color ); + void slot_point( const TTQPoint &point ); + void slot_rect( const TTQRect &rec ); + void slot_size( const TTQSize &size ); + void slot_pixmap( const TTQPixmap &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 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_date(const TTQDate& date); + void slot_time(const TTQTime& time); + void slot_datetime( const TTQDateTime &dateTime ); + void slot_datedate( const TTQDate &date1, const TTQDate &date2 ); + void slot_colorstring( const TTQColor &color, const TTQString &string); + void slot_image( const TTQImage &image ); - void slot_variant( const TQVariant &variant ); + void slot_variant( const TTQVariant &variant ); - void slot_widget( TQWidget *widget ); + void slot_widget( TTQWidget *widget ); private: void execute( const KJS::List &args ); JSObjectProxy *proxy; KJS::Interpreter *js; KJS::Object obj; - TQString method; + TTQString method; class SlotProxyPrivate *d; }; |