summaryrefslogtreecommitdiffstats
path: root/kaddressbook/printing/printingwizard.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kaddressbook/printing/printingwizard.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/printing/printingwizard.cpp')
-rw-r--r--kaddressbook/printing/printingwizard.cpp30
1 files changed, 15 insertions, 15 deletions
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 <qcombobox.h>
-#include <qheader.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qlistview.h>
-#include <qpixmap.h>
-#include <qpushbutton.h>
-#include <qradiobutton.h>
+#include <tqcombobox.h>
+#include <tqheader.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqlistview.h>
+#include <tqpixmap.h>
+#include <tqpushbutton.h>
+#include <tqradiobutton.h>
#include <kabc/addresseelist.h>
#include <kapplication.h>
@@ -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 );