diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeui/tests/kdocktest.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-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/kdocktest.cpp')
-rw-r--r-- | kdeui/tests/kdocktest.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kdeui/tests/kdocktest.cpp b/kdeui/tests/kdocktest.cpp index c6df63ddb..84895c414 100644 --- a/kdeui/tests/kdocktest.cpp +++ b/kdeui/tests/kdocktest.cpp @@ -3,10 +3,10 @@ #include <kapplication.h> #include <kiconloader.h> -#include <qwidget.h> -#include <qstring.h> +#include <tqwidget.h> +#include <tqstring.h> -DockTest::DockTest( QWidget* parent ) +DockTest::DockTest( TQWidget* parent ) : KDockArea( parent ) { m_blueDock = createDockWidget( "Blue Widget", SmallIcon("mail") ); @@ -17,7 +17,7 @@ DockTest::DockTest( QWidget* parent ) m_blueDock->setHeader( header ); m_blueDock->setCaption( "Blue" ); m_blueDock->setGeometry( 50, 50, 100, 100 ); - QWidget *l = new QWidget( m_blueDock ); + TQWidget *l = new TQWidget( m_blueDock ); l->setBackgroundColor( Qt::blue ); l->setMinimumSize( 100,100 ); m_blueDock->setWidget( l ); @@ -31,7 +31,7 @@ DockTest::DockTest( QWidget* parent ) m_redDock->setHeader( header ); m_redDock->setCaption( "Red" ); m_redDock->setGeometry( 50, 50, 100, 100 ); - l = new QWidget( m_redDock ); + l = new TQWidget( m_redDock ); l->setBackgroundColor( Qt::red ); l->setMinimumSize( 100,100 ); m_redDock->setWidget( l ); @@ -44,7 +44,7 @@ DockTest::DockTest( QWidget* parent ) // m_yellowDock->setHeader( header ); m_yellowDock->setCaption( "Yellow" ); m_yellowDock->setGeometry( 50, 50, 100, 100 ); - l = new QWidget( m_yellowDock ); + l = new TQWidget( m_yellowDock ); l->setBackgroundColor( Qt::yellow ); l->setMinimumSize( 100,100 ); m_yellowDock->setWidget( l ); |