summaryrefslogtreecommitdiffstats
path: root/libkdepim/addresseeselector.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/addresseeselector.h')
-rw-r--r--libkdepim/addresseeselector.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/libkdepim/addresseeselector.h b/libkdepim/addresseeselector.h
index 46481abd..769447ff 100644
--- a/libkdepim/addresseeselector.h
+++ b/libkdepim/addresseeselector.h
@@ -28,9 +28,9 @@
#include <kdialogbase.h>
#include <kdepimmacros.h>
-#include <qbitarray.h>
-#include <qpixmap.h>
-#include <qwidget.h>
+#include <tqbitarray.h>
+#include <tqpixmap.h>
+#include <tqwidget.h>
class KComboBox;
class KLineEdit;
@@ -56,7 +56,7 @@ class KDE_EXPORT Selection
/**
Returns the title for the field specified by index.
*/
- virtual QString fieldTitle( uint index ) const = 0;
+ virtual TQString fieldTitle( uint index ) const = 0;
/**
Returns the number of items for the given addressee.
@@ -66,12 +66,12 @@ class KDE_EXPORT Selection
/**
Returns the text that's used for the item specified by index.
*/
- virtual QString itemText( const KABC::Addressee &addresse, uint index ) const = 0;
+ virtual TQString itemText( const KABC::Addressee &addresse, uint index ) const = 0;
/**
Returns the icon that's used for the item specified by index.
*/
- virtual QPixmap itemIcon( const KABC::Addressee &addresse, uint index ) const = 0;
+ virtual TQPixmap itemIcon( const KABC::Addressee &addresse, uint index ) const = 0;
/**
Returns whether the item specified by index is enabled.
@@ -81,22 +81,22 @@ class KDE_EXPORT Selection
/**
Returns whether the item specified by index matches the passed pattern.
*/
- virtual bool itemMatches( const KABC::Addressee &addresse, uint index, const QString &pattern ) const = 0;
+ virtual bool itemMatches( const KABC::Addressee &addresse, uint index, const TQString &pattern ) const = 0;
/**
Returns whether the item specified by index equals the passed pattern.
*/
- virtual bool itemEquals( const KABC::Addressee &addresse, uint index, const QString &pattern ) const = 0;
+ virtual bool itemEquals( const KABC::Addressee &addresse, uint index, const TQString &pattern ) const = 0;
/**
Returns the text that's used for the given distribution list.
*/
- virtual QString distributionListText( const KABC::DistributionList *distributionList ) const = 0;
+ virtual TQString distributionListText( const KABC::DistributionList *distributionList ) const = 0;
/**
Returns the icon that's used for the given distribution list.
*/
- virtual QPixmap distributionListIcon( const KABC::DistributionList *distributionList ) const = 0;
+ virtual TQPixmap distributionListIcon( const KABC::DistributionList *distributionList ) const = 0;
/**
Returns whether the given distribution list is enabled.
@@ -107,7 +107,7 @@ class KDE_EXPORT Selection
Returns whether the given distribution list matches the passed pattern.
*/
virtual bool distributionListMatches( const KABC::DistributionList *distributionList,
- const QString &pattern ) const = 0;
+ const TQString &pattern ) const = 0;
/**
Returns the number of additional address books.
@@ -117,7 +117,7 @@ class KDE_EXPORT Selection
/**
Returns the title for an additional address book.
*/
- virtual QString addressBookTitle( uint index ) const = 0;
+ virtual TQString addressBookTitle( uint index ) const = 0;
/**
Returns the content for an additional address book.
@@ -142,7 +142,7 @@ class KDE_EXPORT Selection
class SelectionItem
{
public:
- typedef QValueList<SelectionItem> List;
+ typedef TQValueList<SelectionItem> List;
SelectionItem( const KABC::Addressee &addressee, uint index );
SelectionItem( KABC::DistributionList *list, uint index );
@@ -160,7 +160,7 @@ class SelectionItem
KABC::Addressee mAddressee;
KABC::DistributionList *mDistributionList;
uint mIndex;
- QBitArray mField;
+ TQBitArray mField;
};
class KDE_EXPORT AddresseeSelector : public QWidget
@@ -169,7 +169,7 @@ class KDE_EXPORT AddresseeSelector : public QWidget
public:
AddresseeSelector( Selection *selection,
- QWidget *parent, const char *name = 0 );
+ TQWidget *parent, const char *name = 0 );
~AddresseeSelector();
/**
@@ -179,7 +179,7 @@ class KDE_EXPORT AddresseeSelector : public QWidget
void setItemSelected( uint fieldIndex, const KABC::Addressee&, uint itemIndex );
void setItemSelected( uint fieldIndex, const KABC::Addressee&,
- uint itemIndex, const QString& );
+ uint itemIndex, const TQString& );
private slots:
void move( int index );
@@ -202,9 +202,9 @@ class KDE_EXPORT AddresseeSelector : public QWidget
KListView *mAddresseeView;
SelectionItem::List mSelectionItems;
- QValueList<KListView*> mSelectionViews;
- QSignalMapper *mMoveMapper;
- QSignalMapper *mRemoveMapper;
+ TQValueList<KListView*> mSelectionViews;
+ TQSignalMapper *mMoveMapper;
+ TQSignalMapper *mRemoveMapper;
KABC::DistributionListManager *mManager;
@@ -218,7 +218,7 @@ class KDE_EXPORT AddresseeSelectorDialog : public KDialogBase
public:
AddresseeSelectorDialog( Selection *selection,
- QWidget *parent = 0, const char *name = 0 );
+ TQWidget *parent = 0, const char *name = 0 );
protected slots:
void accept();