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.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/kaddressbook/views/contactlistview.h b/kaddressbook/views/contactlistview.h
index c018e4c2b..ff09dbe35 100644
--- a/kaddressbook/views/contactlistview.h
+++ b/kaddressbook/views/contactlistview.h
@@ -24,10 +24,10 @@
#ifndef CONTACTLISTVIEW_H
#define CONTACTLISTVIEW_H
-#include <qcolor.h>
-#include <qpixmap.h>
-#include <qtooltip.h>
-#include <qstring.h>
+#include <tqcolor.h>
+#include <tqpixmap.h>
+#include <tqtooltip.h>
+#include <tqstring.h>
#include <klistview.h>
@@ -47,7 +47,7 @@ class DynamicTip : public QToolTip
DynamicTip( ContactListView * parent );
protected:
- void maybeTip( const QPoint & );
+ void maybeTip( const TQPoint & );
private:
};
@@ -61,12 +61,12 @@ public:
const KABC::Addressee &addressee() const { return mAddressee; }
virtual void refresh();
virtual ContactListView* parent();
- virtual QString key ( int, bool ) const;
+ virtual TQString key ( int, bool ) const;
void setHasIM( bool hasIM );
/** Adds the border around the cell if the user wants it.
* This is how the single line config option is implemented.
*/
- virtual void paintCell(QPainter * p, const QColorGroup & cg,
+ virtual void paintCell(TQPainter * p, const TQColorGroup & cg,
int column, int width, int align );
private:
@@ -89,7 +89,7 @@ class ContactListView : public KListView
public:
ContactListView(KAddressBookTableView *view,
KABC::AddressBook *doc,
- QWidget *parent,
+ TQWidget *parent,
const char *name = 0L );
virtual ~ContactListView() {}
//void resort();
@@ -105,13 +105,13 @@ public:
bool singleLine() const { return mSingleLine; }
void setSingleLineEnabled(bool enabled) { mSingleLine = enabled; }
- const QColor &alternateColor() const { return mAlternateColor; }
+ const TQColor &alternateColor() const { return mAlternateColor; }
/** Sets the background pixmap to <i>filename</i>. If the
- * QString is empty (QString::isEmpty()), then the background
+ * TQString is empty (TQString::isEmpty()), then the background
* pixmap will be disabled.
*/
- void setBackgroundPixmap(const QString &filename);
+ void setBackgroundPixmap(const TQString &filename);
/**
* Sets whether instant messaging presence should be shown in the first column
@@ -140,20 +140,20 @@ protected:
/** Paints the background pixmap in the empty area. This method is needed
* since Qt::FixedPixmap will not scroll with the list view.
*/
- virtual void paintEmptyArea( QPainter * p, const QRect & rect );
- virtual void contentsMousePressEvent(QMouseEvent*);
- void contentsMouseMoveEvent( QMouseEvent *e );
- void contentsDropEvent( QDropEvent *e );
- virtual bool acceptDrag(QDropEvent *e) const;
+ virtual void paintEmptyArea( TQPainter * p, const TQRect & rect );
+ virtual void contentsMousePressEvent(TQMouseEvent*);
+ void contentsMouseMoveEvent( TQMouseEvent *e );
+ void contentsDropEvent( TQDropEvent *e );
+ virtual bool acceptDrag(TQDropEvent *e) const;
protected slots:
- void itemDropped(QDropEvent *e);
+ void itemDropped(TQDropEvent *e);
public slots:
signals:
void startAddresseeDrag();
- void addresseeDropped(QDropEvent *);
+ void addresseeDropped(TQDropEvent *);
private:
KAddressBookTableView *pabWidget;
@@ -166,9 +166,9 @@ private:
bool mToolTips;
bool mShowIM;
- QColor mAlternateColor;
+ TQColor mAlternateColor;
- QPoint presspos;
+ TQPoint presspos;
int mInstantMsgColumn;
};