summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/filecreate_part.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /parts/filecreate/filecreate_part.h
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/filecreate/filecreate_part.h')
-rw-r--r--parts/filecreate/filecreate_part.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/parts/filecreate/filecreate_part.h b/parts/filecreate/filecreate_part.h
index 605f6fbf..c8da5b27 100644
--- a/parts/filecreate/filecreate_part.h
+++ b/parts/filecreate/filecreate_part.h
@@ -39,10 +39,11 @@ using namespace FileCreate;
class FileCreatePart : public KDevCreateFile
{
Q_OBJECT
+ TQ_OBJECT
friend class FCConfigWidget;
public:
- FileCreatePart(TQObject *parent, const char *name, const TQStringList &);
+ FileCreatePart(TQObject *tqparent, const char *name, const TQStringList &);
virtual ~FileCreatePart();
/**
@@ -52,26 +53,26 @@ public:
/**
* Call this method to create a new file, within or without the project. Supply as
- * much information as you know. Leave what you don't know as TQString::null.
+ * much information as you know. Leave what you don't know as TQString().
* The user will be prompted as necessary for the missing information, and the
* file created, and added to the project as necessary.
*/
- virtual KDevCreateFile::CreatedFile createNewFile(TQString ext = TQString::null,
- TQString dir = TQString::null,
- TQString name = TQString::null,
- TQString subtype = TQString::null);
+ virtual KDevCreateFile::CreatedFile createNewFile(TQString ext = TQString(),
+ TQString dir = TQString(),
+ TQString name = TQString(),
+ TQString subtype = TQString());
/**
* Finds the file type object for a given extension and optionally subtype.
* You can omit the subtype and specify the extension as ext-subtype if you wish.
*/
- FileType * getType(const TQString & ext, const TQString subtype = TQString::null);
+ FileType * getType(const TQString & ext, const TQString subtype = TQString());
/**
* Finds the file type object for a given extension and optionally subtype.
* You can omit the subtype and specify the extension as ext-subtype if you wish.
* Returns only enabled type (i.e. used in the project).
*/
- FileType * getEnabledType(const TQString & ext, const TQString subtype = TQString::null);
+ FileType * getEnabledType(const TQString & ext, const TQString subtype = TQString());
public slots: