diff options
Diffstat (limited to 'lib/interfaces/extensions/kdevcreatefile.h')
-rw-r--r-- | lib/interfaces/extensions/kdevcreatefile.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/interfaces/extensions/kdevcreatefile.h b/lib/interfaces/extensions/kdevcreatefile.h index b3f5e080..fd11b993 100644 --- a/lib/interfaces/extensions/kdevcreatefile.h +++ b/lib/interfaces/extensions/kdevcreatefile.h @@ -54,7 +54,7 @@ public: public: /**The status of a file.*/ - enum Status { + enum tqStatus { STATUS_OK /**<File was successfuly created.*/, STATUS_CANCELED /**<File was not created due to user intervention.*/, STATUS_NOTCREATED /**<File was not created due to error.*/, @@ -105,7 +105,7 @@ public: there are several file templates for each extension.*/ TQString subtype; /**Current status.*/ - Status status; + tqStatus status; /**true if the file should be added to a project.*/ bool addToProject; }; @@ -119,14 +119,14 @@ public: plugin information in various places like "about application" dialog, plugin selector dialog, etc. Plugin does not take ownership on info object, also its lifetime should be equal to the lifetime of the plugin. - @param parent The parent object for the plugin. Parent object must implement @ref KDevApi + @param tqparent The tqparent object for the plugin. Parent object must implement @ref KDevApi interface. Otherwise the plugin will not be constructed. @param name The internal name which identifies the plugin.*/ - KDevCreateFile(const KDevPluginInfo *info, TQObject * parent = 0, const char * name = 0) - :KDevPlugin(info, parent, name) {} + KDevCreateFile(const KDevPluginInfo *info, TQObject * tqparent = 0, const char * name = 0) + :KDevPlugin(info, tqparent, name) {} /**Creates a new file, within or without the project. - Supply as much information as you know. Leave what you don't know as TQString::null. + Supply as 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. @param ext File extension (type). @@ -135,10 +135,10 @@ public: @param subtype The subtype, pass this only if an extension is not enough to find the file template. @return @ref CreatedFile instance with information about file and file creation process.*/ - virtual CreatedFile createNewFile(TQString ext = TQString::null, - TQString dir = TQString::null, - TQString name = TQString::null, - TQString subtype = TQString::null) = 0; + virtual CreatedFile createNewFile(TQString ext = TQString(), + TQString dir = TQString(), + TQString name = TQString(), + TQString subtype = TQString()) = 0; }; |