summaryrefslogtreecommitdiffstats
path: root/kaddressbook/customfieldswidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kaddressbook/customfieldswidget.h')
-rw-r--r--kaddressbook/customfieldswidget.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/kaddressbook/customfieldswidget.h b/kaddressbook/customfieldswidget.h
index b4c11326..c1dc6b8c 100644
--- a/kaddressbook/customfieldswidget.h
+++ b/kaddressbook/customfieldswidget.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 CUSTOMFIELDSWIDGET_H
@@ -61,9 +61,10 @@ typedef TQValueList<FieldRecord> FieldRecordList;
class AddFieldDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- AddFieldDialog( TQWidget *parent, const char *name = 0 );
+ AddFieldDialog( TQWidget *tqparent, const char *name = 0 );
TQString title() const;
TQString identifier() const;
@@ -82,12 +83,13 @@ class AddFieldDialog : public KDialogBase
TQValueVector<TQString> mTypeName;
};
-class FieldWidget : public QWidget
+class FieldWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- FieldWidget( TQWidget *parent, const char *name = 0 );
+ FieldWidget( TQWidget *tqparent, const char *name = 0 );
void addField( const TQString &identifier, const TQString &title,
const TQString &type, bool isGlobal );
@@ -119,9 +121,10 @@ class FieldWidget : public QWidget
class CustomFieldsWidget : public KAB::ContactEditorWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- CustomFieldsWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name = 0 );
+ CustomFieldsWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name = 0 );
void loadContact( KABC::Addressee *addr );
void storeContact( KABC::Addressee *addr );
@@ -148,9 +151,9 @@ class CustomFieldsWidget : public KAB::ContactEditorWidget
class CustomFieldsWidgetFactory : public KAB::ContactEditorWidgetFactory
{
public:
- KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *parent, const char *name )
+ KAB::ContactEditorWidget *createWidget( KABC::AddressBook *ab, TQWidget *tqparent, const char *name )
{
- return new CustomFieldsWidget( ab, parent, name );
+ return new CustomFieldsWidget( ab, tqparent, name );
}
TQString pageTitle() const { return i18n( "Custom Fields" ); }