diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/rulers/PropertyBox.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.tar.gz rosegarden-11f31c37e5fa4889d9989f10272f44845449cb7b.zip |
Initial TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1172292 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/rulers/PropertyBox.cpp')
-rw-r--r-- | src/gui/rulers/PropertyBox.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/rulers/PropertyBox.cpp b/src/gui/rulers/PropertyBox.cpp index 38d67ef..7037b64 100644 --- a/src/gui/rulers/PropertyBox.cpp +++ b/src/gui/rulers/PropertyBox.cpp @@ -26,21 +26,21 @@ #include "PropertyBox.h" #include "gui/general/GUIPalette.h" -#include <qpainter.h> -#include <qsize.h> -#include <qstring.h> -#include <qwidget.h> +#include <tqpainter.h> +#include <tqsize.h> +#include <tqstring.h> +#include <tqwidget.h> namespace Rosegarden { -PropertyBox::PropertyBox(QString label, +PropertyBox::PropertyBox(TQString label, int width, int height, - QWidget *parent, + TQWidget *parent, const char *name): - QWidget(parent, name), + TQWidget(parent, name), m_label(label), m_width(width), m_height(height) @@ -49,19 +49,19 @@ PropertyBox::PropertyBox(QString label, QSize PropertyBox::sizeHint() const { - return QSize(m_width, m_height); + return TQSize(m_width, m_height); } QSize PropertyBox::minimumSizeHint() const { - return QSize(m_width, m_height); + return TQSize(m_width, m_height); } void -PropertyBox::paintEvent(QPaintEvent *e) +PropertyBox::paintEvent(TQPaintEvent *e) { - QPainter paint(this); + TQPainter paint(this); paint.setPen(GUIPalette::getColour(GUIPalette::MatrixElementBorder)); //paint.setBrush(GUIPalette::getColour(GUIPalette::MatrixElementBlock)); |