summaryrefslogtreecommitdiffstats
path: root/lib/kross/test/testaction.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /lib/kross/test/testaction.cpp
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'lib/kross/test/testaction.cpp')
-rw-r--r--lib/kross/test/testaction.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kross/test/testaction.cpp b/lib/kross/test/testaction.cpp
index 481de0cf..42963904 100644
--- a/lib/kross/test/testaction.cpp
+++ b/lib/kross/test/testaction.cpp
@@ -22,15 +22,15 @@
TestAction::TestAction(Kross::Api::ScriptContainer::Ptr scriptcontainer)
: TQWidget()
{
- m_actioncollection = new KActionCollection(this, this);
+ m_actioncollection = new TDEActionCollection(this, this);
- m_action1 = new KAction("Action1_Text", 0, this, TQT_SLOT(activatedAction1()), m_actioncollection, "Action1");
+ m_action1 = new TDEAction("Action1_Text", 0, this, TQT_SLOT(activatedAction1()), m_actioncollection, "Action1");
m_actionlist.append(m_action1);
- scriptcontainer->addKAction(m_action1);
+ scriptcontainer->addTDEAction(m_action1);
- m_action2 = new KAction("Action2_Text", 0, this, TQT_SLOT(activatedAction2()), m_actioncollection, "Action2");
+ m_action2 = new TDEAction("Action2_Text", 0, this, TQT_SLOT(activatedAction2()), m_actioncollection, "Action2");
m_actionlist.append(m_action2);
- scriptcontainer->addKAction(m_action2);
+ scriptcontainer->addTDEAction(m_action2);
}
TestAction::~TestAction()