summaryrefslogtreecommitdiffstats
path: root/lib/compatibility/knewstuff/entry.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/entry.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/entry.h')
-rw-r--r--lib/compatibility/knewstuff/entry.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/compatibility/knewstuff/entry.h b/lib/compatibility/knewstuff/entry.h
index a3c816a1..3de9982c 100644
--- a/lib/compatibility/knewstuff/entry.h
+++ b/lib/compatibility/knewstuff/entry.h
@@ -106,15 +106,15 @@ class KDE_EXPORT Entry
/**
* Sets a short description on what the object is all about.
*/
- void setSummary( const TQString &, const TQString &lang = TQString::null );
+ void setSummary( const TQString &, const TQString &lang = TQString() );
/**
* Retrieve a short description about the object.
*
- * @param lang preferred language, or TQString::null for KDE default
+ * @param lang preferred language, or TQString() for KDE default
* @return object description
*/
- TQString summary( const TQString &lang = TQString::null ) const;
+ TQString summary( const TQString &lang = TQString() ) const;
/**
* Sets the version number.
@@ -156,29 +156,29 @@ class KDE_EXPORT Entry
/**
* Sets the object's file.
*/
- void setPayload( const KURL &, const TQString &lang = TQString::null );
+ void setPayload( const KURL &, const TQString &lang = TQString() );
/**
* Retrieve the file name of the object.
*
- * @param lang preferred language, or TQString::null for KDE default
+ * @param lang preferred language, or TQString() for KDE default
* @return object filename
*/
- KURL payload( const TQString &lang = TQString::null ) const;
+ KURL payload( const TQString &lang = TQString() ) const;
/**
* Sets the object's preview file, if available. This should be a
* picture file.
*/
- void setPreview( const KURL &, const TQString &lang = TQString::null );
+ void setPreview( const KURL &, const TQString &lang = TQString() );
/**
* Retrieve the file name of an image containing a preview of the object.
*
- * @param lang preferred language, or TQString::null for KDE default
+ * @param lang preferred language, or TQString() for KDE default
* @return object preview filename
*/
- KURL preview( const TQString &lang = TQString::null ) const;
+ KURL preview( const TQString &lang = TQString() ) const;
/**
* Sets the rating between 0 (worst) and 10 (best).
@@ -229,10 +229,10 @@ class KDE_EXPORT Entry
/**
* @internal
*/
- TQDomElement createDomElement( TQDomDocument &, TQDomElement &parent );
+ TQDomElement createDomElement( TQDomDocument &, TQDomElement &tqparent );
protected:
- TQDomElement addElement( TQDomDocument &doc, TQDomElement &parent,
+ TQDomElement addElement( TQDomDocument &doc, TQDomElement &tqparent,
const TQString &tag, const TQString &value );
private: