summaryrefslogtreecommitdiffstats
path: root/krootbacking
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:17:06 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:17:06 -0600
commite4e0479220e9e9616b68b2a11e42cff7a8af7b3d (patch)
tree8e01571cdd132dad34ebec38b12c2dbc37d05bd9 /krootbacking
parentd41050ea3f6904e5156d35f664346b816b9e4d12 (diff)
downloadtdebase-e4e0479220e9e9616b68b2a11e42cff7a8af7b3d.tar.gz
tdebase-e4e0479220e9e9616b68b2a11e42cff7a8af7b3d.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'krootbacking')
-rw-r--r--krootbacking/krootbacking.cpp4
-rw-r--r--krootbacking/main.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/krootbacking/krootbacking.cpp b/krootbacking/krootbacking.cpp
index fe8574a93..9296a3f1e 100644
--- a/krootbacking/krootbacking.cpp
+++ b/krootbacking/krootbacking.cpp
@@ -52,7 +52,7 @@ public:
KRootBacking::KRootBacking()
- : TQObject(KApplication::desktop(), "KRootBacking" ), m_Desk(0), m_timeout(0)
+ : TQObject(TDEApplication::desktop(), "KRootBacking" ), m_Desk(0), m_timeout(0)
{
enableExports();
@@ -146,7 +146,7 @@ void KRootBacking::repaint()
void KRootBacking::repaint(bool force)
{
- TQWidget* desktopWidget = KApplication::desktop();
+ TQWidget* desktopWidget = TDEApplication::desktop();
TQPoint p1 = desktopWidget->mapToGlobal(desktopWidget->rect().topLeft());
TQPoint p2 = desktopWidget->mapToGlobal(desktopWidget->rect().bottomRight());
if (!force && (m_Rect == TQRect(p1, p2)))
diff --git a/krootbacking/main.cpp b/krootbacking/main.cpp
index 1b6f82011..c1a36f54e 100644
--- a/krootbacking/main.cpp
+++ b/krootbacking/main.cpp
@@ -52,7 +52,7 @@ int main(int argc, char **argv)
TDECmdLineArgs::init(argc, argv, &about);
TDECmdLineArgs::addCmdLineOptions( options );
- KApplication app;
+ TDEApplication app;
// no session.. just start up normally
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();