summaryrefslogtreecommitdiffstats
path: root/kalarm/find.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kalarm/find.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kalarm/find.cpp')
-rw-r--r--kalarm/find.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kalarm/find.cpp b/kalarm/find.cpp
index a05517826..1bec3c7a8 100644
--- a/kalarm/find.cpp
+++ b/kalarm/find.cpp
@@ -90,24 +90,24 @@ void Find::display()
mDialog = new KFindDialog(false, mListView, "FindDlg", mOptions, mHistory, (mListView->selectedCount() > 1));
#endif
mDialog->setHasSelection(false);
- TQWidget* kalarmWidgets = mDialog->findExtension();
+ TQWidget* kalarmWidgets = mDialog->tqfindExtension();
// Alarm types
- TQBoxLayout* layout = new TQVBoxLayout(kalarmWidgets, 0, KDialog::spacingHint());
+ TQBoxLayout* tqlayout = new TQVBoxLayout(kalarmWidgets, 0, KDialog::spacingHint());
TQGroupBox* group = new TQGroupBox(i18n("Alarm Type"), kalarmWidgets);
- layout->addWidget(group);
+ tqlayout->addWidget(group);
TQGridLayout* grid = new TQGridLayout(group, 2, 2, KDialog::marginHint(), KDialog::spacingHint());
grid->addRowSpacing(0, mDialog->fontMetrics().lineSpacing()/2);
grid->setColStretch(1, 1);
// Live & expired alarm selection
mLive = new TQCheckBox(i18n("Acti&ve"), group);
- mLive->setFixedSize(mLive->sizeHint());
+ mLive->setFixedSize(mLive->tqsizeHint());
TQWhatsThis::add(mLive, i18n("Check to include active alarms in the search."));
grid->addWidget(mLive, 1, 0, Qt::AlignAuto);
mExpired = new TQCheckBox(i18n("Ex&pired"), group);
- mExpired->setFixedSize(mExpired->sizeHint());
+ mExpired->setFixedSize(mExpired->tqsizeHint());
TQWhatsThis::add(mExpired,
i18n("Check to include expired alarms in the search. "
"This option is only available if expired alarms are currently being displayed."));
@@ -118,22 +118,22 @@ void Find::display()
// Alarm actions
mMessageType = new TQCheckBox(i18n("Text"), group, "message");
- mMessageType->setFixedSize(mMessageType->sizeHint());
+ mMessageType->setFixedSize(mMessageType->tqsizeHint());
TQWhatsThis::add(mMessageType, i18n("Check to include text message alarms in the search."));
grid->addWidget(mMessageType, 3, 0);
mFileType = new TQCheckBox(i18n("Fi&le"), group, "file");
- mFileType->setFixedSize(mFileType->sizeHint());
+ mFileType->setFixedSize(mFileType->tqsizeHint());
TQWhatsThis::add(mFileType, i18n("Check to include file alarms in the search."));
grid->addWidget(mFileType, 3, 2);
mCommandType = new TQCheckBox(i18n("Co&mmand"), group, "command");
- mCommandType->setFixedSize(mCommandType->sizeHint());
+ mCommandType->setFixedSize(mCommandType->tqsizeHint());
TQWhatsThis::add(mCommandType, i18n("Check to include command alarms in the search."));
grid->addWidget(mCommandType, 4, 0);
mEmailType = new TQCheckBox(i18n("&Email"), group, "email");
- mEmailType->setFixedSize(mEmailType->sizeHint());
+ mEmailType->setFixedSize(mEmailType->tqsizeHint());
TQWhatsThis::add(mEmailType, i18n("Check to include email alarms in the search."));
grid->addWidget(mEmailType, 4, 2);
@@ -211,7 +211,7 @@ void Find::slotFind()
{
if (!mDialog)
return;
- mHistory = mDialog->findHistory(); // save search history so that it can be displayed again
+ mHistory = mDialog->tqfindHistory(); // save search history so that it can be displayed again
mOptions = mDialog->options() & ~FIND_KALARM_OPTIONS;
mOptions |= (mLive->isEnabled() && mLive->isChecked() ? FIND_LIVE : 0)
| (mExpired->isEnabled() && mExpired->isChecked() ? FIND_EXPIRED : 0)