summaryrefslogtreecommitdiffstats
path: root/kplato/kptdatetable.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptdatetable.cc')
-rw-r--r--kplato/kptdatetable.cc20
1 files changed, 10 insertions, 10 deletions
diff --git a/kplato/kptdatetable.cc b/kplato/kptdatetable.cc
index 6117a941..5b25c3a4 100644
--- a/kplato/kptdatetable.cc
+++ b/kplato/kptdatetable.cc
@@ -379,7 +379,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) {
updateSelectedCells();
m_selectedWeekdays.clear();
m_selectedDates.clear();
- tqrepaintContents(false);
+ repaintContents(false);
emit selectionCleared();
return;
}
@@ -388,7 +388,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) {
m_selectedWeekdays.clear();
m_selectedDates.clear();
updateSelectedCells();
- tqrepaintContents(false);
+ repaintContents(false);
return;
}
if (row==0 && col>0) { // the user clicked on weekdays
@@ -429,7 +429,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) {
m_selectedWeekdays.toggleClear(day);
}
updateSelectedCells();
- tqrepaintContents(false);
+ repaintContents(false);
if (m_enabled) {
//kdDebug()<<k_funcinfo<<"emit weekdaySelected("<<day<<")"<<endl;
emit weekdaySelected(day); // day= 1..7
@@ -478,7 +478,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) {
//kdDebug()<<k_funcinfo<<"toggleClear date: "<<date.toString()<<" state="<<m_selectedDates.state(date)<<endl;
}
}
- tqrepaintContents(false);
+ repaintContents(false);
}
bool DateTable::contentsMousePressEvent_internal(TQMouseEvent *e) {
@@ -520,7 +520,7 @@ bool DateTable::selectDate(const TQDate& date_) {
}
numDaysPrevMonth=temp.daysInMonth();
if(changed) {
- tqrepaintContents(false);
+ repaintContents(false);
}
if (m_enabled)
emit(dateChanged(date));
@@ -563,7 +563,7 @@ bool DateTable::setDate(const TQDate& date_, bool tqrepaint) {
}*/
numDaysPrevMonth=temp.daysInMonth();
if(changed && tqrepaint) {
- tqrepaintContents(false);
+ repaintContents(false);
}
if (m_enabled)
emit(dateChanged(date));
@@ -645,7 +645,7 @@ void DateTable::setMarkedWeekdays(const IntMap days) {
m_markedWeekdays.clear();
m_markedWeekdays = days;
updateMarkedCells();
- tqrepaintContents(false);
+ repaintContents(false);
}
bool DateTable::weekdayMarked(int day) {
@@ -678,13 +678,13 @@ void DateTable::clear() {
clearSelection();
m_markedDates.clear();
m_markedWeekdays.clear();
- tqrepaintContents(false);
+ repaintContents(false);
}
void DateTable::clearSelection() {
m_selectedDates.clear();
m_selectedWeekdays.clear();
- tqrepaintContents(false);
+ repaintContents(false);
}
void DateTable::setEnabled(bool yes) {
@@ -709,7 +709,7 @@ void DateTable::markSelected(int state) {
}
}
updateSelectedCells();
- tqrepaintContents(false);
+ repaintContents(false);
}
DateInternalWeekSelector::DateInternalWeekSelector