From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kaddressbook/printing/printingwizard.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'kaddressbook/printing/printingwizard.cpp') diff --git a/kaddressbook/printing/printingwizard.cpp b/kaddressbook/printing/printingwizard.cpp index a961ac5fc..2bf6deaf8 100644 --- a/kaddressbook/printing/printingwizard.cpp +++ b/kaddressbook/printing/printingwizard.cpp @@ -22,14 +22,14 @@ without including the source code for Qt in the source distribution. */ -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include @@ -53,7 +53,7 @@ using namespace KABPrinting; PrintingWizard::PrintingWizard( KPrinter *printer, KABC::AddressBook* ab, - const QStringList& selection, QWidget *parent, + const TQStringList& selection, TQWidget *parent, const char* name ) : KWizard( parent, name ), mPrinter( printer ), mAddressBook( ab ), mSelection( selection ), mStyle( 0 ) @@ -63,7 +63,7 @@ PrintingWizard::PrintingWizard( KPrinter *printer, KABC::AddressBook* ab, insertPage( mSelectionPage, i18n("Choose Contacts to Print"), -1 ); mFilters = Filter::restore( kapp->config(), "Filter" ); - QStringList filters; + TQStringList filters; for ( Filter::List::ConstIterator it = mFilters.begin(); it != mFilters.end(); ++it ) filters.append( (*it).name() ); @@ -75,7 +75,7 @@ PrintingWizard::PrintingWizard( KPrinter *printer, KABC::AddressBook* ab, mStylePage = new StylePage( mAddressBook, this ); - connect( mStylePage, SIGNAL( styleChanged(int) ), SLOT( slotStyleSelected(int) ) ); + connect( mStylePage, TQT_SIGNAL( styleChanged(int) ), TQT_SLOT( slotStyleSelected(int) ) ); insertPage( mStylePage, i18n("Choose Printing Style"), -1 ); registerStyles(); @@ -160,7 +160,7 @@ void PrintingWizard::print() KABC::AddresseeList list; if ( mStyle != 0 ) { if ( mSelectionPage->useSelection() ) { - QStringList::ConstIterator it; + TQStringList::ConstIterator it; for ( it = mSelection.begin(); it != mSelection.end(); ++it ) { KABC::Addressee addr = addressBook()->findByUid( *it ); if ( !addr.isEmpty() ) @@ -180,11 +180,11 @@ void PrintingWizard::print() } } else if ( mSelectionPage->useCategories() ) { - QStringList categories = mSelectionPage->categories(); + TQStringList categories = mSelectionPage->categories(); KABC::AddressBook::ConstIterator it; for ( it = addressBook()->begin(); it != addressBook()->end(); ++it ) { - const QStringList tmp( (*it).categories() ); - QStringList::ConstIterator tmpIt; + const TQStringList tmp( (*it).categories() ); + TQStringList::ConstIterator tmpIt; for ( tmpIt = tmp.begin(); tmpIt != tmp.end(); ++tmpIt ) if ( categories.contains( *tmpIt ) ) { list.append( *it ); -- cgit v1.2.1