summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/knewstuff/engine.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /lib/compatibility/knewstuff/engine.h
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/compatibility/knewstuff/engine.h')
-rw-r--r--lib/compatibility/knewstuff/engine.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/lib/compatibility/knewstuff/engine.h b/lib/compatibility/knewstuff/engine.h
index 42f86e64..a6624d55 100644
--- a/lib/compatibility/knewstuff/engine.h
+++ b/lib/compatibility/knewstuff/engine.h
@@ -48,27 +48,28 @@ class ProviderDialog;
* \par Maintainer:
* Josef Spillner (spillner@kde.org)
*/
-class Engine : public QObject
+class Engine : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
Constructor.
@param newStuff a KNewStuff object
@param type the Hotstuff data type such as "korganizer/calendar"
- @param parentWidget the parent window
+ @param tqparentWidget the tqparent window
*/
- Engine( KNewStuff *newStuff, const TQString &type, TQWidget *parentWidget = 0 );
+ Engine( KNewStuff *newStuff, const TQString &type, TQWidget *tqparentWidget = 0 );
/**
Constructor.
@param newStuff a KNewStuff object
@param type the Hotstuff data type such as "korganizer/calendar"
@param providerList the URL of the provider list
- @param parentWidget the parent window
+ @param tqparentWidget the tqparent window
*/
- Engine( KNewStuff *newStuff, const TQString &type, const TQString &providerList, TQWidget *parentWidget = 0 );
+ Engine( KNewStuff *newStuff, const TQString &type, const TQString &providerList, TQWidget *tqparentWidget = 0 );
/**
Destructor.
@@ -83,11 +84,11 @@ class Engine : public QObject
TQString type() const { return mType; }
/**
- Returns the previously set parent widget.
+ Returns the previously set tqparent widget.
- @return parent widget
+ @return tqparent widget
*/
- TQWidget *parentWidget() const { return mParentWidget; }
+ TQWidget *tqparentWidget() const { return mParentWidget; }
/**
Initiates the download process, retrieving provider lists and invoking
@@ -102,7 +103,7 @@ class Engine : public QObject
@param fileName name of the payload data file
@param previewName name of the preview image file
*/
- void upload( const TQString &fileName = TQString::null, const TQString &previewName = TQString::null );
+ void upload( const TQString &fileName = TQString(), const TQString &previewName = TQString() );
/**
Downloads the specified data file.