From 6ec5cc8d82b29c330def669cf20534cadd2cf29e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 23:57:47 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- lib/kotext/tests/kobordertest.cpp | 4 ++-- lib/kotext/tests/kotextformattertest.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/kotext/tests') diff --git a/lib/kotext/tests/kobordertest.cpp b/lib/kotext/tests/kobordertest.cpp index 6dd37aa4..c4e59ffc 100644 --- a/lib/kotext/tests/kobordertest.cpp +++ b/lib/kotext/tests/kobordertest.cpp @@ -47,9 +47,9 @@ private: int main (int argc, char ** argv) { - KApplication::disableAutoDcopRegistration(); + TDEApplication::disableAutoDcopRegistration(); TDECmdLineArgs::init(argc,argv,"kobordertest", 0, 0, 0, 0); - KApplication app; + TDEApplication app; KoZoomHandler* zh = new KoZoomHandler(); diff --git a/lib/kotext/tests/kotextformattertest.cpp b/lib/kotext/tests/kotextformattertest.cpp index 6721f771..38aab237 100644 --- a/lib/kotext/tests/kotextformattertest.cpp +++ b/lib/kotext/tests/kotextformattertest.cpp @@ -202,7 +202,7 @@ void KoTextFormatterTest::counterAndBigChar() int main (int argc, char ** argv) { - KApplication app(argc, argv, "KoTextFormatter test"); + TDEApplication app(argc, argv, "KoTextFormatter test"); // Don't let locale settings lead to different hyphenation output KGlobal::locale()->setLanguage( TQString::fromLatin1( "en_US" ) ); -- cgit v1.2.1