summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kwordwraptest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdeui/tests/kwordwraptest.cpp')
-rw-r--r--kdeui/tests/kwordwraptest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeui/tests/kwordwraptest.cpp b/kdeui/tests/kwordwraptest.cpp
index 60a35b394..ad60bd897 100644
--- a/kdeui/tests/kwordwraptest.cpp
+++ b/kdeui/tests/kwordwraptest.cpp
@@ -18,17 +18,17 @@
#include <kapplication.h>
#include <kdebug.h>
-#include <qwidget.h>
+#include <tqwidget.h>
#include "kwordwrap.h"
int main(int argc, char *argv[])
{
KApplication app(argc, argv, "KWordWrapTest");
- QFont font( "helvetica", 12 ); // let's hope we all have the same...
- QFontMetrics fm( font );
- QRect r( 0, 0, 100, -1 );
- QString str = "test wadabada [/foo/bar/waba]";
+ TQFont font( "helvetica", 12 ); // let's hope we all have the same...
+ TQFontMetrics fm( font );
+ TQRect r( 0, 0, 100, -1 );
+ TQString str = "test wadabada [/foo/bar/waba]";
KWordWrap* ww = KWordWrap::formatText( fm, r, 0, str );
kdDebug() << str << " => " << ww->truncatedString() << endl;
delete ww;