summaryrefslogtreecommitdiffstats
path: root/lib/interfaces/extensions/kdevcreatefile.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /lib/interfaces/extensions/kdevcreatefile.h
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/interfaces/extensions/kdevcreatefile.h')
-rw-r--r--lib/interfaces/extensions/kdevcreatefile.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/interfaces/extensions/kdevcreatefile.h b/lib/interfaces/extensions/kdevcreatefile.h
index 4a84410c..b3f5e080 100644
--- a/lib/interfaces/extensions/kdevcreatefile.h
+++ b/lib/interfaces/extensions/kdevcreatefile.h
@@ -20,7 +20,7 @@
#ifndef KDEVCREATEFILE_H
#define KDEVCREATEFILE_H
-#include <qstring.h>
+#include <tqstring.h>
#include <kdevplugin.h>
@@ -95,15 +95,15 @@ public:
// this should be private
/**The directory.*/
- QString dir;
+ TQString dir;
/**The name (without directory path).*/
- QString filename;
+ TQString filename;
/**The extension of a file. Extension defines a "type" of the file template
to use during file creation.*/
- QString ext;
+ TQString ext;
/**The subtype of a file. "Subtype" defines a file template to use when
there are several file templates for each extension.*/
- QString subtype;
+ TQString subtype;
/**Current status.*/
Status status;
/**true if the file should be added to a project.*/
@@ -122,11 +122,11 @@ public:
@param parent The parent 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, QObject * parent = 0, const char * name = 0)
+ KDevCreateFile(const KDevPluginInfo *info, TQObject * parent = 0, const char * name = 0)
:KDevPlugin(info, parent, name) {}
/**Creates a new file, within or without the project.
- Supply as much information as you know. Leave what you don't know as QString::null.
+ Supply as much information as you know. Leave what you don't know as TQString::null.
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(QString ext = QString::null,
- QString dir = QString::null,
- QString name = QString::null,
- QString subtype = QString::null) = 0;
+ virtual CreatedFile createNewFile(TQString ext = TQString::null,
+ TQString dir = TQString::null,
+ TQString name = TQString::null,
+ TQString subtype = TQString::null) = 0;
};