summaryrefslogtreecommitdiffstats
path: root/kalarm/specialactions.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kalarm/specialactions.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/specialactions.cpp')
-rw-r--r--kalarm/specialactions.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kalarm/specialactions.cpp b/kalarm/specialactions.cpp
index fabff6edd..919524aff 100644
--- a/kalarm/specialactions.cpp
+++ b/kalarm/specialactions.cpp
@@ -40,8 +40,8 @@
= Button to display the Special Alarm Actions dialogue.
=============================================================================*/
-SpecialActionsButton::SpecialActionsButton(const TQString& caption, TQWidget* parent, const char* name)
- : TQPushButton(caption, parent, name),
+SpecialActionsButton::SpecialActionsButton(const TQString& caption, TQWidget* tqparent, const char* name)
+ : TQPushButton(caption, tqparent, name),
mReadOnly(false)
{
setToggleButton(true);
@@ -90,8 +90,8 @@ static const char SPEC_ACT_DIALOG_NAME[] = "SpecialActionsDialog";
SpecialActionsDlg::SpecialActionsDlg(const TQString& preAction, const TQString& postAction,
- const TQString& caption, TQWidget* parent, const char* name)
- : KDialogBase(parent, name, true, caption, Ok|Cancel, Ok, false)
+ const TQString& caption, TQWidget* tqparent, const char* name)
+ : KDialogBase(tqparent, name, true, caption, Ok|Cancel, Ok, false)
{
TQWidget* page = new TQWidget(this);
setMainWidget(page);
@@ -134,8 +134,8 @@ void SpecialActionsDlg::resizeEvent(TQResizeEvent* re)
= Pre- and post-alarm actions widget.
=============================================================================*/
-SpecialActions::SpecialActions(TQWidget* parent, const char* name)
- : TQWidget(parent, name),
+SpecialActions::SpecialActions(TQWidget* tqparent, const char* name)
+ : TQWidget(tqparent, name),
mReadOnly(false)
{
TQBoxLayout* topLayout = new TQVBoxLayout(this, 0, KDialog::spacingHint());
@@ -143,7 +143,7 @@ SpecialActions::SpecialActions(TQWidget* parent, const char* name)
// Pre-alarm action
TQLabel* label = new TQLabel(i18n("Pre-a&larm action:"), this);
label->setFixedSize(label->tqsizeHint());
- topLayout->addWidget(label, 0, Qt::AlignAuto);
+ topLayout->addWidget(label, 0, TQt::AlignAuto);
mPreAction = new KLineEdit(this);
label->setBuddy(mPreAction);
@@ -157,7 +157,7 @@ SpecialActions::SpecialActions(TQWidget* parent, const char* name)
// Post-alarm action
label = new TQLabel(i18n("Post-alar&m action:"), this);
label->setFixedSize(label->tqsizeHint());
- topLayout->addWidget(label, 0, Qt::AlignAuto);
+ topLayout->addWidget(label, 0, TQt::AlignAuto);
mPostAction = new KLineEdit(this);
label->setBuddy(mPostAction);