summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoCommentDia.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:31 -0600
commitc9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch)
tree1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /lib/kotext/KoCommentDia.cpp
parent94844816550ad672ccfcdc25659c625546239998 (diff)
downloadkoffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.tar.gz
koffice-c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 94844816550ad672ccfcdc25659c625546239998.
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() );
}