summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kabcore.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/kabcore.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/kabcore.h')
-rw-r--r--kaddressbook/kabcore.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/kaddressbook/kabcore.h b/kaddressbook/kabcore.h
index d1c275751..aed5e08f1 100644
--- a/kaddressbook/kabcore.h
+++ b/kaddressbook/kabcore.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 KABCORE_H
@@ -83,10 +83,11 @@ typedef struct {
class KDE_EXPORT KABCore : public KAB::Core
{
Q_OBJECT
+ TQ_OBJECT
public:
- KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *parent,
- const TQString &file = TQString::null, const char *name = 0 );
+ KABCore( KXMLGUIClient *client, bool readWrite, TQWidget *tqparent,
+ const TQString &file = TQString(), const char *name = 0 );
~KABCore();
/**
@@ -130,10 +131,10 @@ class KDE_EXPORT KABCore : public KAB::Core
resource or a null pointer if no resource was selected by
the user.
*/
- KABC::Resource *requestResource( TQWidget *parent );
+ KABC::Resource *requestResource( TQWidget *tqparent );
/**
- Returns the parent widget.
+ Returns the tqparent widget.
*/
TQWidget *widget() const;
@@ -340,16 +341,16 @@ class KDE_EXPORT KABCore : public KAB::Core
void load();
/**
- Shows the edit dialog for the given uid. If the uid is TQString::null,
+ Shows the edit dialog for the given uid. If the uid is TQString(),
the method will try to find a selected addressee in the view.
*/
- void editContact( const TQString &uid = TQString::null );
+ void editContact( const TQString &uid = TQString() );
/**
* Let the user chose a different resource for the selected contacts.
* If the adding to the new resource is successfull, the contact is
* removed from the old one, unless the Copy flag is given. */
- void storeContactIn( const TQString &uid = TQString::null, bool copy = false );
+ void storeContactIn( const TQString &uid = TQString(), bool copy = false );
/**
* Lets the user chose a different resource for the selected contacts and
@@ -434,7 +435,7 @@ class KDE_EXPORT KABCore : public KAB::Core
void updateCategories();
TQStringList allCategories() const;
- AddresseeEditorDialog *createAddresseeEditorDialog( TQWidget *parent,
+ AddresseeEditorDialog *createAddresseeEditorDialog( TQWidget *tqparent,
const char *name = 0 );
TQWidget *mWidget;