summaryrefslogtreecommitdiffstats
path: root/kplato/kptganttview.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptganttview.cc')
-rw-r--r--kplato/kptganttview.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/kplato/kptganttview.cc b/kplato/kptganttview.cc
index 925598f9..e37ab194 100644
--- a/kplato/kptganttview.cc
+++ b/kplato/kptganttview.cc
@@ -73,8 +73,8 @@ public:
MyKDGanttView(TQWidget *parent, const char *name)
: KDGanttView(parent, name) {
}
- virtual TQSize tqsizeHint() const {
- return tqminimumSizeHint(); //HACK: koshell splitter tqminimumSize problem
+ virtual TQSize sizeHint() const {
+ return minimumSizeHint(); //HACK: koshell splitter minimumSize problem
}
};
@@ -1048,7 +1048,7 @@ void GanttView::print(KPrinter &prt) {
p.drawRect(0,0,metrics.width(),metrics.height());
TQString text;
int hei = 0;
- text = KGlobal::locale()->formatDateTime(TQDateTime::tqcurrentDateTime());
+ text = KGlobal::locale()->formatDateTime(TQDateTime::currentDateTime());
TQRect r = p.boundingRect(metrics.width()-1,0,0,0, TQt::AlignRight, text );
p.drawText( r, TQt::AlignRight, text );
hei = r.height();