summaryrefslogtreecommitdiffstats
path: root/kalarm/templatedlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:13 -0600
commitba2a3ce341c0c71bbbcf350fcbcd60c552220b31 (patch)
tree08ba9504290f461f1244dded6b37fc4db00847ab /kalarm/templatedlg.cpp
parentd5b298be14c173d62e8fbc6a3803ba8f657f3dcb (diff)
downloadtdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.tar.gz
tdepim-ba2a3ce341c0c71bbbcf350fcbcd60c552220b31.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kalarm/templatedlg.cpp')
-rw-r--r--kalarm/templatedlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kalarm/templatedlg.cpp b/kalarm/templatedlg.cpp
index 698077bf6..2841ce61b 100644
--- a/kalarm/templatedlg.cpp
+++ b/kalarm/templatedlg.cpp
@@ -50,34 +50,34 @@ TemplateDlg::TemplateDlg(TQWidget* parent, const char* name)
TQBoxLayout* topLayout = new TQHBoxLayout(topWidget);
topLayout->setSpacing(spacingHint());
- TQBoxLayout* tqlayout = new TQVBoxLayout(topLayout);
+ TQBoxLayout* layout = new TQVBoxLayout(topLayout);
mTemplateList = new TemplateListView(true, i18n("The list of alarm templates"), topWidget);
mTemplateList->setSelectionMode(TQListView::Extended);
mTemplateList->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Expanding));
connect(mTemplateList, TQT_SIGNAL(selectionChanged()), TQT_SLOT(slotSelectionChanged()));
- tqlayout->addWidget(mTemplateList);
+ layout->addWidget(mTemplateList);
- tqlayout = new TQVBoxLayout(topLayout);
+ layout = new TQVBoxLayout(topLayout);
TQPushButton* button = new TQPushButton(i18n("&New..."), topWidget);
connect(button, TQT_SIGNAL(clicked()), TQT_SLOT(slotNew()));
TQWhatsThis::add(button, i18n("Create a new alarm template"));
- tqlayout->addWidget(button);
+ layout->addWidget(button);
mEditButton = new TQPushButton(i18n("&Edit..."), topWidget);
connect(mEditButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotEdit()));
TQWhatsThis::add(mEditButton, i18n("Edit the currently highlighted alarm template"));
- tqlayout->addWidget(mEditButton);
+ layout->addWidget(mEditButton);
mCopyButton = new TQPushButton(i18n("Co&py"), topWidget);
connect(mCopyButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotCopy()));
TQWhatsThis::add(mCopyButton,
i18n("Create a new alarm template based on a copy of the currently highlighted template"));
- tqlayout->addWidget(mCopyButton);
+ layout->addWidget(mCopyButton);
mDeleteButton = new TQPushButton(i18n("&Delete"), topWidget);
connect(mDeleteButton, TQT_SIGNAL(clicked()), TQT_SLOT(slotDelete()));
TQWhatsThis::add(mDeleteButton, i18n("Delete the currently highlighted alarm template"));
- tqlayout->addWidget(mDeleteButton);
+ layout->addWidget(mDeleteButton);
KAccel* accel = new KAccel(this);
accel->insert(KStdAccel::SelectAll, TQT_TQOBJECT(mTemplateList), TQT_SLOT(slotSelectAll()));