summaryrefslogtreecommitdiffstats
path: root/kplato/kptganttview.cc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
committerTimothy Pearson <[email protected]>2011-12-18 18:12:30 -0600
commit11191ef0b9908604d1d7aaca382b011ef22c454c (patch)
treed38f0ccd8bfcc9756f5cfc42fb2ad1dad351e6aa /kplato/kptganttview.cc
parentc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (diff)
downloadkoffice-11191ef0b9908604d1d7aaca382b011ef22c454c.tar.gz
koffice-11191ef0b9908604d1d7aaca382b011ef22c454c.zip
Rename old tq methods that no longer need a unique name
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();