summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kaddressbookview.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 /kaddressbook/kaddressbookview.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 'kaddressbook/kaddressbookview.h')
-rw-r--r--kaddressbook/kaddressbookview.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kaddressbook/kaddressbookview.h b/kaddressbook/kaddressbookview.h
index a851e684c..eca5521bc 100644
--- a/kaddressbook/kaddressbookview.h
+++ b/kaddressbook/kaddressbookview.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 KADDRESSBOOKVIEW_H
@@ -53,14 +53,15 @@ namespace KABC { class AddressBook; }
@author Mike Pilone <mpilone@slac.com>
*/
-class KDE_EXPORT KAddressBookView : public QWidget
+class KDE_EXPORT KAddressBookView : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
enum DefaultFilterType { None = 0, Active = 1, Specific = 2 };
- KAddressBookView( KAB::Core *core, TQWidget *parent, const char *name );
+ KAddressBookView( KAB::Core *core, TQWidget *tqparent, const char *name );
virtual ~KAddressBookView();
/**
@@ -169,7 +170,7 @@ class KDE_EXPORT KAddressBookView : public QWidget
/**
This method must be overloaded in subclasses. Select (highlight)
the addressee matching <i>uid</i>. If uid
- is equal to TQString::null, then all addressees should be selected.
+ is equal to TQString(), then all addressees should be selected.
*/
virtual void setSelected( const TQString &uid = TQString(), bool selected = true ) = 0;
@@ -250,8 +251,8 @@ class KDE_EXPORT KAddressBookView : public QWidget
KABC::Addressee::List addressees();
/**
- This method returns the widget that should be used as the parent for
- all view components. By using this widget as the parent and not
+ This method returns the widget that should be used as the tqparent for
+ all view components. By using this widget as the tqparent and not
'this', the view subclass has the option of placing other widgets
around the view (ie: search fields, etc). Do not delete this widget!
*/
@@ -275,7 +276,7 @@ class KDE_EXPORT KAddressBookView : public QWidget
class KDE_EXPORT ViewFactory : public KLibFactory
{
public:
- virtual KAddressBookView *view( KAB::Core *core, TQWidget *parent,
+ virtual KAddressBookView *view( KAB::Core *core, TQWidget *tqparent,
const char *name = 0 ) = 0;
/**
@return The type of the view. This is normally a small one word
@@ -300,7 +301,7 @@ class KDE_EXPORT ViewFactory : public KLibFactory
<B>not</B> be called.
*/
virtual ViewConfigureWidget *configureWidget( KABC::AddressBook *ab,
- TQWidget *parent,
+ TQWidget *tqparent,
const char *name = 0 );
protected: