summaryrefslogtreecommitdiffstats
path: root/korganizer/searchdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/searchdialog.cpp')
-rw-r--r--korganizer/searchdialog.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp
index e278d5fbb..6d315c50a 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 *tqlayout = new TQVBoxLayout(topFrame,0,spacingHint());
+ TQVBoxLayout *layout = new TQVBoxLayout(topFrame,0,spacingHint());
// Search expression
TQHBoxLayout *subLayout = new TQHBoxLayout();
- tqlayout->addLayout(subLayout);
+ layout->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 );
- tqlayout->addWidget( itemsGroup );
+ layout->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, Qt::Horizontal, i18n( "Date Range" ),
topFrame );
- tqlayout->addWidget( rangeGroup );
+ layout->addWidget( rangeGroup );
TQWidget *rangeWidget = new TQWidget( rangeGroup );
TQHBoxLayout *rangeLayout = new TQHBoxLayout( rangeWidget, 0, spacingHint() );
@@ -100,7 +100,7 @@ SearchDialog::SearchDialog(Calendar *calendar,TQWidget *parent)
// Subjects to search
TQHButtonGroup *subjectGroup = new TQHButtonGroup( i18n("Search In"), topFrame );
- tqlayout->addWidget(subjectGroup);
+ layout->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();
- tqlayout->addWidget( listView );
+ layout->addWidget( listView );
if ( KOPrefs::instance()->mCompactDialogs ) {
KOGlobals::fitDialogToScreen( this, true );