summaryrefslogtreecommitdiffstats
path: root/korganizer/plugins/timespanview/timespanwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/plugins/timespanview/timespanwidget.cpp')
-rw-r--r--korganizer/plugins/timespanview/timespanwidget.cpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/korganizer/plugins/timespanview/timespanwidget.cpp b/korganizer/plugins/timespanview/timespanwidget.cpp
index 0e8f0c4b9..e208c0881 100644
--- a/korganizer/plugins/timespanview/timespanwidget.cpp
+++ b/korganizer/plugins/timespanview/timespanwidget.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <tqsplitter.h>
@@ -39,8 +39,8 @@
#include "timespanwidget.h"
#include "timespanwidget.moc"
-TimeSpanWidget::TimeSpanWidget( TQWidget *parent, const char *name ) :
- TQWidget( parent, name )
+TimeSpanWidget::TimeSpanWidget( TQWidget *tqparent, const char *name ) :
+ TQWidget( tqparent, name )
{
TQBoxLayout *topLayout = new TQVBoxLayout( this );
@@ -123,11 +123,8 @@ void TimeSpanWidget::clear()
void TimeSpanWidget::updateView()
{
-#if QT_VERSION >= 300
mLineView->updateContents();
mTimeLine->updateContents();
-#else
-#endif
}
void TimeSpanWidget::setDateRange( const TQDateTime &start, const TQDateTime &end )