summaryrefslogtreecommitdiffstats
path: root/korganizer/searchdialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /korganizer/searchdialog.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'korganizer/searchdialog.cpp')
-rw-r--r--korganizer/searchdialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/korganizer/searchdialog.cpp b/korganizer/searchdialog.cpp
index bec56d41a..497ad1f6e 100644
--- a/korganizer/searchdialog.cpp
+++ b/korganizer/searchdialog.cpp
@@ -24,7 +24,7 @@
without including the source code for TQt in the source distribution.
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqcheckbox.h>
#include <tqgroupbox.h>
#include <tqhbuttongroup.h>
@@ -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, Qt::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 );