summaryrefslogtreecommitdiffstats
path: root/libkdepim/addressesdialog.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkdepim/addressesdialog.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/addressesdialog.h')
-rw-r--r--libkdepim/addressesdialog.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/libkdepim/addressesdialog.h b/libkdepim/addressesdialog.h
index 4b3ea9dc9..71d6925da 100644
--- a/libkdepim/addressesdialog.h
+++ b/libkdepim/addressesdialog.h
@@ -38,6 +38,7 @@ namespace KPIM {
class AddresseeViewItem : public TQObject, public KListViewItem
{
Q_OBJECT
+ TQ_OBJECT
public:
enum Category {
@@ -49,10 +50,10 @@ namespace KPIM {
FilledGroup =5,
DistList =6
};
- AddresseeViewItem( AddresseeViewItem *parent, const KABC::Addressee& addr, int emailIndex = 0 );
+ AddresseeViewItem( AddresseeViewItem *tqparent, const KABC::Addressee& addr, int emailIndex = 0 );
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( AddresseeViewItem *tqparent, const TQString& name, const KABC::Addressee::List &lst );
+ AddresseeViewItem( AddresseeViewItem *tqparent, const TQString& name );
~AddresseeViewItem();
KABC::Addressee addressee() const;
@@ -78,6 +79,7 @@ namespace KPIM {
class KDE_EXPORT AddressesDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
AddressesDialog( TQWidget *widget=0, const char *name=0 );
~AddressesDialog();
@@ -192,12 +194,12 @@ namespace KPIM {
AddresseeViewItem* defaultParent=0, bool useCategory=true );
void addAddresseeToSelected( const KABC::Addressee& addr,
AddresseeViewItem* defaultParent=0 );
- void addAddresseesToSelected( AddresseeViewItem *parent,
+ void addAddresseesToSelected( AddresseeViewItem *tqparent,
const TQPtrList<AddresseeViewItem>& addresses );
TQStringList entryToString( const KABC::Addressee::List& l ) const;
- KABC::Addressee::List allAddressee( AddresseeViewItem* parent ) const;
+ KABC::Addressee::List allAddressee( AddresseeViewItem* tqparent ) const;
KABC::Addressee::List allAddressee( KListView* view, bool onlySelected = true ) const;
- TQStringList allDistributionLists( AddresseeViewItem* parent ) const;
+ TQStringList allDistributionLists( AddresseeViewItem* tqparent ) const;
private:
// if there's only one group in the available list, open it