summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/CollapsingFrame.h
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/widgets/CollapsingFrame.h
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/widgets/CollapsingFrame.h')
-rw-r--r--src/gui/widgets/CollapsingFrame.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/widgets/CollapsingFrame.h b/src/gui/widgets/CollapsingFrame.h
index 780a8b1..bdce001 100644
--- a/src/gui/widgets/CollapsingFrame.h
+++ b/src/gui/widgets/CollapsingFrame.h
@@ -26,13 +26,13 @@
#ifndef _RG_COLLAPSINGFRAME_H_
#define _RG_COLLAPSINGFRAME_H_
-#include <qframe.h>
-#include <qstring.h>
+#include <tqframe.h>
+#include <tqstring.h>
-class QWidget;
-class QToolButton;
-class QGridLayout;
+class TQWidget;
+class TQToolButton;
+class TQGridLayout;
namespace Rosegarden
@@ -45,25 +45,25 @@ class CollapsingFrame : public QFrame
Q_OBJECT
public:
- CollapsingFrame(QString label, QWidget *parent = 0, const char *name = 0);
+ CollapsingFrame(TQString label, TQWidget *parent = 0, const char *name = 0);
virtual ~CollapsingFrame();
- QFont font() const;
- void setFont(QFont font);
+ TQFont font() const;
+ void setFont(TQFont font);
/// If true, the widget fills the available space. Call before setWidget
void setWidgetFill(bool fill);
/// This frame contains a single other widget. Set it here.
- void setWidget(QWidget *w);
+ void setWidget(TQWidget *w);
public slots:
void toggle();
protected:
- QGridLayout *m_layout;
- QToolButton *m_toggleButton;
- QWidget *m_widget;
+ TQGridLayout *m_layout;
+ TQToolButton *m_toggleButton;
+ TQWidget *m_widget;
bool m_fill;
bool m_collapsed;
};