summaryrefslogtreecommitdiffstats
path: root/kdgantt/KDGanttViewSubwidgets.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-24 13:49:30 -0600
committerTimothy Pearson <[email protected]>2013-01-24 13:49:30 -0600
commita9bde819f2b421dcc44741156e75eca4bb5fb4f4 (patch)
treed087071b1e8fcf79698938efec19f8e48bab0799 /kdgantt/KDGanttViewSubwidgets.cpp
parent5c4a80ead2b1fe57dc6a8c29d0368792344cd61e (diff)
downloadtdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.tar.gz
tdepim-a9bde819f2b421dcc44741156e75eca4bb5fb4f4.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kdgantt/KDGanttViewSubwidgets.cpp')
-rw-r--r--kdgantt/KDGanttViewSubwidgets.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp
index e22e49c06..0abac719b 100644
--- a/kdgantt/KDGanttViewSubwidgets.cpp
+++ b/kdgantt/KDGanttViewSubwidgets.cpp
@@ -824,7 +824,7 @@ void KDTimeHeaderWidget::preparePopupMenu()
TQString KDTimeHeaderWidget::getToolTipText(TQPoint p)
{
- return KGlobal::locale()->formatDateTime(getDateTimeForIndex(p.x()));
+ return TDEGlobal::locale()->formatDateTime(getDateTimeForIndex(p.x()));
}
void KDTimeHeaderWidget::addTickRight( int num )
{
@@ -1950,7 +1950,7 @@ TQDateTime KDTimeHeaderWidget::getEvenTimeDate(TQDateTime tempdatetime ,Scale sc
break;
case KDGanttView::Week:
tempdate = tempdatetime.date();
- while (tempdate.dayOfWeek ()!= KGlobal::locale()->weekStartDay())
+ while (tempdate.dayOfWeek ()!= TDEGlobal::locale()->weekStartDay())
tempdate = tempdate.addDays(-1);
//tempdate = tempdate.addDays(-7);
tempdatetime = TQDateTime (tempdate, TQTime (0,0));
@@ -2217,7 +2217,7 @@ void KDTimeHeaderWidget::computeTicks(bool doNotComputeRealScale)
TQTime tempTime = myRealStart.time();
TQDateTime tempDateTime;
int i;
- const KCalendarSystem * calendar = KGlobal::locale()->calendar();
+ const KCalendarSystem * calendar = TDEGlobal::locale()->calendar();
switch (myRealScale)
{
case KDGanttView::Minute:
@@ -2284,7 +2284,7 @@ void KDTimeHeaderWidget::computeTicks(bool doNotComputeRealScale)
tempDate = tempDate.addDays(tempMinorScaleCount);
}
tempDate = myRealStart.date();
- while (tempDate.dayOfWeek() != KGlobal::locale()->weekStartDay())
+ while (tempDate.dayOfWeek() != TDEGlobal::locale()->weekStartDay())
tempDate = tempDate.addDays(1);
while (tempDate < myRealEnd.date()) {
majorTicks.append( getCoordX(tempDate));
@@ -2304,7 +2304,7 @@ void KDTimeHeaderWidget::computeTicks(bool doNotComputeRealScale)
tempDate = tempDate.addDays(7*tempMinorScaleCount);
}
tempDate = myRealStart.date();
- while (tempDate.day() != KGlobal::locale()->weekStartDay())
+ while (tempDate.day() != TDEGlobal::locale()->weekStartDay())
tempDate = tempDate.addDays(1);
while (tempDate < myRealEnd.date()) {
majorTicks.append( getCoordX(tempDate));