summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/specialdates/kcmsdsummary.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 /kontact/plugins/specialdates/kcmsdsummary.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 'kontact/plugins/specialdates/kcmsdsummary.cpp')
-rw-r--r--kontact/plugins/specialdates/kcmsdsummary.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kontact/plugins/specialdates/kcmsdsummary.cpp b/kontact/plugins/specialdates/kcmsdsummary.cpp
index eb954ccf..a5940659 100644
--- a/kontact/plugins/specialdates/kcmsdsummary.cpp
+++ b/kontact/plugins/specialdates/kcmsdsummary.cpp
@@ -25,7 +25,7 @@
#include <tqbuttongroup.h>
#include <tqcheckbox.h>
#include <tqlabel.h>
-#include <layout.h>
+#include <tqlayout.h>
#include <tqradiobutton.h>
#include <tqspinbox.h>
@@ -85,10 +85,10 @@ void KCMSDSummary::customDaysChanged( int value )
void KCMSDSummary::initGUI()
{
- TQGridLayout *layout = new TQGridLayout( this, 3, 2, KDialog::spacingHint() );
+ TQGridLayout *tqlayout = new TQGridLayout( this, 3, 2, KDialog::spacingHint() );
mDaysGroup = new TQButtonGroup( 0, Qt::Vertical, i18n( "Special Dates Summary" ), this );
- TQVBoxLayout *boxLayout = new TQVBoxLayout( mDaysGroup->layout(),
+ TQVBoxLayout *boxLayout = new TQVBoxLayout( mDaysGroup->tqlayout(),
KDialog::spacingHint() );
TQLabel *label = new TQLabel( i18n( "How many days should the special dates summary show at once?" ), mDaysGroup );
@@ -117,7 +117,7 @@ void KCMSDSummary::initGUI()
hbox->addStretch( 1 );
- layout->addMultiCellWidget( mDaysGroup, 0, 0, 0, 1 );
+ tqlayout->addMultiCellWidget( mDaysGroup, 0, 0, 0, 1 );
mCalendarGroup = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Special Dates From Calendar" ), this );
@@ -132,10 +132,10 @@ void KCMSDSummary::initGUI()
mShowBirthdaysFromKAB = new TQCheckBox( i18n( "Show birthdays" ), mContactGroup );
mShowAnniversariesFromKAB = new TQCheckBox( i18n( "Show anniversaries" ), mContactGroup );
- layout->addWidget( mCalendarGroup, 1, 0 );
- layout->addWidget( mContactGroup, 1, 1 );
+ tqlayout->addWidget( mCalendarGroup, 1, 0 );
+ tqlayout->addWidget( mContactGroup, 1, 1 );
- layout->setRowStretch( 2, 1 );
+ tqlayout->setRowStretch( 2, 1 );
}
void KCMSDSummary::load()