diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:23:24 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-24 13:23:24 -0600 |
commit | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (patch) | |
tree | fb31321c80b12ee8e2237bdcf8c228fe44e67772 /kdgantt | |
parent | fe33d391dd7c9da0f83e779344a17e2e445b70a8 (diff) | |
download | koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.tar.gz koffice-5b8ab149469c8e186ee8b05d90c0103ae722dd85.zip |
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kdgantt')
-rw-r--r-- | kdgantt/KDGanttViewSubwidgets.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdgantt/KDGanttViewSubwidgets.cpp b/kdgantt/KDGanttViewSubwidgets.cpp index 31830dfd..c25d4e12 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 ) { @@ -1962,7 +1962,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)); @@ -2229,7 +2229,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: @@ -2296,7 +2296,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)); @@ -2316,7 +2316,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)); |