summaryrefslogtreecommitdiffstats
path: root/chalk/plugins/tools
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-19 23:57:47 -0600
committerTimothy Pearson <[email protected]>2013-01-19 23:57:47 -0600
commit6ec5cc8d82b29c330def669cf20534cadd2cf29e (patch)
tree7e66b929b5455837f22ea54ed91fc9af6f64f7bf /chalk/plugins/tools
parent68a4fdfd2c2b70a7c22c4c6d6c916e604a0efac2 (diff)
downloadkoffice-6ec5cc8d82b29c330def669cf20534cadd2cf29e.tar.gz
koffice-6ec5cc8d82b29c330def669cf20534cadd2cf29e.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'chalk/plugins/tools')
-rw-r--r--chalk/plugins/tools/defaulttools/kis_tool_zoom.cc4
-rw-r--r--chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cc b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cc
index f866e5e2..eda09f6e 100644
--- a/chalk/plugins/tools/defaulttools/kis_tool_zoom.cc
+++ b/chalk/plugins/tools/defaulttools/kis_tool_zoom.cc
@@ -131,8 +131,8 @@ void KisToolZoom::slotTimer()
#if KDE_IS_VERSION(3,4,0)
int state = kapp->keyboardMouseState() & (TQt::ShiftButton|TQt::ControlButton|TQt::AltButton);
#else
- int state = kapp->keyboardModifiers() & (KApplication::ShiftModifier
- |KApplication::ControlModifier|KApplication::Modifier1);
+ int state = kapp->keyboardModifiers() & (TDEApplication::ShiftModifier
+ |TDEApplication::ControlModifier|TDEApplication::Modifier1);
#endif
if (state & TQt::ControlButton) {
diff --git a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc
index 58db0dad..9eb795ba 100644
--- a/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc
+++ b/chalk/plugins/tools/tool_selectsimilar/kis_tool_selectsimilar.cc
@@ -168,8 +168,8 @@ void KisToolSelectSimilar::slotTimer()
#if KDE_IS_VERSION(3,4,0)
int state = kapp->keyboardMouseState() & (TQt::ShiftButton|TQt::ControlButton|TQt::AltButton);
#else
- int state = kapp->keyboardModifiers() & (KApplication::ShiftModifier
- |KApplication::ControlModifier|KApplication::Modifier1);
+ int state = kapp->keyboardModifiers() & (TDEApplication::ShiftModifier
+ |TDEApplication::ControlModifier|TDEApplication::Modifier1);
#endif
enumSelectionMode action;