From 458efa7b0c935cbaafa2791021a5f8f7241aa876 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 2 May 2011 22:38:52 +0000 Subject: Initial TQt4 port of Rosegarden This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/rosegarden@1230242 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/gui/widgets/PitchDragLabel.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/PitchDragLabel.h') diff --git a/src/gui/widgets/PitchDragLabel.h b/src/gui/widgets/PitchDragLabel.h index fa3ecfd..1be7232 100644 --- a/src/gui/widgets/PitchDragLabel.h +++ b/src/gui/widgets/PitchDragLabel.h @@ -42,17 +42,18 @@ namespace Rosegarden class NotePixmapFactory; -class PitchDragLabel : public QWidget +class PitchDragLabel : public TQWidget { Q_OBJECT + TQ_OBJECT public: - PitchDragLabel(TQWidget *parent, + PitchDragLabel(TQWidget *tqparent, int defaultPitch = 60, bool defaultSharps = true); ~PitchDragLabel(); int getPitch() const { return m_pitch; } - virtual TQSize sizeHint() const; + virtual TQSize tqsizeHint() const; signals: void pitchDragged(int); -- cgit v1.2.1