diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-09-06 20:59:29 +0000 |
commit | 11f31c37e5fa4889d9989f10272f44845449cb7b (patch) | |
tree | 4383da04a76c497950d957fc6120b0fd0d9082c2 /src/gui/dialogs/TimeDialog.cpp | |
parent | 832eb69d571e8e518db45d0c0e6fbc0f00690209 (diff) | |
download | rosegarden-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/TimeDialog.cpp')
-rw-r--r-- | src/gui/dialogs/TimeDialog.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/dialogs/TimeDialog.cpp b/src/gui/dialogs/TimeDialog.cpp index 40d1da2..d4eb4b6 100644 --- a/src/gui/dialogs/TimeDialog.cpp +++ b/src/gui/dialogs/TimeDialog.cpp @@ -29,45 +29,45 @@ #include "base/Composition.h" #include "gui/widgets/TimeWidget.h" #include <kdialogbase.h> -#include <qstring.h> -#include <qvbox.h> -#include <qwidget.h> +#include <tqstring.h> +#include <tqvbox.h> +#include <tqwidget.h> namespace Rosegarden { -TimeDialog::TimeDialog(QWidget *parent, QString title, +TimeDialog::TimeDialog(TQWidget *parent, TQString title, Composition *composition, timeT defaultTime, bool constrainToCompositionDuration) : KDialogBase(parent, 0, true, title, User1 | Ok | Cancel) { - QVBox *vbox = makeVBoxMainWidget(); + TQVBox *vbox = makeVBoxMainWidget(); m_timeWidget = new TimeWidget (title, vbox, composition, defaultTime, true, constrainToCompositionDuration); setButtonText(User1, i18n("Reset")); - connect(this, SIGNAL(user1Clicked()), - m_timeWidget, SLOT(slotResetToDefault())); + connect(this, TQT_SIGNAL(user1Clicked()), + m_timeWidget, TQT_SLOT(slotResetToDefault())); } -TimeDialog::TimeDialog(QWidget *parent, QString title, +TimeDialog::TimeDialog(TQWidget *parent, TQString title, Composition *composition, timeT startTime, timeT defaultTime, bool constrainToCompositionDuration) : KDialogBase(parent, 0, true, title, User1 | Ok | Cancel) { - QVBox *vbox = makeVBoxMainWidget(); + TQVBox *vbox = makeVBoxMainWidget(); m_timeWidget = new TimeWidget (title, vbox, composition, startTime, defaultTime, true, constrainToCompositionDuration); setButtonText(User1, i18n("Reset")); - connect(this, SIGNAL(user1Clicked()), - m_timeWidget, SLOT(slotResetToDefault())); + connect(this, TQT_SIGNAL(user1Clicked()), + m_timeWidget, TQT_SLOT(slotResetToDefault())); } timeT |