summaryrefslogtreecommitdiffstats
path: root/kaddressbook/views/contactlistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/views/contactlistview.h')
-rw-r--r--kaddressbook/views/contactlistview.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kaddressbook/views/contactlistview.h b/kaddressbook/views/contactlistview.h
index 7936333a..65c92702 100644
--- a/kaddressbook/views/contactlistview.h
+++ b/kaddressbook/views/contactlistview.h
@@ -17,8 +17,8 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
As a special exception, permission is given to link this program
- with any edition of Qt, and distribute the resulting executable,
- without including the source code for Qt in the source distribution.
+ with any edition of TQt, and distribute the resulting executable,
+ without including the source code for TQt in the source distribution.
*/
#ifndef CONTACTLISTVIEW_H
@@ -41,10 +41,10 @@ class KIMProxy;
/** The whole tooltip design needs a lot of work. Currently it is
* hacked together to function.
*/
-class DynamicTip : public QToolTip
+class DynamicTip : public TQToolTip
{
public:
- DynamicTip( ContactListView * parent );
+ DynamicTip( ContactListView * tqparent );
protected:
void maybeTip( const TQPoint & );
@@ -56,11 +56,11 @@ class ContactListViewItem : public KListViewItem
{
public:
- ContactListViewItem(const KABC::Addressee &a, ContactListView* parent,
+ ContactListViewItem(const KABC::Addressee &a, ContactListView* tqparent,
KABC::AddressBook *doc, const KABC::Field::List &fields, KIMProxy *proxy );
const KABC::Addressee &addressee() const { return mAddressee; }
virtual void refresh();
- virtual ContactListView* parent();
+ virtual ContactListView* tqparent();
virtual TQString key ( int, bool ) const;
void setHasIM( bool hasIM );
/** Adds the border around the cell if the user wants it.
@@ -72,7 +72,7 @@ public:
private:
KABC::Addressee mAddressee;
KABC::Field::List mFields;
- ContactListView *parentListView;
+ ContactListView *tqparentListView;
KABC::AddressBook *mDocument;
KIMProxy *mIMProxy;
bool mHasIM;
@@ -85,11 +85,12 @@ private:
class ContactListView : public KListView
{
Q_OBJECT
+ TQ_OBJECT
public:
ContactListView(KAddressBookTableView *view,
KABC::AddressBook *doc,
- TQWidget *parent,
+ TQWidget *tqparent,
const char *name = 0L );
virtual ~ContactListView() {}
//void resort();
@@ -138,7 +139,7 @@ public:
protected:
/** Paints the background pixmap in the empty area. This method is needed
- * since Qt::FixedPixmap will not scroll with the list view.
+ * since TQt::FixedPixmap will not scroll with the list view.
*/
virtual void paintEmptyArea( TQPainter * p, const TQRect & rect );
virtual void contentsMousePressEvent(TQMouseEvent*);