summaryrefslogtreecommitdiffstats
path: root/kaddressbook/xxportselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/xxportselectdialog.cpp')
-rw-r--r--kaddressbook/xxportselectdialog.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp
index 9b84961d..f7badeaa 100644
--- a/kaddressbook/xxportselectdialog.cpp
+++ b/kaddressbook/xxportselectdialog.cpp
@@ -18,8 +18,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#include <kabc/addressbook.h>
@@ -44,9 +44,9 @@
#include "xxportselectdialog.h"
XXPortSelectDialog::XXPortSelectDialog( KAB::Core *core, bool sort,
- TQWidget* parent, const char* name )
+ TQWidget* tqparent, const char* name )
: KDialogBase( Plain, i18n( "Choose Which Contacts to Export" ), Help | Ok | Cancel,
- Ok, parent, name, true, true ), mCore( core ),
+ Ok, tqparent, name, true, true ), mCore( core ),
mUseSorting( sort )
{
initGUI();
@@ -94,7 +94,7 @@ KABC::AddresseeList XXPortSelectDialog::contacts()
if ( mUseSelection->isChecked() ) {
TQStringList::ConstIterator it;
for ( it = selection.begin(); it != selection.end(); ++it ) {
- KABC::Addressee addr = mCore->addressBook()->tqfindByUid( *it );
+ KABC::Addressee addr = mCore->addressBook()->findByUid( *it );
if ( !addr.isEmpty() )
list.append( addr );
}
@@ -186,12 +186,12 @@ void XXPortSelectDialog::initGUI()
topLayout->addWidget( label );
mButtonGroup = new TQButtonGroup( i18n( "Selection" ), page );
- mButtonGroup->setColumnLayout( 0, Qt::Vertical );
+ mButtonGroup->setColumnLayout( 0, TQt::Vertical );
mButtonGroup->tqlayout()->setSpacing( KDialog::spacingHint() );
mButtonGroup->tqlayout()->setMargin( KDialog::marginHint() );
TQGridLayout *groupLayout = new TQGridLayout( mButtonGroup->tqlayout() );
- groupLayout->tqsetAlignment( Qt::AlignTop );
+ groupLayout->tqsetAlignment( TQt::AlignTop );
mUseWholeBook = new TQRadioButton( i18n( "&All contacts" ), mButtonGroup );
mUseWholeBook->setChecked( true );
@@ -210,7 +210,7 @@ void XXPortSelectDialog::initGUI()
mUseCategories = new TQRadioButton( i18n( "Category &members" ), mButtonGroup );
TQWhatsThis::add( mUseCategories, i18n( "Only export contacts who are members of a category that is checked on the list to the left.\n"
"This option is disabled if you have no categories." ) );
- groupLayout->addWidget( mUseCategories, 3, 0, Qt::AlignTop );
+ groupLayout->addWidget( mUseCategories, 3, 0, TQt::AlignTop );
mFiltersCombo = new TQComboBox( false, mButtonGroup );
TQWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to export." ) );
@@ -225,10 +225,10 @@ void XXPortSelectDialog::initGUI()
topLayout->addWidget( mButtonGroup );
TQButtonGroup *sortingGroup = new TQButtonGroup( i18n( "Sorting" ), page );
- sortingGroup->setColumnLayout( 0, Qt::Vertical );
+ sortingGroup->setColumnLayout( 0, TQt::Vertical );
TQGridLayout *sortLayout = new TQGridLayout( sortingGroup->tqlayout(), 2, 2,
KDialog::spacingHint() );
- sortLayout->tqsetAlignment( Qt::AlignTop );
+ sortLayout->tqsetAlignment( TQt::AlignTop );
label = new TQLabel( i18n( "Criterion:" ), sortingGroup );
sortLayout->addWidget( label, 0, 0 );