summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/jsfactory.cpp')
-rw-r--r--kjsembed/jsfactory.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kjsembed/jsfactory.cpp b/kjsembed/jsfactory.cpp
index 51e66f2f..c2606430 100644
--- a/kjsembed/jsfactory.cpp
+++ b/kjsembed/jsfactory.cpp
@@ -458,10 +458,10 @@ namespace KJSEmbed {
#ifndef QT_ONLY
// TQObjects defined by KDE
- else if ( cname == "KAction" )
- return new KAction( parent, name );
- else if ( cname == "KToggleAction" )
- return new KToggleAction( parent, name );
+ else if ( cname == "TDEAction" )
+ return new TDEAction( parent, name );
+ else if ( cname == "TDEToggleAction" )
+ return new TDEToggleAction( parent, name );
#endif // QT_ONLY
TQWidget *w = dynamic_cast<TQWidget *>( parent );
@@ -635,8 +635,8 @@ namespace KJSEmbed {
return new TQSplashScreen( pix );
}
#ifndef QT_ONLY
- else if ( cname == "KMainWindow" )
- return new KMainWindow( pw, name );
+ else if ( cname == "TDEMainWindow" )
+ return new TDEMainWindow( pw, name );
else if ( cname == "KParts_MainWindow" )
return new KParts::MainWindow( pw, name );
else if ( cname == "KSystemTray" )
@@ -877,8 +877,8 @@ namespace KJSEmbed {
"TQObject", "TQTimer", "TQSplashScreen", "TQProgressDialog",
"TQLayout", "TQBoxLayout", "TQHBoxLayout", "TQVBoxLayout",
#ifndef QT_ONLY
- "KMainWindow", "KXMLGUIClient", "KSystemTray",
- "KAction", "KToggleAction",
+ "TDEMainWindow", "KXMLGUIClient", "KSystemTray",
+ "TDEAction", "TDEToggleAction",
"KParts_MainWindow",
#endif // QT_ONLY
0