summaryrefslogtreecommitdiffstats
path: root/src/gui/configuration/NotationConfigurationPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/configuration/NotationConfigurationPage.cpp')
-rw-r--r--src/gui/configuration/NotationConfigurationPage.cpp182
1 files changed, 91 insertions, 91 deletions
diff --git a/src/gui/configuration/NotationConfigurationPage.cpp b/src/gui/configuration/NotationConfigurationPage.cpp
index a828fe7..c059cd9 100644
--- a/src/gui/configuration/NotationConfigurationPage.cpp
+++ b/src/gui/configuration/NotationConfigurationPage.cpp
@@ -24,7 +24,7 @@
#include "NotationConfigurationPage.h"
-#include <qlayout.h>
+#include <tqlayout.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
@@ -47,44 +47,44 @@
#include <kconfig.h>
#include <kfontrequester.h>
#include <kmessagebox.h>
-#include <qcheckbox.h>
-#include <qcombobox.h>
-#include <qfont.h>
-#include <qframe.h>
-#include <qgroupbox.h>
-#include <qhbox.h>
-#include <qlabel.h>
-#include <qobject.h>
-#include <qpushbutton.h>
-#include <qstring.h>
-#include <qstringlist.h>
-#include <qtabwidget.h>
-#include <qwidget.h>
-#include <qtooltip.h>
+#include <tqcheckbox.h>
+#include <tqcombobox.h>
+#include <tqfont.h>
+#include <tqframe.h>
+#include <tqgroupbox.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
+#include <tqobject.h>
+#include <tqpushbutton.h>
+#include <tqstring.h>
+#include <tqstringlist.h>
+#include <tqtabwidget.h>
+#include <tqwidget.h>
+#include <tqtooltip.h>
#include <algorithm>
namespace Rosegarden
{
NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
- QWidget *parent,
+ TQWidget *parent,
const char *name) :
TabbedConfigurationPage(cfg, parent, name)
{
m_cfg->setGroup(NotationViewConfigGroup);
- QFrame *frame;
- QGridLayout *layout;
+ TQFrame *frame;
+ TQGridLayout *layout;
- frame = new QFrame(m_tabWidget);
- layout = new QGridLayout(frame, 9, 3, 10, 5);
+ frame = new TQFrame(m_tabWidget);
+ layout = new TQGridLayout(frame, 9, 3, 10, 5);
int row = 0;
layout->setRowSpacing(row, 15);
++row;
- layout->addWidget(new QLabel(i18n("Default layout mode"), frame), row, 0);
+ layout->addWidget(new TQLabel(i18n("Default layout mode"), frame), row, 0);
m_layoutMode = new KComboBox(frame);
m_layoutMode->setEditable(false);
@@ -98,7 +98,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
layout->addMultiCellWidget(m_layoutMode, row, row, 1, 2);
++row;
- layout->addWidget(new QLabel(i18n("Default spacing"), frame), row, 0);
+ layout->addWidget(new TQLabel(i18n("Default spacing"), frame), row, 0);
m_spacing = new KComboBox(frame);
m_spacing->setEditable(false);
@@ -108,7 +108,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
for (std::vector<int>::iterator i = s.begin(); i != s.end(); ++i) {
- QString text("%1 %");
+ TQString text("%1 %");
if (*i == 100)
text = "%1 % (normal)";
m_spacing->insertItem(text.arg(*i));
@@ -122,7 +122,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
++row;
- layout->addWidget(new QLabel(i18n("Default duration factor"), frame), row, 0);
+ layout->addWidget(new TQLabel(i18n("Default duration factor"), frame), row, 0);
m_proportion = new KComboBox(frame);
m_proportion->setEditable(false);
@@ -132,7 +132,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
for (std::vector<int>::iterator i = s.begin(); i != s.end(); ++i) {
- QString text = QString("%1 %").arg(*i);
+ TQString text = TQString("%1 %").arg(*i);
if (*i == 40)
text = "40 % (normal)";
else if (*i == 0)
@@ -149,7 +149,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
layout->addMultiCellWidget(m_proportion, row, row, 1, 2);
++row;
- layout->addWidget(new QLabel(i18n("Show track headers (linear layout only)"),
+ layout->addWidget(new TQLabel(i18n("Show track headers (linear layout only)"),
frame), row, 0);
m_showTrackHeaders = new KComboBox(frame);
@@ -162,7 +162,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
if (HeadersGroup::isValidShowMode(defaultShowTrackHeaders)) {
m_showTrackHeaders->setCurrentItem(defaultShowTrackHeaders);
}
- QToolTip::add(m_showTrackHeaders, QString(i18n(
+ TQToolTip::add(m_showTrackHeaders, TQString(i18n(
"\"Always\" and \"Never\" mean what they usually mean\n"
"\"When needed\" means \"when staves are too many to all fit"
" in the current window\"")));
@@ -177,7 +177,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("Show non-notation events as question marks"), frame),
row, row, 0, 1);
- m_showUnknowns = new QCheckBox(frame);
+ m_showUnknowns = new TQCheckBox(frame);
bool defaultShowUnknowns = m_cfg->readBoolEntry("showunknowns", false);
m_showUnknowns->setChecked(defaultShowUnknowns);
layout->addWidget(m_showUnknowns, row, 2);
@@ -187,7 +187,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("Show notation-quantized notes in a different color"), frame),
row, row, 0, 1);
- m_colourQuantize = new QCheckBox(frame);
+ m_colourQuantize = new TQCheckBox(frame);
bool defaultColourQuantize = m_cfg->readBoolEntry("colourquantize", false);
m_colourQuantize->setChecked(defaultColourQuantize);
layout->addWidget(m_colourQuantize, row, 2);
@@ -197,7 +197,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("Show \"invisible\" events in grey"), frame),
row, row, 0, 1);
- m_showInvisibles = new QCheckBox(frame);
+ m_showInvisibles = new TQCheckBox(frame);
bool defaultShowInvisibles = m_cfg->readBoolEntry("showinvisibles", true);
m_showInvisibles->setChecked(defaultShowInvisibles);
layout->addWidget(m_showInvisibles, row, 2);
@@ -207,7 +207,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("Show notes outside suggested playable range in red"), frame),
row, row, 0, 1);
- m_showRanges = new QCheckBox(frame);
+ m_showRanges = new TQCheckBox(frame);
bool defaultShowRanges = m_cfg->readBoolEntry("showranges", true);
m_showRanges->setChecked(defaultShowRanges);
layout->addWidget(m_showRanges, row, 2);
@@ -217,7 +217,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("Highlight superimposed notes with a halo effect"), frame),
row, row, 0, 1);
- m_showCollisions = new QCheckBox(frame);
+ m_showCollisions = new TQCheckBox(frame);
bool defaultShowCollisions = m_cfg->readBoolEntry("showcollisions", true);
m_showCollisions->setChecked(defaultShowCollisions);
layout->addWidget(m_showCollisions, row, 2);
@@ -230,7 +230,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("When recording MIDI, split-and-tie long notes at barlines"), frame),
row, row, 0, 1);
- m_splitAndTie = new QCheckBox(frame);
+ m_splitAndTie = new TQCheckBox(frame);
bool defaultSplitAndTie = m_cfg->readBoolEntry("quantizemakeviable", false);
m_splitAndTie->setChecked(defaultSplitAndTie);
layout->addWidget(m_splitAndTie, row, 2);
@@ -243,8 +243,8 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
- frame = new QFrame(m_tabWidget);
- layout = new QGridLayout(frame, 6, 3, 10, 5);
+ frame = new TQFrame(m_tabWidget);
+ layout = new TQGridLayout(frame, 6, 3, 10, 5);
row = 0;
@@ -252,7 +252,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
++row;
layout->addMultiCellWidget
- (new QLabel(i18n("Default note style for new notes"), frame),
+ (new TQLabel(i18n("Default note style for new notes"), frame),
row, row, 0, 1);
layout->setColStretch(2, 10);
@@ -261,7 +261,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
m_noteStyle->setEditable(false);
m_untranslatedNoteStyle.clear();
- QString defaultStyle =
+ TQString defaultStyle =
m_cfg->readEntry("style", strtoqstr(NoteStyleFactory::DefaultStyle));
std::vector<NoteStyleName> styles
(NoteStyleFactory::getAvailableStyleNames());
@@ -269,7 +269,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
for (std::vector<NoteStyleName>::iterator i = styles.begin();
i != styles.end(); ++i) {
- QString styleQName(strtoqstr(*i));
+ TQString styleQName(strtoqstr(*i));
m_untranslatedNoteStyle.append(styleQName);
m_noteStyle->insertItem(i18n(styleQName.utf8()));
if (styleQName == defaultStyle) {
@@ -284,7 +284,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
++row;
layout->addWidget
- (new QLabel(i18n("When inserting notes..."), frame), row, 0);
+ (new TQLabel(i18n("When inserting notes..."), frame), row, 0);
int defaultInsertType = m_cfg->readNumEntry("inserttype", 0);
@@ -304,7 +304,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("Auto-beam on insert when appropriate"), frame),
row, row, 0, 1);
- m_autoBeam = new QCheckBox(frame);
+ m_autoBeam = new TQCheckBox(frame);
m_autoBeam->setChecked(autoBeam);
layout->addMultiCellWidget(m_autoBeam, row, row, 2, 2);
@@ -316,7 +316,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
(new QLabel
(i18n("Collapse rests after erase"), frame),
row, row, 0, 1);
- m_collapseRests = new QCheckBox(frame);
+ m_collapseRests = new TQCheckBox(frame);
m_collapseRests->setChecked(collapse);
layout->addMultiCellWidget(m_collapseRests, row, row, 2, 2);
++row;
@@ -325,7 +325,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
++row;
layout->addWidget
- (new QLabel(i18n("Default paste type"), frame), row, 0);
+ (new TQLabel(i18n("Default paste type"), frame), row, 0);
m_pasteType = new KComboBox(frame);
m_pasteType->setEditable(false);
@@ -351,15 +351,15 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
- frame = new QFrame(m_tabWidget);
- layout = new QGridLayout(frame, 4, 2, 10, 5);
+ frame = new TQFrame(m_tabWidget);
+ layout = new TQGridLayout(frame, 4, 2, 10, 5);
row = 0;
layout->setRowSpacing(row, 15);
++row;
- layout->addWidget(new QLabel(i18n("Accidentals in one octave..."), frame), row, 0);
+ layout->addWidget(new TQLabel(i18n("Accidentals in one octave..."), frame), row, 0);
m_accOctavePolicy = new KComboBox(frame);
m_accOctavePolicy->insertItem(i18n("Affect only that octave"));
m_accOctavePolicy->insertItem(i18n("Require cautionaries in other octaves"));
@@ -371,7 +371,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
layout->addWidget(m_accOctavePolicy, row, 1);
++row;
- layout->addWidget(new QLabel(i18n("Accidentals in one bar..."), frame), row, 0);
+ layout->addWidget(new TQLabel(i18n("Accidentals in one bar..."), frame), row, 0);
m_accBarPolicy = new KComboBox(frame);
m_accBarPolicy->insertItem(i18n("Affect only that bar"));
m_accBarPolicy->insertItem(i18n("Require cautionary resets in following bar"));
@@ -383,7 +383,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
layout->addWidget(m_accBarPolicy, row, 1);
++row;
- layout->addWidget(new QLabel(i18n("Key signature cancellation style"), frame), row, 0);
+ layout->addWidget(new TQLabel(i18n("Key signature cancellation style"), frame), row, 0);
m_keySigCancelMode = new KComboBox(frame);
m_keySigCancelMode->insertItem(i18n("Cancel only when entering C major or A minor"));
m_keySigCancelMode->insertItem(i18n("Cancel whenever removing sharps or flats"));
@@ -400,7 +400,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
addTab(frame, i18n("Accidentals"));
/*
- QString preamble =
+ TQString preamble =
(i18n("Rosegarden can apply automatic quantization to recorded "
"or imported MIDI data for notation purposes only. "
"This does not affect playback, and does not affect "
@@ -419,78 +419,78 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
*/
row = 0;
-// QFrame *mainFrame = new QFrame(m_tabWidget);
-// QGridLayout *mainLayout = new QGridLayout(mainFrame, 2, 4, 10, 5);
+// TQFrame *mainFrame = new TQFrame(m_tabWidget);
+// TQGridLayout *mainLayout = new TQGridLayout(mainFrame, 2, 4, 10, 5);
-// QGroupBox *noteFontBox = new QGroupBox(1, Horizontal, i18n("Notation font"), mainFrame);
-// QGroupBox *otherFontBox = new QGroupBox(1, Horizontal, i18n("Other fonts"), mainFrame);
-// QGroupBox *descriptionBox = new QGroupBox(1, Horizontal, i18n("Description"), mainFrame);
+// TQGroupBox *noteFontBox = new TQGroupBox(1, Horizontal, i18n("Notation font"), mainFrame);
+// TQGroupBox *otherFontBox = new TQGroupBox(1, Horizontal, i18n("Other fonts"), mainFrame);
+// TQGroupBox *descriptionBox = new TQGroupBox(1, Horizontal, i18n("Description"), mainFrame);
// mainLayout->addWidget(noteFontBox, 0, 0);
// mainLayout->addWidget(otherFontBox, 1, 0);
-// QFrame *mainFrame = new QFrame(m_tabWidget);
- frame = new QFrame(m_tabWidget);
- layout = new QGridLayout(frame, 2, 4, 10, 5);
+// TQFrame *mainFrame = new TQFrame(m_tabWidget);
+ frame = new TQFrame(m_tabWidget);
+ layout = new TQGridLayout(frame, 2, 4, 10, 5);
-// frame = new QFrame(noteFontBox);
-// layout = new QGridLayout(frame, 5, 2, 10, 5);
+// frame = new TQFrame(noteFontBox);
+// layout = new TQGridLayout(frame, 5, 2, 10, 5);
m_viewButton = 0;
- layout->addWidget(new QLabel(i18n("Notation font"), frame), 0, 0);
+ layout->addWidget(new TQLabel(i18n("Notation font"), frame), 0, 0);
m_font = new KComboBox(frame);
#ifdef HAVE_XFT
- m_viewButton = new QPushButton(i18n("View"), frame);
+ m_viewButton = new TQPushButton(i18n("View"), frame);
layout->addMultiCellWidget(m_font, row, row, 1, 2);
layout->addWidget(m_viewButton, row, 3);
- QObject::connect(m_viewButton, SIGNAL(clicked()),
- this, SLOT(slotViewButtonPressed()));
+ TQObject::connect(m_viewButton, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(slotViewButtonPressed()));
#else
layout->addMultiCellWidget(m_font, row, row, 1, 3);
#endif
m_font->setEditable(false);
- QObject::connect(m_font, SIGNAL(activated(int)),
- this, SLOT(slotFontComboChanged(int)));
+ TQObject::connect(m_font, TQT_SIGNAL(activated(int)),
+ this, TQT_SLOT(slotFontComboChanged(int)));
++row;
- QFrame *subFrame = new QFrame(frame);
- QGridLayout *subLayout = new QGridLayout(subFrame,
+ TQFrame *subFrame = new TQFrame(frame);
+ TQGridLayout *subLayout = new TQGridLayout(subFrame,
4, 2, // nbrow, nbcol
12, 2);
- QFont font = m_font->font();
+ TQFont font = m_font->font();
font.setPointSize((font.pointSize() * 9) / 10);
- QLabel *originLabel = new QLabel(i18n("Origin:"), subFrame);
+ TQLabel *originLabel = new TQLabel(i18n("Origin:"), subFrame);
originLabel->setFont(font);
subLayout->addWidget(originLabel, 0, 0);
- QLabel *copyrightLabel = new QLabel(i18n("Copyright:"), subFrame);
+ TQLabel *copyrightLabel = new TQLabel(i18n("Copyright:"), subFrame);
copyrightLabel->setFont(font);
subLayout->addWidget(copyrightLabel, 1, 0);
- QLabel *mappedLabel = new QLabel(i18n("Mapped by:"), subFrame);
+ TQLabel *mappedLabel = new TQLabel(i18n("Mapped by:"), subFrame);
mappedLabel->setFont(font);
subLayout->addWidget(mappedLabel, 2, 0);
- QLabel *typeLabel = new QLabel(i18n("Type:"), subFrame);
+ TQLabel *typeLabel = new TQLabel(i18n("Type:"), subFrame);
typeLabel->setFont(font);
subLayout->addWidget(typeLabel, 3, 0);
- m_fontOriginLabel = new QLabel(subFrame);
+ m_fontOriginLabel = new TQLabel(subFrame);
m_fontOriginLabel->setAlignment(Qt::WordBreak);
m_fontOriginLabel->setFont(font);
// m_fontOriginLabel->setFixedWidth(250);
- m_fontCopyrightLabel = new QLabel(subFrame);
+ m_fontCopyrightLabel = new TQLabel(subFrame);
m_fontCopyrightLabel->setAlignment(Qt::WordBreak);
m_fontCopyrightLabel->setFont(font);
// m_fontCopyrightLabel->setFixedWidth(250);
- m_fontMappedByLabel = new QLabel(subFrame);
+ m_fontMappedByLabel = new TQLabel(subFrame);
m_fontMappedByLabel->setFont(font);
- m_fontTypeLabel = new QLabel(subFrame);
+ m_fontTypeLabel = new TQLabel(subFrame);
m_fontTypeLabel->setFont(font);
subLayout->addWidget(m_fontOriginLabel, 0, 1);
subLayout->addWidget(m_fontCopyrightLabel, 1, 1);
@@ -505,7 +505,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
++row;
layout->addMultiCellWidget
- (new QLabel(i18n("Font size for single-staff views"), frame),
+ (new TQLabel(i18n("Font size for single-staff views"), frame),
row, row, 0, 1);
m_singleStaffSize = new KComboBox(frame);
m_singleStaffSize->setEditable(false);
@@ -513,7 +513,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
++row;
layout->addMultiCellWidget
- (new QLabel(i18n("Font size for multi-staff views"), frame),
+ (new TQLabel(i18n("Font size for multi-staff views"), frame),
row, row, 0, 1);
m_multiStaffSize = new KComboBox(frame);
m_multiStaffSize->setEditable(false);
@@ -521,7 +521,7 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
++row;
layout->addMultiCellWidget
- (new QLabel(i18n("Font size for printing (pt)"), frame),
+ (new TQLabel(i18n("Font size for printing (pt)"), frame),
row, row, 0, 1);
m_printingSize = new KComboBox(frame);
m_printingSize->setEditable(false);
@@ -533,22 +533,22 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
layout->setRowSpacing(row, 15);
++row;
- QFont defaultTextFont(NotePixmapFactory::defaultSerifFontFamily),
+ TQFont defaultTextFont(NotePixmapFactory::defaultSerifFontFamily),
defaultSansFont(NotePixmapFactory::defaultSansSerifFontFamily),
defaultTimeSigFont(NotePixmapFactory::defaultTimeSigFontFamily);
layout->addWidget
- (new QLabel(i18n("Text font"), frame), row, 0);
+ (new TQLabel(i18n("Text font"), frame), row, 0);
m_textFont = new KFontRequester(frame);
- QFont textFont = m_cfg->readFontEntry("textfont", &defaultTextFont);
+ TQFont textFont = m_cfg->readFontEntry("textfont", &defaultTextFont);
m_textFont->setFont(textFont);
layout->addMultiCellWidget(m_textFont, row, row, 1, 3);
++row;
layout->addWidget
- (new QLabel(i18n("Sans-serif font"), frame), row, 0);
+ (new TQLabel(i18n("Sans-serif font"), frame), row, 0);
m_sansFont = new KFontRequester(frame);
- QFont sansFont = m_cfg->readFontEntry("sansfont", &defaultSansFont);
+ TQFont sansFont = m_cfg->readFontEntry("sansfont", &defaultSansFont);
m_sansFont->setFont(sansFont);
layout->addMultiCellWidget(m_sansFont, row, row, 1, 3);
++row;
@@ -558,9 +558,9 @@ NotationConfigurationPage::NotationConfigurationPage(KConfig *cfg,
* and our default notation font has all the characters we need
layout->addWidget
- (new QLabel(i18n("Time Signature font"), frame), row, 0);
+ (new TQLabel(i18n("Time Signature font"), frame), row, 0);
m_timeSigFont = new KFontRequester(frame);
- QFont timeSigFont = m_cfg->readFontEntry("timesigfont", &defaultTimeSigFont);
+ TQFont timeSigFont = m_cfg->readFontEntry("timesigfont", &defaultTimeSigFont);
m_timeSigFont->setFont(timeSigFont);
layout->addMultiCellWidget(m_timeSigFont, row, row, 1, 3);
++row;
@@ -582,7 +582,7 @@ NotationConfigurationPage::slotViewButtonPressed()
NoteFont *noteFont = NoteFontFactory::getFont
(fontName, NoteFontFactory::getDefaultSize(fontName));
const NoteFontMap &map(noteFont->getNoteFontMap());
- QStringList systemFontNames(map.getSystemFontNames());
+ TQStringList systemFontNames(map.getSystemFontNames());
if (systemFontNames.count() == 0) {
m_viewButton->setEnabled(false); // oops
} else {
@@ -600,7 +600,7 @@ NotationConfigurationPage::slotViewButtonPressed()
void
NotationConfigurationPage::slotPopulateFontCombo(bool rescan)
{
- QString defaultFont = m_cfg->readEntry
+ TQString defaultFont = m_cfg->readEntry
("notefont", strtoqstr(NoteFontFactory::getDefaultFontName()));
try {
@@ -620,7 +620,7 @@ NotationConfigurationPage::slotPopulateFontCombo(bool rescan)
m_font->clear();
for (std::vector<std::string>::iterator i = f.begin(); i != f.end(); ++i) {
- QString s(strtoqstr(*i));
+ TQString s(strtoqstr(*i));
m_untranslatedFont.append(s);
m_font->insertItem(i18n(s.utf8()));
if (s == defaultFont)
@@ -646,7 +646,7 @@ NotationConfigurationPage::slotFontComboChanged(int index)
int printpt = m_cfg->readUnsignedNumEntry("printingnotesize", 5);
for (int i = 2; i < 16; ++i) {
- m_printingSize->insertItem(QString("%1").arg(i));
+ m_printingSize->insertItem(TQString("%1").arg(i));
if (i == printpt) {
m_printingSize->setCurrentItem(m_printingSize->count() - 1);
}
@@ -675,7 +675,7 @@ NotationConfigurationPage::slotFontComboChanged(int index)
}
void
-NotationConfigurationPage::populateSizeCombo(QComboBox *combo,
+NotationConfigurationPage::populateSizeCombo(TQComboBox *combo,
std::string font,
int defaultSize)
{
@@ -683,7 +683,7 @@ NotationConfigurationPage::populateSizeCombo(QComboBox *combo,
combo->clear();
for (std::vector<int>::iterator i = sizes.begin(); i != sizes.end(); ++i) {
- combo->insertItem(QString("%1").arg(*i));
+ combo->insertItem(TQString("%1").arg(*i));
if (*i == defaultSize)
combo->setCurrentItem(combo->count() - 1);
}