summaryrefslogtreecommitdiffstats
path: root/kalzium/src/timewidget_impl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kalzium/src/timewidget_impl.cpp
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalzium/src/timewidget_impl.cpp')
-rw-r--r--kalzium/src/timewidget_impl.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kalzium/src/timewidget_impl.cpp b/kalzium/src/timewidget_impl.cpp
index a5f186bc..576ab17d 100644
--- a/kalzium/src/timewidget_impl.cpp
+++ b/kalzium/src/timewidget_impl.cpp
@@ -20,11 +20,11 @@
#include <knuminput.h>
-TimeWidgetIMPL::TimeWidgetIMPL( TQWidget *parent, const char* name )
- : TimeWidget( parent, name )
+TimeWidgetIMPL::TimeWidgetIMPL( TQWidget *tqparent, const char* name )
+ : TimeWidget( tqparent, name )
{
- text->setAlignment( text->alignment() | Qt::WordBreak );
- text->setTextFormat( Qt::RichText );
+ text->tqsetAlignment( text->tqalignment() | TQt::WordBreak );
+ text->setTextFormat( TQt::RichText );
text->setReadOnly( true );
text->setPaletteBackgroundColor( paletteBackgroundColor() );
text->setFrameStyle( TQFrame::NoFrame );