diff options
Diffstat (limited to 'kaddressbook/kaddressbookview.h')
-rw-r--r-- | kaddressbook/kaddressbookview.h | 19 |
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: |