summaryrefslogtreecommitdiffstats
path: root/korganizer/searchdialog.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 /korganizer/searchdialog.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 'korganizer/searchdialog.cpp')
-rw-r--r--korganizer/searchdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp
index 2cc4bb442..b8b6ea1ea 100644
--- a/korganizer/searchdialog.cpp
+++ b/korganizer/searchdialog.cpp
@@ -52,11 +52,11 @@ SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
mCalendar = calendar;
TQFrame *topFrame = plainPage();
- TQVBoxLayout *layout = new TQVBoxLayout(topFrame,0,spacingHint());
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(topFrame,0,spacingHint());
// Search expression
TQHBoxLayout *subLayout = new TQHBoxLayout();
- layout->addLayout(subLayout);
+ tqlayout->addLayout(subLayout);
searchEdit = new TQLineEdit( "*", topFrame ); // Find all events by default
searchLabel = new TQLabel( searchEdit, i18n("&Search for:"), topFrame );
@@ -68,7 +68,7 @@ SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
TQHButtonGroup *itemsGroup = new TQHButtonGroup( i18n("Search For"), topFrame );
- layout->addWidget( itemsGroup );
+ tqlayout->addWidget( itemsGroup );
mEventsCheck = new TQCheckBox( i18n("&Events"), itemsGroup );
mTodosCheck = new TQCheckBox( i18n("To-&dos"), itemsGroup );
mJournalsCheck = new TQCheckBox( i18n("&Journal entries"), itemsGroup );
@@ -78,7 +78,7 @@ SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
// Date range
TQGroupBox *rangeGroup = new TQGroupBox( 1, Horizontal, i18n( "Date Range" ),
topFrame );
- layout->addWidget( rangeGroup );
+ tqlayout->addWidget( rangeGroup );
TQWidget *rangeWidget = new TQWidget( rangeGroup );
TQHBoxLayout *rangeLayout = new TQHBoxLayout( rangeWidget, 0, spacingHint() );
@@ -89,7 +89,7 @@ SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
mEndDate = new KDateEdit( rangeWidget );
rangeLayout->addWidget( new TQLabel( mEndDate, i18n("&To:"), rangeWidget ) );
- mEndDate->setDate( TQDate::currentDate().addDays( 365 ) );
+ mEndDate->setDate( TQDate::tqcurrentDate().addDays( 365 ) );
rangeLayout->addWidget( mEndDate );
mInclusiveCheck = new TQCheckBox( i18n("E&vents have to be completely included"),
@@ -100,7 +100,7 @@ SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
// Subjects to search
TQHButtonGroup *subjectGroup = new TQHButtonGroup( i18n("Search In"), topFrame );
- layout->addWidget(subjectGroup);
+ tqlayout->addWidget(subjectGroup);
mSummaryCheck = new TQCheckBox( i18n("Su&mmaries"), subjectGroup );
mSummaryCheck->setChecked( true );
@@ -111,7 +111,7 @@ SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
// Results list view
listView = new KOListView( mCalendar, topFrame );
listView->showDates();
- layout->addWidget( listView );
+ tqlayout->addWidget( listView );
if ( KOPrefs::instance()->mCompactDialogs ) {
KOGlobals::fitDialogToScreen( this, true );