summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/FloatEdit.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-06 20:59:29 +0000
commit11f31c37e5fa4889d9989f10272f44845449cb7b (patch)
tree4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/dialogs/FloatEdit.cpp
parent832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff)
downloadrosegarden-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/dialogs/FloatEdit.cpp')
-rw-r--r--src/gui/dialogs/FloatEdit.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/dialogs/FloatEdit.cpp b/src/gui/dialogs/FloatEdit.cpp
index 06e8aa3..a4b9788 100644
--- a/src/gui/dialogs/FloatEdit.cpp
+++ b/src/gui/dialogs/FloatEdit.cpp
@@ -27,28 +27,28 @@
#include "gui/widgets/HSpinBox.h"
#include <kdialogbase.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qstring.h>
-#include <qvbox.h>
-#include <qwidget.h>
+#include <tqgroupbox.h>
+#include <tqlabel.h>
+#include <tqstring.h>
+#include <tqvbox.h>
+#include <tqwidget.h>
#include <cmath>
namespace Rosegarden
{
-FloatEdit::FloatEdit(QWidget *parent,
- const QString &title,
- const QString &text,
+FloatEdit::FloatEdit(TQWidget *parent,
+ const TQString &title,
+ const TQString &text,
float min,
float max,
float value,
float step):
KDialogBase(parent, "rosegardenFloatEdit", true, title, Ok | Cancel, Ok)
{
- QVBox *vbox = makeVBoxMainWidget();
- QGroupBox *groupBox = new QGroupBox(1, Horizontal, text, vbox);
- QVBox *inVbox = new QVBox(groupBox);
+ TQVBox *vbox = makeVBoxMainWidget();
+ TQGroupBox *groupBox = new TQGroupBox(1, Horizontal, text, vbox);
+ TQVBox *inVbox = new TQVBox(groupBox);
// Calculate decimal points according to the step size
//
@@ -59,7 +59,7 @@ FloatEdit::FloatEdit(QWidget *parent,
//std::cout << "CAL DP = " << calDP << ", dps = " << dps << std::endl;
m_spin = new HSpinBox(inVbox, value, 1, min, max, dps);
- new QLabel(QString("(min: %1, max: %2)").arg(min).arg(max), inVbox);
+ new TQLabel(TQString("(min: %1, max: %2)").arg(min).arg(max), inVbox);
}
float