summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoCommentDia.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/KoCommentDia.cpp')
-rw-r--r--lib/kotext/KoCommentDia.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/kotext/KoCommentDia.cpp b/lib/kotext/KoCommentDia.cpp
index 370befe8..a6c8b2bb 100644
--- a/lib/kotext/KoCommentDia.cpp
+++ b/lib/kotext/KoCommentDia.cpp
@@ -21,7 +21,7 @@
#include <tqvbox.h>
#include <tqmultilineedit.h>
#include "KoCommentDia.h"
-#include <layout.h>
+#include <tqlayout.h>
#include <tqpushbutton.h>
#include <kglobal.h>
#include <tqdatetime.h>
@@ -64,9 +64,9 @@ TQString KoCommentDia::commentText()
void KoCommentDia::slotAddAuthorName()
{
- TQString date = KGlobal::locale()->formatDate( TQDate::currentDate() );
+ TQString date = KGlobal::locale()->formatDate( TQDate::tqcurrentDate() );
TQString time = KGlobal::locale()->formatTime( TQTime::currentTime() );
- TQString result = TQString("--------%1 ,%2, %3------\n").arg(authorName).arg(date).arg(time);
+ TQString result = TQString("--------%1 ,%2, %3------\n").tqarg(authorName).tqarg(date).tqarg(time);
m_multiLine->insertLine( result, m_multiLine->numLines() );
}