summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsfactory.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:12:07 -0600
commit3ed7c09d22a5f310a97516f5bab6068e5688a813 (patch)
tree23ba07d28f7fad17824db1fc40e9cf1ad4942480 /kjsembed/jsfactory.cpp
parent3a8473ba2620b85b165b5a2fa1a6b153f5945800 (diff)
downloadtdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.tar.gz
tdebindings-3ed7c09d22a5f310a97516f5bab6068e5688a813.zip
Rename a number of classes to enhance compatibility with KDE4
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