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 dc5d7c2b..addc7552 100644
--- a/kjsembed/slotproxy.cpp
+++ b/kjsembed/slotproxy.cpp
@@ -40,14 +40,14 @@
namespace KJSEmbed {
-JSSlotProxy::JSSlotProxy( TQObject *parent, const char *name )
- : TQObject( parent, name ? name : "slot_proxy" ),
+JSSlotProxy::JSSlotProxy( TTQObject *parent, const char *name )
+ : TTQObject( parent, name ? name : "slot_proxy" ),
proxy(0), js(0)
{
}
-JSSlotProxy::JSSlotProxy( TQObject *parent, const char *name, JSObjectProxy *prx )
- : TQObject( parent, name ? name : "slot_proxy" ),
+JSSlotProxy::JSSlotProxy( TTQObject *parent, const char *name, JSObjectProxy *prx )
+ : TTQObject( 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 TQString &s )
+void JSSlotProxy::slot_string( const TTQString &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 TQColor &color )
+void JSSlotProxy::slot_color( const TTQColor &color )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), color) );
execute( args );
}
-void JSSlotProxy::slot_font( const TQFont &font )
+void JSSlotProxy::slot_font( const TTQFont &font )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), font) );
@@ -126,31 +126,31 @@ void JSSlotProxy::slot_font( const TQFont &font )
}// namespace KJSEmbed
-void KJSEmbed::JSSlotProxy::slot_point( const TQPoint & point )
+void KJSEmbed::JSSlotProxy::slot_point( const TTQPoint & point )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), point) );
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_rect( const TQRect & rec )
+void KJSEmbed::JSSlotProxy::slot_rect( const TTQRect & rec )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), rec) );
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_size( const TQSize & size )
+void KJSEmbed::JSSlotProxy::slot_size( const TTQSize & size )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), size) );
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_pixmap( const TQPixmap & pix )
+void KJSEmbed::JSSlotProxy::slot_pixmap( const TTQPixmap & pix )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), TQVariant( pix ) ) );
+ args.append( convertToValue(js->globalExec(), TTQVariant( pix ) ) );
execute( args );
}
@@ -211,7 +211,7 @@ void KJSEmbed::JSSlotProxy::execute( const KJS::List &args )
}
}
-void KJSEmbed::JSSlotProxy::slot_widget( TQWidget * widget )
+void KJSEmbed::JSSlotProxy::slot_widget( TTQWidget * widget )
{
KJS::List args;
if ( widget )
@@ -222,22 +222,22 @@ void KJSEmbed::JSSlotProxy::slot_widget( TQWidget * widget )
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_datetime( const TQDateTime & dateTime )
+void KJSEmbed::JSSlotProxy::slot_datetime( const TTQDateTime & dateTime )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), TQVariant( dateTime ) ));
+ args.append( convertToValue(js->globalExec(), TTQVariant( dateTime ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_datedate( const TQDate & date1, const TQDate & date2 )
+void KJSEmbed::JSSlotProxy::slot_datedate( const TTQDate & date1, const TTQDate & date2 )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), TQVariant( date1 ) ));
- args.append( convertToValue(js->globalExec(), TQVariant( date2 ) ));
+ args.append( convertToValue(js->globalExec(), TTQVariant( date1 ) ));
+ args.append( convertToValue(js->globalExec(), TTQVariant( date2 ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_colorstring( const TQColor & color, const TQString & string )
+void KJSEmbed::JSSlotProxy::slot_colorstring( const TTQColor & color, const TTQString & string )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), color ));
@@ -245,28 +245,28 @@ void KJSEmbed::JSSlotProxy::slot_colorstring( const TQColor & color, const TQStr
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_image( const TQImage & image )
+void KJSEmbed::JSSlotProxy::slot_image( const TTQImage & image )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), TQVariant( image ) ));
+ args.append( convertToValue(js->globalExec(), TTQVariant( image ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_date( const TQDate & date )
+void KJSEmbed::JSSlotProxy::slot_date( const TTQDate & date )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), TQVariant( date ) ));
+ args.append( convertToValue(js->globalExec(), TTQVariant( date ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_time( const TQTime &time )
+void KJSEmbed::JSSlotProxy::slot_time( const TTQTime &time )
{
KJS::List args;
- args.append( convertToValue(js->globalExec(), TQVariant( time ) ));
+ args.append( convertToValue(js->globalExec(), TTQVariant( time ) ));
execute( args );
}
-void KJSEmbed::JSSlotProxy::slot_variant( const TQVariant & variant )
+void KJSEmbed::JSSlotProxy::slot_variant( const TTQVariant & variant )
{
KJS::List args;
args.append( convertToValue(js->globalExec(), variant ) );