diff options
Diffstat (limited to 'src/gui/editors/parameters/RosegardenParameterBox.cpp')
-rw-r--r-- | src/gui/editors/parameters/RosegardenParameterBox.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/editors/parameters/RosegardenParameterBox.cpp b/src/gui/editors/parameters/RosegardenParameterBox.cpp index 7d9100c..dbefda0 100644 --- a/src/gui/editors/parameters/RosegardenParameterBox.cpp +++ b/src/gui/editors/parameters/RosegardenParameterBox.cpp @@ -27,23 +27,23 @@ #include "RosegardenParameterArea.h" #include <ktabwidget.h> -#include <qfont.h> -#include <qframe.h> -#include <qscrollview.h> -#include <qstring.h> -#include <qvbox.h> -#include <qwidget.h> -#include <qwidgetstack.h> +#include <tqfont.h> +#include <tqframe.h> +#include <tqscrollview.h> +#include <tqstring.h> +#include <tqvbox.h> +#include <tqwidget.h> +#include <tqwidgetstack.h> namespace Rosegarden { -RosegardenParameterBox::RosegardenParameterBox(const QString &shortLabel, - const QString &longLabel, - QWidget *parent, +RosegardenParameterBox::RosegardenParameterBox(const TQString &shortLabel, + const TQString &longLabel, + TQWidget *parent, const char *name) : - QFrame(parent, name), + TQFrame(parent, name), m_shortLabel(shortLabel), m_longLabel(longLabel), m_mode(LANDSCAPE_MODE) @@ -53,14 +53,14 @@ RosegardenParameterBox::RosegardenParameterBox(const QString &shortLabel, void RosegardenParameterBox::init() { - QFont plainFont; + TQFont plainFont; plainFont.setPointSize(plainFont.pointSize() * 95 / 100); if (plainFont.pixelSize() > 14) plainFont.setPixelSize(14); plainFont.setBold(false); m_font = plainFont; - QFont boldFont; + TQFont boldFont; boldFont.setPointSize(int(boldFont.pointSize() * 9.5 / 10.0 + 0.5)); if (boldFont.pixelSize() > 14) boldFont.setPixelSize(14); @@ -69,17 +69,17 @@ void RosegardenParameterBox::init() setFont(boldFont); } -QString RosegardenParameterBox::getShortLabel() const +TQString RosegardenParameterBox::getShortLabel() const { return m_shortLabel; } -QString RosegardenParameterBox::getLongLabel() const +TQString RosegardenParameterBox::getLongLabel() const { return m_longLabel; } -QString RosegardenParameterBox::getPreviousBox(RosegardenParameterArea::Arrangement) const +TQString RosegardenParameterBox::getPreviousBox(RosegardenParameterArea::Arrangement) const { // No ordering known -- depends on subclasses return ""; |