diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-16 09:56:31 -0600 |
commit | c9cb4f487428aad5d8cda5e3a4b9ad87390d7e54 (patch) | |
tree | 1ee1912ac4bb966475f0db0f2a78678661b4b4a5 /lib/kotext/tests | |
parent | 94844816550ad672ccfcdc25659c625546239998 (diff) | |
download | koffice-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/tests')
-rw-r--r-- | lib/kotext/tests/kobordertest.cpp | 8 | ||||
-rw-r--r-- | lib/kotext/tests/kotextformattertest.cpp | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lib/kotext/tests/kobordertest.cpp b/lib/kotext/tests/kobordertest.cpp index 356b0158..5d5fbe5e 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) { - setSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); + tqsetSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ); } - TQSize sizeHint() const { + TQSize tqsizeHint() const { return TQSize( 150, 150 ); } - TQSize minimumSizeHint() const { - return sizeHint(); + TQSize tqminimumSizeHint() const { + return tqsizeHint(); } KoBorder m_leftBorder; diff --git a/lib/kotext/tests/kotextformattertest.cpp b/lib/kotext/tests/kotextformattertest.cpp index 6721f771..b6138315 100644 --- a/lib/kotext/tests/kotextformattertest.cpp +++ b/lib/kotext/tests/kotextformattertest.cpp @@ -89,7 +89,7 @@ void KoTextFormatterTest::speedTest() // Format it 50 times for ( uint i = 0 ; i < 50 ; ++i ) { - parag->invalidate(0); + parag->tqinvalidate(0); parag->format(); } doc->clear(false); @@ -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::fromLatin1( "en_US" ) ); - KGlobal::locale()->setCountry( TQString::fromLatin1( "C" ) ); + KGlobal::locale()->setLanguage( TQString::tqfromLatin1( "en_US" ) ); + KGlobal::locale()->setCountry( TQString::tqfromLatin1( "C" ) ); KoTextFormatterTest test; //test.speedTest(); |