summaryrefslogtreecommitdiffstats
path: root/libkdepim/addressesdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/addressesdialog.h')
-rw-r--r--libkdepim/addressesdialog.h62
1 files changed, 31 insertions, 31 deletions
diff --git a/libkdepim/addressesdialog.h b/libkdepim/addressesdialog.h
index 06e8305d3..4b3ea9dc9 100644
--- a/libkdepim/addressesdialog.h
+++ b/libkdepim/addressesdialog.h
@@ -28,14 +28,14 @@
#include <kabc/addressee.h>
#include <kdialogbase.h>
#include <klistview.h>
-#include <qstringlist.h>
-#include <qptrlist.h>
-#include <qptrdict.h>
+#include <tqstringlist.h>
+#include <tqptrlist.h>
+#include <tqptrdict.h>
#include <kdepimmacros.h>
namespace KPIM {
- class AddresseeViewItem : public QObject, public KListViewItem
+ class AddresseeViewItem : public TQObject, public KListViewItem
{
Q_OBJECT
@@ -50,21 +50,21 @@ namespace KPIM {
DistList =6
};
AddresseeViewItem( AddresseeViewItem *parent, const KABC::Addressee& addr, int emailIndex = 0 );
- AddresseeViewItem( KListView *lv, const QString& name, Category cat=Group );
- AddresseeViewItem( AddresseeViewItem *parent, const QString& name, const KABC::Addressee::List &lst );
- AddresseeViewItem( AddresseeViewItem *parent, const QString& name );
+ AddresseeViewItem( KListView *lv, const TQString& name, Category cat=Group );
+ AddresseeViewItem( AddresseeViewItem *parent, const TQString& name, const KABC::Addressee::List &lst );
+ AddresseeViewItem( AddresseeViewItem *parent, const TQString& name );
~AddresseeViewItem();
KABC::Addressee addressee() const;
KABC::Addressee::List addresses() const;
Category category() const;
- QString name() const;
- QString email() const;
+ TQString name() const;
+ TQString email() const;
- bool matches( const QString& ) const;
+ bool matches( const TQString& ) const;
- virtual int compare( QListViewItem * i, int col, bool ascending ) const;
+ virtual int compare( TQListViewItem * i, int col, bool ascending ) const;
virtual void setSelected( bool );
signals:
@@ -79,21 +79,21 @@ namespace KPIM {
{
Q_OBJECT
public:
- AddressesDialog( QWidget *widget=0, const char *name=0 );
+ AddressesDialog( TQWidget *widget=0, const char *name=0 );
~AddressesDialog();
/**
- * Returns the list of picked "To" addresses as a QStringList.
+ * Returns the list of picked "To" addresses as a TQStringList.
*/
- QStringList to() const;
+ TQStringList to() const;
/**
- * Returns the list of picked "CC" addresses as a QStringList.
+ * Returns the list of picked "CC" addresses as a TQStringList.
*/
- QStringList cc() const;
+ TQStringList cc() const;
/**
- * Returns the list of picked "BCC" addresses as a QStringList.
+ * Returns the list of picked "BCC" addresses as a TQStringList.
*/
- QStringList bcc() const;
+ TQStringList bcc() const;
/**
* Returns the list of picked "To" addresses as KABC::Addressee::List.
@@ -121,17 +121,17 @@ namespace KPIM {
* Returns the list of picked "To" distribution lists.
* This complements @ref toAddresses.
*/
- QStringList toDistributionLists() const;
+ TQStringList toDistributionLists() const;
/**
* Returns the list of picked "CC" distribution lists.
* This complements @ref ccAddresses.
*/
- QStringList ccDistributionLists() const;
+ TQStringList ccDistributionLists() const;
/**
* Returns the list of picked "BCC" distribution lists.
* This complements @ref bccAddresses.
*/
- QStringList bccDistributionLists() const;
+ TQStringList bccDistributionLists() const;
public slots:
/**
@@ -152,15 +152,15 @@ namespace KPIM {
/**
* Adds addresses in @p l to the selected "To" group.
*/
- void setSelectedTo( const QStringList& l );
+ void setSelectedTo( const TQStringList& l );
/**
* Adds addresses in @p l to the selected "CC" group.
*/
- void setSelectedCC( const QStringList& l );
+ void setSelectedCC( const TQStringList& l );
/**
* Adds addresses in @p l to the selected "BCC" group.
*/
- void setSelectedBCC( const QStringList& l );
+ void setSelectedBCC( const TQStringList& l );
protected slots:
void addSelectedTo();
@@ -173,7 +173,7 @@ namespace KPIM {
void ldapSearchResult();
void launchAddressBook();
- void filterChanged( const QString & );
+ void filterChanged( const TQString & );
void updateAvailableAddressees();
void availableSelectionChanged();
@@ -193,11 +193,11 @@ namespace KPIM {
void addAddresseeToSelected( const KABC::Addressee& addr,
AddresseeViewItem* defaultParent=0 );
void addAddresseesToSelected( AddresseeViewItem *parent,
- const QPtrList<AddresseeViewItem>& addresses );
- QStringList entryToString( const KABC::Addressee::List& l ) const;
+ const TQPtrList<AddresseeViewItem>& addresses );
+ TQStringList entryToString( const KABC::Addressee::List& l ) const;
KABC::Addressee::List allAddressee( AddresseeViewItem* parent ) const;
KABC::Addressee::List allAddressee( KListView* view, bool onlySelected = true ) const;
- QStringList allDistributionLists( AddresseeViewItem* parent ) const;
+ TQStringList allDistributionLists( AddresseeViewItem* parent ) const;
private:
// if there's only one group in the available list, open it
@@ -211,9 +211,9 @@ namespace KPIM {
struct AddressesDialogPrivate;
AddressesDialogPrivate *d;
- QPtrList<AddresseeViewItem> selectedAvailableAddresses;
- QPtrList<AddresseeViewItem> selectedSelectedAddresses;
- QPtrDict<AddresseeViewItem> selectedToAvailableMapping;
+ TQPtrList<AddresseeViewItem> selectedAvailableAddresses;
+ TQPtrList<AddresseeViewItem> selectedSelectedAddresses;
+ TQPtrDict<AddresseeViewItem> selectedToAvailableMapping;
};
}