From 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 15 Dec 2011 15:50:21 -0600 Subject: Rename a number of old tq methods that are no longer tq specific --- libkcal/calselectdialog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libkcal/calselectdialog.cpp') diff --git a/libkcal/calselectdialog.cpp b/libkcal/calselectdialog.cpp index 3022d7cc0..49f88056b 100644 --- a/libkcal/calselectdialog.cpp +++ b/libkcal/calselectdialog.cpp @@ -45,7 +45,7 @@ #include "calselectdialog.h" #include -#include +#include using namespace KCal; @@ -54,16 +54,16 @@ CalSelectDialog::CalSelectDialog( const TQString &caption, const TQString &label : KDialogBase( 0, 0, true, caption, Ok|Cancel, Ok, true ) { TQFrame *frame = makeMainWidget(); - TQVBoxLayout *tqlayout = new TQVBoxLayout( frame, 0, spacingHint() ); + TQVBoxLayout *layout = new TQVBoxLayout( frame, 0, spacingHint() ); TQLabel *labelWidget = new TQLabel( label, frame ); - tqlayout->addWidget( labelWidget ); + layout->addWidget( labelWidget ); mListBox = new KListBox( frame ); mListBox->insertStringList( list ); mListBox->setSelected( 0, true ); mListBox->ensureCurrentVisible(); - tqlayout->addWidget( mListBox, 10 ); + layout->addWidget( mListBox, 10 ); connect( mListBox, TQT_SIGNAL(doubleClicked(TQListBoxItem *)), TQT_SLOT(slotOk()) ); @@ -72,7 +72,7 @@ CalSelectDialog::CalSelectDialog( const TQString &caption, const TQString &label mListBox->setFocus(); - tqlayout->addStretch(); + layout->addStretch(); setMinimumWidth( 320 ); } -- cgit v1.2.1