From 636eef5bea9dd243a08d77c9c537fb36ee30f838 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 Aug 2010 19:25:03 +0000 Subject: TQt conversion fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1158448 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- arts/builder/createtool.cpp | 2 +- arts/builder/execdlg.cpp | 4 ++-- arts/builder/interfacedlg.cpp | 4 ++-- arts/builder/portposdlg.cpp | 4 ++-- arts/builder/qttableview.h | 2 +- arts/builder/retrievedlg.cpp | 2 +- arts/builder/scomponent.h | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) (limited to 'arts/builder') diff --git a/arts/builder/createtool.cpp b/arts/builder/createtool.cpp index a08515f3..77781483 100644 --- a/arts/builder/createtool.cpp +++ b/arts/builder/createtool.cpp @@ -92,7 +92,7 @@ void CreateTool::mouseMoveEvent(TQMouseEvent *e) mwidget->repaint(componentRect); componentRect = TQRect(cellx, celly, cellx2 - cellx, celly2 - celly); - TQPainter *p = new QPainter; + TQPainter *p = new TQPainter; p->begin(mwidget); p->save(); diff --git a/arts/builder/execdlg.cpp b/arts/builder/execdlg.cpp index ccd1ae40..6d2ea2bf 100644 --- a/arts/builder/execdlg.cpp +++ b/arts/builder/execdlg.cpp @@ -89,7 +89,7 @@ ExecDlg::ExecDlg(TQWidget *parent, ExecutableStructure *structure) // sliders, controlpanels - sliderlayout = new QVBoxLayout; + sliderlayout = new TQVBoxLayout; mainlayout->addLayout(sliderlayout); #if 0 /* PORT */ @@ -107,7 +107,7 @@ ExecDlg::ExecDlg(TQWidget *parent, ExecutableStructure *structure) // buttons - TQHBoxLayout *buttonlayout = new QHBoxLayout; + TQHBoxLayout *buttonlayout = new TQHBoxLayout; mainlayout->addSpacing(5); mainlayout->addLayout(buttonlayout); mainlayout->addSpacing(5); diff --git a/arts/builder/interfacedlg.cpp b/arts/builder/interfacedlg.cpp index a96a1b35..706576d1 100644 --- a/arts/builder/interfacedlg.cpp +++ b/arts/builder/interfacedlg.cpp @@ -46,7 +46,7 @@ InterfaceDlg::InterfaceDlg(TQWidget *parent) :TQDialog(parent,"Props", TRUE) setCaption(i18n("aRts: Structureport View")); TQVBoxLayout *mainlayout = new TQVBoxLayout(this); - //TQHBoxLayout *contentslayout = new QHBoxLayout; + //TQHBoxLayout *contentslayout = new TQHBoxLayout; // object type /* @@ -104,7 +104,7 @@ InterfaceDlg::InterfaceDlg(TQWidget *parent) :TQDialog(parent,"Props", TRUE) // buttons - TQHBoxLayout *buttonlayout = new QHBoxLayout; + TQHBoxLayout *buttonlayout = new TQHBoxLayout; mainlayout->addSpacing(5); mainlayout->addLayout(buttonlayout); mainlayout->addSpacing(5); diff --git a/arts/builder/portposdlg.cpp b/arts/builder/portposdlg.cpp index 3584de45..72bd4379 100644 --- a/arts/builder/portposdlg.cpp +++ b/arts/builder/portposdlg.cpp @@ -47,7 +47,7 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent, setCaption(i18n("aRts: Structureport View")); TQVBoxLayout *mainlayout = new TQVBoxLayout(this); - //TQHBoxLayout *contentslayout = new QHBoxLayout; + //TQHBoxLayout *contentslayout = new TQHBoxLayout; // object type /* @@ -103,7 +103,7 @@ PortPosDlg::PortPosDlg(TQWidget *parent, Structure *structure) :TQDialog(parent, // buttons - TQHBoxLayout *buttonlayout = new QHBoxLayout; + TQHBoxLayout *buttonlayout = new TQHBoxLayout; mainlayout->addSpacing(5); mainlayout->addLayout(buttonlayout); mainlayout->addSpacing(5); diff --git a/arts/builder/qttableview.h b/arts/builder/qttableview.h index 9acf0179..ab83d152 100644 --- a/arts/builder/qttableview.h +++ b/arts/builder/qttableview.h @@ -21,7 +21,7 @@ #ifndef QT_NO_QTTABLEVIEW -class QScrollBar; +class TQScrollBar; class QCornerSquare; diff --git a/arts/builder/retrievedlg.cpp b/arts/builder/retrievedlg.cpp index 4e091928..57cfde36 100644 --- a/arts/builder/retrievedlg.cpp +++ b/arts/builder/retrievedlg.cpp @@ -96,7 +96,7 @@ RetrieveDlg::RetrieveDlg(TQWidget *parent) :TQDialog(parent,"X", TRUE) // buttons - TQHBoxLayout *buttonlayout = new QHBoxLayout; + TQHBoxLayout *buttonlayout = new TQHBoxLayout; mainlayout->addSpacing(5); mainlayout->addLayout(buttonlayout); mainlayout->addSpacing(5); diff --git a/arts/builder/scomponent.h b/arts/builder/scomponent.h index e35b3708..cc65bb39 100644 --- a/arts/builder/scomponent.h +++ b/arts/builder/scomponent.h @@ -26,8 +26,8 @@ #include class ModulePort; -class QPainter; -class QPixmap; +class TQPainter; +class TQPixmap; class StructureCanvas { public: -- cgit v1.2.1