summaryrefslogtreecommitdiffstats
path: root/kplato/kptdatetable.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:40:13 +0900
commitc8c5e11f05f023849896d09cf06917e9a2c016ca (patch)
treea62f00b0249b967528e115e2123b56d40633c17a /kplato/kptdatetable.cpp
parentc9973bfbf1091ef91f30b5ab456015676123aa47 (diff)
downloadkoffice-c8c5e11f.tar.gz
koffice-c8c5e11f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e)
Diffstat (limited to 'kplato/kptdatetable.cpp')
-rw-r--r--kplato/kptdatetable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kplato/kptdatetable.cpp b/kplato/kptdatetable.cpp
index 7184350ec..0f07b7486 100644
--- a/kplato/kptdatetable.cpp
+++ b/kplato/kptdatetable.cpp
@@ -447,7 +447,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) {
DateMap::ConstIterator it;
for (it = m_selectedDates.constBegin(); it != m_selectedDates.constEnd(); ++it) {
//kdDebug()<<k_funcinfo<<it.key()<<endl;
- TQDate d = TQDate::fromString(it.key(), Qt::ISODate);
+ TQDate d = TQDate::fromString(it.key(), TQt::ISODate);
if (!d.isValid())
continue;
if (!first.isValid() || first > d)
@@ -461,7 +461,7 @@ void DateTable::contentsMousePressEvent(TQMouseEvent *e) {
TQDate anchor = first < date ? first : last;
int i = anchor > date ? -1 : 1;
while (anchor != date) {
- //kdDebug()<<k_funcinfo<<anchor.toString(Qt::ISODate)<<endl;
+ //kdDebug()<<k_funcinfo<<anchor.toString(TQt::ISODate)<<endl;
m_selectedDates.toggle(anchor);
anchor = anchor.addDays(i);
}
@@ -835,7 +835,7 @@ DateInternalMonthPicker::paintCell(TQPainter* painter, int row, int col)
void
DateInternalMonthPicker::contentsMousePressEvent(TQMouseEvent *e)
{
- if(!isEnabled() || e->button() != Qt::LeftButton)
+ if(!isEnabled() || e->button() != TQt::LeftButton)
{
KNotifyClient::beep();
return;
@@ -862,7 +862,7 @@ DateInternalMonthPicker::contentsMousePressEvent(TQMouseEvent *e)
void
DateInternalMonthPicker::contentsMouseMoveEvent(TQMouseEvent *e)
{
- if (e->state() & Qt::LeftButton)
+ if (e->state() & TQt::LeftButton)
{
int row, col;
TQPoint mouseCoord;