summaryrefslogtreecommitdiffstats
path: root/kjsembed/slotproxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/slotproxy.cpp')
-rw-r--r--kjsembed/slotproxy.cpp52
1 files changed, 26 insertions, 26 deletions
diff --git a/kjsembed/slotproxy.cpp b/kjsembed/slotproxy.cpp
index 7a99f056..dc5d7c2b 100644
--- a/kjsembed/slotproxy.cpp
+++ b/kjsembed/slotproxy.cpp
@@ -40,14 +40,14 @@
namespace KJSEmbed {
-JSSlotProxy::JSSlotProxy( QObject *parent, const char *name )
- : QObject( parent, name ? name : "slot_proxy" ),
+JSSlotProxy::JSSlotProxy( TQObject *parent, const char *name )
+ : TQObject( parent, name ? name : "slot_proxy" ),
proxy(0), js(0)
{
}
-JSSlotProxy::JSSlotProxy( QObject *parent, const char *name, JSObjectProxy *prx )
- : QObject( parent, name ? name : "slot_proxy" ),
+JSSlotProxy::JSSlotProxy( TQObject *parent, const char *name, JSObjectProxy *prx )
+ : TQObject( parent, name ? name : "slot_proxy" ),
proxy(prx), js( prx ? prx->interpreter() : 0 )
{
}
@@ -68,7 +68,7 @@ void JSSlotProxy::slot_bool( bool b )
execute( args );
}
-void JSSlotProxy::slot_string( const QString &s )
+void JSSlotProxy::slot_string( const TQString &s )
{
KJS::List args;
args.append( KJS::String(s) );
@@ -110,14 +110,14 @@ void JSSlotProxy::slot_double( double d )
execute( args );
}
-void JSSlotProxy::slot_color( const QColor &color )
+void JSSlotProxy::slot_color( const TQColor &color )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), color) );
execute( args );
}
-void JSSlotProxy::slot_font( const QFont &font )
+void JSSlotProxy::slot_font( const TQFont &font )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), font) );
@@ -126,31 +126,31 @@ void JSSlotProxy::slot_font( const QFont &font )
}// namespace KJSEmbed
-void KJSEmbed::JSSlotProxy::slot_point( const QPoint & point )
+void KJSEmbed::JSSlotProxy::slot_point( const TQPoint & point )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), point) );
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_rect( const QRect & rec )
+void KJSEmbed::JSSlotProxy::slot_rect( const TQRect & rec )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), rec) );
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_size( const QSize & size )
+void KJSEmbed::JSSlotProxy::slot_size( const TQSize & size )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), size) );
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_pixmap( const QPixmap & pix )
+void KJSEmbed::JSSlotProxy::slot_pixmap( const TQPixmap & pix )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), QVariant( pix ) ) );
+ args.append( convertToValue(js->globalExec(), TQVariant( pix ) ) );
execute( args );
}
@@ -211,7 +211,7 @@ void KJSEmbed::JSSlotProxy::execute( const KJS::List &args )
}
}
-void KJSEmbed::JSSlotProxy::slot_widget( QWidget * widget )
+void KJSEmbed::JSSlotProxy::slot_widget( TQWidget * widget )
{
KJS::List args;
if ( widget )
@@ -222,22 +222,22 @@ void KJSEmbed::JSSlotProxy::slot_widget( QWidget * widget )
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_datetime( const QDateTime & dateTime )
+void KJSEmbed::JSSlotProxy::slot_datetime( const TQDateTime & dateTime )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), QVariant( dateTime ) ));
+ args.append( convertToValue(js->globalExec(), TQVariant( dateTime ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_datedate( const QDate & date1, const QDate & date2 )
+void KJSEmbed::JSSlotProxy::slot_datedate( const TQDate & date1, const TQDate & date2 )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), QVariant( date1 ) ));
- args.append( convertToValue(js->globalExec(), QVariant( date2 ) ));
+ args.append( convertToValue(js->globalExec(), TQVariant( date1 ) ));
+ args.append( convertToValue(js->globalExec(), TQVariant( date2 ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_colorstring( const QColor & color, const QString & string )
+void KJSEmbed::JSSlotProxy::slot_colorstring( const TQColor & color, const TQString & string )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), color ));
@@ -245,28 +245,28 @@ void KJSEmbed::JSSlotProxy::slot_colorstring( const QColor & color, const QStrin
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_image( const QImage & image )
+void KJSEmbed::JSSlotProxy::slot_image( const TQImage & image )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), QVariant( image ) ));
+ args.append( convertToValue(js->globalExec(), TQVariant( image ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_date( const QDate & date )
+void KJSEmbed::JSSlotProxy::slot_date( const TQDate & date )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), QVariant( date ) ));
+ args.append( convertToValue(js->globalExec(), TQVariant( date ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_time( const QTime &time )
+void KJSEmbed::JSSlotProxy::slot_time( const TQTime &time )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), QVariant( time ) ));
+ args.append( convertToValue(js->globalExec(), TQVariant( time ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_variant( const QVariant & variant )
+void KJSEmbed::JSSlotProxy::slot_variant( const TQVariant & variant )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), variant ) );