summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/tests
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:32:11 -0600
commit94844816550ad672ccfcdc25659c625546239998 (patch)
treee35fc60fd736c645d59f6408af032774ad8023d3 /lib/kofficeui/tests
parent2a811c38c74c03648ecf857e566c44483cbad706 (diff)
downloadkoffice-94844816550ad672ccfcdc25659c625546239998.tar.gz
koffice-94844816550ad672ccfcdc25659c625546239998.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'lib/kofficeui/tests')
-rw-r--r--lib/kofficeui/tests/coloraction_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/kofficeui/tests/coloraction_test.cpp b/lib/kofficeui/tests/coloraction_test.cpp
index 729285bb..4739ee81 100644
--- a/lib/kofficeui/tests/coloraction_test.cpp
+++ b/lib/kofficeui/tests/coloraction_test.cpp
@@ -18,7 +18,7 @@
* Boston, MA 02110-1301, USA.
*/
-#include <tqlayout.h>
+#include <layout.h>
#include <tqvgroupbox.h>
#include <tqpopupmenu.h>
#include <tqmenubar.h>
@@ -36,19 +36,19 @@
TopLevel::TopLevel( TQWidget* parent, const char* name) : TQMainWindow( parent, name )
{
- setCaption( TQString::tqfromLatin1( "KColorAction test application" ) );
+ setCaption( TQString::fromLatin1( "KColorAction test application" ) );
TQWidget *w = new TQWidget( this );
setCentralWidget( w );
TQBoxLayout* l = new TQHBoxLayout( w, KDialog::marginHint(), KDialog::spacingHint() );
- TQGroupBox* b1 = new TQVGroupBox( TQString::tqfromLatin1( "KoColorPanel 1" ), w );
+ TQGroupBox* b1 = new TQVGroupBox( TQString::fromLatin1( "KoColorPanel 1" ), w );
panel = new KoColorPanel( b1, "panel1" );
connect( panel, TQT_SIGNAL( colorSelected( const TQColor& ) ), TQT_SLOT( slotColorSelected( const TQColor& ) ) );
//panel->insertDefaultColors();
l->addWidget( b1 );
- b1 = new TQVGroupBox( TQString::tqfromLatin1( "KoColorPanel 2" ), w );
+ b1 = new TQVGroupBox( TQString::fromLatin1( "KoColorPanel 2" ), w );
( void ) new KoColorPanel( b1, "panel2" );
l->addWidget( b1 );