summaryrefslogtreecommitdiffstats
path: root/xparts
diff options
context:
space:
mode:
Diffstat (limited to 'xparts')
-rw-r--r--xparts/mozilla/kshell.cpp2
-rw-r--r--xparts/src/kde/xparthost_kpart.cpp12
-rw-r--r--xparts/xpart_notepad/shell_xparthost.cpp4
3 files changed, 9 insertions, 9 deletions
diff --git a/xparts/mozilla/kshell.cpp b/xparts/mozilla/kshell.cpp
index b6935b47..31103418 100644
--- a/xparts/mozilla/kshell.cpp
+++ b/xparts/mozilla/kshell.cpp
@@ -32,7 +32,7 @@ public:
#endif
KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() );
- KSelectAction *s = new KSelectAction( "http://www.kde.org" , 0,
+ TDESelectAction *s = new TDESelectAction( "http://www.kde.org" , 0,
actionCollection(), "location" );
connect( s, TQT_SIGNAL(activated( const TQString& ) ), this, TQT_SLOT( slotOpenUrl( const TQString & ) ) );
s->setEditable(true);
diff --git a/xparts/src/kde/xparthost_kpart.cpp b/xparts/src/kde/xparthost_kpart.cpp
index 8610c4c5..9195a278 100644
--- a/xparts/src/kde/xparthost_kpart.cpp
+++ b/xparts/src/kde/xparthost_kpart.cpp
@@ -77,9 +77,9 @@ void XPartHost_KPart::createActions( const TQCString &xmlActions )
TQString type = e.attribute("type");
if(type.isEmpty())
- new KAction( name, 0, this, TQT_SLOT( actionActivated() ), actionCollection(), name.latin1() );
+ new TDEAction( name, 0, this, TQT_SLOT( actionActivated() ), actionCollection(), name.latin1() );
else if( type == "toggle" )
- new KToggleAction( name, 0, this, TQT_SLOT( actionActivated() ), actionCollection(), name.latin1() );
+ new TDEToggleAction( name, 0, this, TQT_SLOT( actionActivated() ), actionCollection(), name.latin1() );
kdDebug() << "action=" << name << " type=" << type << endl;
} else if ( e.tagName() == "XMLFile" ) {
TQString location = e.attribute("location");
@@ -133,14 +133,14 @@ void XPartHost_KPart::actionActivated()
{
const TQObject *o = sender();
- if( !o->inherits("KAction") ) return;
+ if( !o->inherits("TDEAction") ) return;
- const KAction *action = static_cast<const KAction *>(o);
+ const TDEAction *action = static_cast<const TDEAction *>(o);
TQString name = action->text();
int state = 0;
- if(action->inherits("KToggleAction")) {
- const KToggleAction *t = static_cast<const KToggleAction *>(action);
+ if(action->inherits("TDEToggleAction")) {
+ const TDEToggleAction *t = static_cast<const TDEToggleAction *>(action);
state = t->isChecked();
}
diff --git a/xparts/xpart_notepad/shell_xparthost.cpp b/xparts/xpart_notepad/shell_xparthost.cpp
index 8ea38f75..16f23b62 100644
--- a/xparts/xpart_notepad/shell_xparthost.cpp
+++ b/xparts/xpart_notepad/shell_xparthost.cpp
@@ -28,9 +28,9 @@ ShellWindow::ShellWindow()
m_partProcess->start();
// Init our Gui
- (void) new KAction( "Hop", 0, this, TQT_SLOT(hop()), actionCollection(), "hop" );
+ (void) new TDEAction( "Hop", 0, this, TQT_SLOT(hop()), actionCollection(), "hop" );
KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() );
- KSelectAction *s = new KSelectAction( "http://www.kde.org" , 0,
+ TDESelectAction *s = new TDESelectAction( "http://www.kde.org" , 0,
actionCollection(), "location" );
connect( s, TQT_SIGNAL(activated( const TQString& ) ), this, TQT_SLOT( slotOpenUrl( const TQString & ) ) );
s->setEditable(true);