summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/datesensor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/datesensor.cpp')
-rw-r--r--superkaramba/src/datesensor.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/superkaramba/src/datesensor.cpp b/superkaramba/src/datesensor.cpp
index 56c9d31..ca5e6e6 100644
--- a/superkaramba/src/datesensor.cpp
+++ b/superkaramba/src/datesensor.cpp
@@ -20,7 +20,7 @@ DateSensor::~DateSensor()
void DateSensor::update()
{
- TQDateTime qdt = TQDateTime::tqcurrentDateTime();
+ TQDateTime qdt = TQDateTime::currentDateTime();
TQString format;
SensorParams *sp;
Meter *meter;
@@ -90,8 +90,8 @@ void DateSensor::toggleCalendar(TQMouseEvent *ev)
connect(cal, TQT_SIGNAL(destroyed()), TQT_SLOT(slotCalendarDeleted()));
TQPoint c = (TQPoint(ev->x(), ev->y()));
- int w = cal->tqsizeHint().width();
- int h = cal->tqsizeHint().height();
+ int w = cal->sizeHint().width();
+ int h = cal->sizeHint().height();
// make calendar fully visible
TQRect deskR = TQApplication::desktop()->screenGeometry(TQApplication::desktop()->screenNumber(c));