diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-02 19:23:46 +0000 |
commit | eba47f8f0637f451e21348187591e1f1fd58ac74 (patch) | |
tree | 448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmview.cpp | |
parent | c7e8736c69373f48b0401319757c742e8607431a (diff) | |
download | tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip |
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmview.cpp')
-rw-r--r-- | kpovmodeler/pmview.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kpovmodeler/pmview.cpp b/kpovmodeler/pmview.cpp index fe9f32d4..2fcd7eb2 100644 --- a/kpovmodeler/pmview.cpp +++ b/kpovmodeler/pmview.cpp @@ -16,11 +16,11 @@ **************************************************************************/ -#include <qprinter.h> -#include <qpainter.h> -#include <qsplitter.h> -#include <qlayout.h> -#include <qlabel.h> +#include <tqprinter.h> +#include <tqpainter.h> +#include <tqsplitter.h> +#include <tqlayout.h> +#include <tqlabel.h> #include <kconfig.h> #include <kdialog.h> #include <klocale.h> @@ -34,14 +34,14 @@ #include "pmdialogview.h" #include "pmglview.h" -PMView::PMView( PMPart* part, QWidget* parent, const char* name ) - : QWidget( parent, name ) +PMView::PMView( PMPart* part, TQWidget* parent, const char* name ) + : TQWidget( parent, name ) { setBackgroundMode( PaletteBase ); - QVBoxLayout* layout = new QVBoxLayout( this ); - m_pMainSplitter = new QSplitter( Qt::Horizontal, this, "MainSplitter" ); - m_pTreeEditSplitter = new QSplitter( Qt::Vertical, m_pMainSplitter, + TQVBoxLayout* layout = new TQVBoxLayout( this ); + m_pMainSplitter = new TQSplitter( Qt::Horizontal, this, "MainSplitter" ); + m_pTreeEditSplitter = new TQSplitter( Qt::Vertical, m_pMainSplitter, "TreeEditSplitter" ); @@ -52,11 +52,11 @@ PMView::PMView( PMPart* part, QWidget* parent, const char* name ) m_pDialogView->show( ); - QWidget* glArea = new QWidget( m_pMainSplitter, "GLArea" ); + TQWidget* glArea = new TQWidget( m_pMainSplitter, "GLArea" ); glArea->show( ); PMGLView* gl; - QGridLayout* topLayout = new QGridLayout( glArea, 2, 2, 1, 1 ); + TQGridLayout* topLayout = new TQGridLayout( glArea, 2, 2, 1, 1 ); gl = new PMGLView( part, PMGLView::PMViewPosZ, glArea ); topLayout->addWidget( gl, 0, 0 ); gl = new PMGLView( part, PMGLView::PMViewPosX, glArea ); @@ -78,9 +78,9 @@ PMView::~PMView( ) { } -void PMView::print( QPrinter* pPrinter ) +void PMView::print( TQPrinter* pPrinter ) { - QPainter printpainter; + TQPainter printpainter; printpainter.begin( pPrinter ); // TODO: add your printing code here |