summaryrefslogtreecommitdiffstats
path: root/lib/kotext/tests
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kotext/tests')
-rw-r--r--lib/kotext/tests/kobordertest.cpp8
-rw-r--r--lib/kotext/tests/kotextformattertest.cpp4
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/kotext/tests/kobordertest.cpp b/lib/kotext/tests/kobordertest.cpp
index 5d5fbe5e..356b0158 100644
--- a/lib/kotext/tests/kobordertest.cpp
+++ b/lib/kotext/tests/kobordertest.cpp
@@ -11,14 +11,14 @@ class MyWidget : public TQWidget
public:
MyWidget( KoZoomHandler* _zh, TQWidget* parent )
: TQWidget( parent ), m_zh(_zh) {
- tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
+ setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed );
}
- TQSize tqsizeHint() const {
+ TQSize sizeHint() const {
return TQSize( 150, 150 );
}
- TQSize tqminimumSizeHint() const {
- return tqsizeHint();
+ TQSize minimumSizeHint() const {
+ return sizeHint();
}
KoBorder m_leftBorder;
diff --git a/lib/kotext/tests/kotextformattertest.cpp b/lib/kotext/tests/kotextformattertest.cpp
index b6138315..a13adddb 100644
--- a/lib/kotext/tests/kotextformattertest.cpp
+++ b/lib/kotext/tests/kotextformattertest.cpp
@@ -205,8 +205,8 @@ int main (int argc, char ** argv)
KApplication app(argc, argv, "KoTextFormatter test");
// Don't let locale settings lead to different hyphenation output
- KGlobal::locale()->setLanguage( TQString::tqfromLatin1( "en_US" ) );
- KGlobal::locale()->setCountry( TQString::tqfromLatin1( "C" ) );
+ KGlobal::locale()->setLanguage( TQString::fromLatin1( "en_US" ) );
+ KGlobal::locale()->setCountry( TQString::fromLatin1( "C" ) );
KoTextFormatterTest test;
//test.speedTest();