summaryrefslogtreecommitdiffstats
path: root/kaddressbook/addresseditwidget.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/addresseditwidget.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/addresseditwidget.h')
-rw-r--r--kaddressbook/addresseditwidget.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/kaddressbook/addresseditwidget.h b/kaddressbook/addresseditwidget.h
index 1fccc604a..40465d373 100644
--- a/kaddressbook/addresseditwidget.h
+++ b/kaddressbook/addresseditwidget.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 ADDRESSEDITWIDGET_H
@@ -49,12 +49,13 @@ typedef TypeCombo<KABC::Address> AddressTypeCombo;
/**
Editor widget for addresses.
*/
-class AddressEditWidget : public QWidget
+class AddressEditWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- AddressEditWidget( TQWidget *parent, const char *name = 0 );
+ AddressEditWidget( TQWidget *tqparent, const char *name = 0 );
~AddressEditWidget();
KABC::Address::List addresses();
@@ -92,10 +93,11 @@ class AddressEditWidget : public QWidget
class AddressEditDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
AddressEditDialog( const KABC::Address::List &list, int selected,
- TQWidget *parent, const char *name = 0 );
+ TQWidget *tqparent, const char *name = 0 );
~AddressEditDialog();
KABC::Address::List addresses();
@@ -140,7 +142,7 @@ class AddressEditDialog : public KDialogBase
class AddressTypeDialog : public KDialogBase
{
public:
- AddressTypeDialog( int type, TQWidget *parent );
+ AddressTypeDialog( int type, TQWidget *tqparent );
~AddressTypeDialog();
int type() const;