summaryrefslogtreecommitdiffstats
path: root/kparts/tests
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/tests')
-rw-r--r--kparts/tests/example.cpp2
-rw-r--r--kparts/tests/normalktm.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kparts/tests/example.cpp b/kparts/tests/example.cpp
index 3675781ea..4628e8ca7 100644
--- a/kparts/tests/example.cpp
+++ b/kparts/tests/example.cpp
@@ -63,7 +63,7 @@ Shell::~Shell()
void Shell::slotFileOpen()
{
- if ( ! m_part1->openURL( locate("data", KGlobal::instance()->instanceName()+"/kpartstest_shell.rc" ) ) )
+ if ( ! m_part1->openURL( locate("data", TDEGlobal::instance()->instanceName()+"/kpartstest_shell.rc" ) ) )
KMessageBox::error(this,"Couldn't open file !");
}
diff --git a/kparts/tests/normalktm.cpp b/kparts/tests/normalktm.cpp
index 82c464a5a..913686bf9 100644
--- a/kparts/tests/normalktm.cpp
+++ b/kparts/tests/normalktm.cpp
@@ -61,7 +61,7 @@ Shell::~Shell()
void Shell::slotFileOpen()
{
- if ( ! m_part1->openURL( locate("data", KGlobal::instance()->instanceName()+"/kpartstest_shell.rc" ) ) )
+ if ( ! m_part1->openURL( locate("data", TDEGlobal::instance()->instanceName()+"/kpartstest_shell.rc" ) ) )
KMessageBox::error(this,"Couldn't open file !");
}