summaryrefslogtreecommitdiffstats
path: root/kdeui/tests/kwordwraptest.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/tests/kwordwraptest.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;