summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/filecreate_part.h
diff options
context:
space:
mode:
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: