summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/TextEventDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs/TextEventDialog.h')
-rw-r--r--src/gui/dialogs/TextEventDialog.h58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/gui/dialogs/TextEventDialog.h b/src/gui/dialogs/TextEventDialog.h
index 0f389b0..d74fb00 100644
--- a/src/gui/dialogs/TextEventDialog.h
+++ b/src/gui/dialogs/TextEventDialog.h
@@ -29,15 +29,15 @@
#include "base/NotationTypes.h"
#include <string>
#include <kdialogbase.h>
-#include <qstring.h>
+#include <tqstring.h>
#include <vector>
-class QWidget;
-class QLineEdit;
-class QLabel;
+class TQWidget;
+class TQLineEdit;
+class TQLabel;
class KComboBox;
-class QSpinBox;
+class TQSpinBox;
namespace Rosegarden
{
@@ -50,7 +50,7 @@ class TextEventDialog : public KDialogBase
Q_OBJECT
public:
- TextEventDialog(QWidget *parent,
+ TextEventDialog(TQWidget *parent,
NotePixmapFactory *npf,
Text defaultText,
int maxLength = -1); // for Qt default
@@ -58,8 +58,8 @@ public:
Text getText() const;
public slots:
- void slotTextChanged(const QString &);
- void slotTypeChanged(const QString &);
+ void slotTextChanged(const TQString &);
+ void slotTypeChanged(const TQString &);
/*
* Save previous state of assorted widgets for restoration in the next
@@ -68,18 +68,18 @@ public slots:
void slotOK();
// convenience canned texts
- void slotDynamicShortcutChanged(const QString &);
- void slotDirectionShortcutChanged(const QString &);
- void slotLocalDirectionShortcutChanged(const QString &);
- void slotTempoShortcutChanged(const QString &);
- void slotLocalTempoShortcutChanged(const QString &);
+ void slotDynamicShortcutChanged(const TQString &);
+ void slotDirectionShortcutChanged(const TQString &);
+ void slotLocalDirectionShortcutChanged(const TQString &);
+ void slotTempoShortcutChanged(const TQString &);
+ void slotLocalTempoShortcutChanged(const TQString &);
//
// special LilyPond directives, initial phase, as cheap text events; will
// eventually move out of Text, and out of this dialog into
// some other less cheesy interface
//
- void slotLilyPondDirectiveChanged(const QString &);
+ void slotLilyPondDirectiveChanged(const TQString &);
protected:
@@ -88,9 +88,9 @@ protected:
//--------------- Data members ---------------------------------
- QLineEdit *m_text;
+ TQLineEdit *m_text;
KComboBox *m_typeCombo;
- QSpinBox *m_verseSpin;
+ TQSpinBox *m_verseSpin;
KComboBox *m_dynamicShortcutCombo;
KComboBox *m_directionShortcutCombo;
KComboBox *m_localDirectionShortcutCombo;
@@ -100,21 +100,21 @@ protected:
KComboBox *m_lilyPondDirectiveCombo;
- QLabel *m_staffAboveLabel;
- QLabel *m_textExampleLabel;
- QLabel *m_staffBelowLabel;
- QLabel *m_dynamicShortcutLabel;
- QLabel *m_directionShortcutLabel;
- QLabel *m_localDirectionShortcutLabel;
- QLabel *m_tempoShortcutLabel;
- QLabel *m_localTempoShortcutLabel;
- QLabel *m_verseLabel;
+ TQLabel *m_staffAboveLabel;
+ TQLabel *m_textExampleLabel;
+ TQLabel *m_staffBelowLabel;
+ TQLabel *m_dynamicShortcutLabel;
+ TQLabel *m_directionShortcutLabel;
+ TQLabel *m_localDirectionShortcutLabel;
+ TQLabel *m_tempoShortcutLabel;
+ TQLabel *m_localTempoShortcutLabel;
+ TQLabel *m_verseLabel;
// temporary home:
- QLabel *m_directiveLabel;
+ TQLabel *m_directiveLabel;
- QString m_prevChord;
- QString m_prevLyric;
- QString m_prevAnnotation;
+ TQString m_prevChord;
+ TQString m_prevLyric;
+ TQString m_prevAnnotation;
NotePixmapFactory *m_notePixmapFactory;
std::vector<std::string> m_styles;