summaryrefslogtreecommitdiffstats
path: root/libtdepim/kdateedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/kdateedit.cpp')
-rw-r--r--libtdepim/kdateedit.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libtdepim/kdateedit.cpp b/libtdepim/kdateedit.cpp
index df2b98c94..44c4e696a 100644
--- a/libtdepim/kdateedit.cpp
+++ b/libtdepim/kdateedit.cpp
@@ -72,13 +72,13 @@ KDateEdit::KDateEdit( TQWidget *parent, const char *name )
// need at least one entry for popup to work
setMaxCount( 1 );
- mDate = TQDate::currentDate();
+ mDate = TQDate::tqcurrentDate();
TQString today = KGlobal::locale()->formatDate( mDate, true );
insertItem( today );
setCurrentItem( 0 );
changeItem( today, 0 );
- setMinimumSize( sizeHint() );
+ setMinimumSize( tqsizeHint() );
connect( lineEdit(), TQT_SIGNAL( returnPressed() ),
this, TQT_SLOT( lineEnterPressed() ) );
@@ -138,13 +138,13 @@ void KDateEdit::popup()
TQPoint popupPoint = mapToGlobal( TQPoint( 0,0 ) );
- int dateFrameHeight = mPopup->sizeHint().height();
+ int dateFrameHeight = mPopup->tqsizeHint().height();
if ( popupPoint.y() + height() + dateFrameHeight > desk.bottom() )
popupPoint.setY( popupPoint.y() - dateFrameHeight );
else
popupPoint.setY( popupPoint.y() + height() );
- int dateFrameWidth = mPopup->sizeHint().width();
+ int dateFrameWidth = mPopup->tqsizeHint().width();
if ( popupPoint.x() + dateFrameWidth > desk.right() )
popupPoint.setX( desk.right() - dateFrameWidth );
@@ -157,7 +157,7 @@ void KDateEdit::popup()
if ( mDate.isValid() )
mPopup->setDate( mDate );
else
- mPopup->setDate( TQDate::currentDate() );
+ mPopup->setDate( TQDate::tqcurrentDate() );
mPopup->popup( popupPoint );
@@ -215,7 +215,7 @@ TQDate KDateEdit::parseDate( bool *replaced ) const
if ( text.isEmpty() )
result = TQDate();
else if ( mKeywordMap.contains( text.lower() ) ) {
- TQDate today = TQDate::currentDate();
+ TQDate today = TQDate::tqcurrentDate();
int i = mKeywordMap[ text.lower() ];
if ( i >= 100 ) {
/* A day name has been entered. Convert to offset from today.