diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /kdevdesigner/interfaces/languageinterface.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-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 'kdevdesigner/interfaces/languageinterface.h')
-rw-r--r-- | kdevdesigner/interfaces/languageinterface.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/kdevdesigner/interfaces/languageinterface.h b/kdevdesigner/interfaces/languageinterface.h index 6fc0b8f9..4b12e5b9 100644 --- a/kdevdesigner/interfaces/languageinterface.h +++ b/kdevdesigner/interfaces/languageinterface.h @@ -41,10 +41,10 @@ // #include <private/qcom_p.h> -#include <qvaluelist.h> -#include <qstringlist.h> -#include <qmap.h> -#include <qstrlist.h> +#include <tqvaluelist.h> +#include <tqstringlist.h> +#include <tqmap.h> +#include <tqstrlist.h> // {f208499a-6f69-4883-9219-6e936e55a330} #ifndef IID_Language @@ -55,13 +55,13 @@ struct LanguageInterface : public QUnknownInterface { struct Function { - QString name; - QString body; - QString returnType; - QString comments; + TQString name; + TQString body; + TQString returnType; + TQString comments; int start; int end; - QString access; + TQString access; bool operator==( const Function &f ) const { return ( name == f.name && body == f.body && @@ -72,9 +72,9 @@ struct LanguageInterface : public QUnknownInterface struct Connection { - QString sender; - QString signal; - QString slot; + TQString sender; + TQString signal; + TQString slot; bool operator==( const Connection &c ) const { return ( sender == c.sender && signal == c.signal && @@ -89,42 +89,42 @@ struct LanguageInterface : public QUnknownInterface CompressProject }; - virtual void functions( const QString &code, QValueList<Function> *funcs ) const = 0; - virtual void connections( const QString &code, QValueList<Connection> *connections ) const = 0; - virtual QString createFunctionStart( const QString &className, const QString &func, - const QString &returnType, const QString &access ) = 0; - virtual QString createArguments( const QString &cpp_signature ) = 0; - virtual QString createEmptyFunction() = 0; - virtual QStringList definitions() const = 0; - virtual QStringList definitionEntries( const QString &definition, QUnknownInterface *designerIface ) const = 0; - virtual void setDefinitionEntries( const QString &definition, const QStringList &entries, QUnknownInterface *designerIface ) = 0; + virtual void functions( const TQString &code, TQValueList<Function> *funcs ) const = 0; + virtual void connections( const TQString &code, TQValueList<Connection> *connections ) const = 0; + virtual TQString createFunctionStart( const TQString &className, const TQString &func, + const TQString &returnType, const TQString &access ) = 0; + virtual TQString createArguments( const TQString &cpp_signature ) = 0; + virtual TQString createEmptyFunction() = 0; + virtual TQStringList definitions() const = 0; + virtual TQStringList definitionEntries( const TQString &definition, QUnknownInterface *designerIface ) const = 0; + virtual void setDefinitionEntries( const TQString &definition, const TQStringList &entries, QUnknownInterface *designerIface ) = 0; virtual bool supports( Support s ) const = 0; - virtual QStringList fileFilterList() const = 0; - virtual QStringList fileExtensionList() const = 0; - virtual void preferedExtensions( QMap<QString, QString> &extensionMap ) const = 0; - virtual QString projectKeyForExtension( const QString &extension ) const = 0; - virtual void sourceProjectKeys( QStringList &keys ) const = 0; - virtual QString cleanSignature( const QString &sig ) = 0; - virtual void loadFormCode( const QString &form, const QString &filename, - QValueList<Function> &functions, - QStringList &vars, - QValueList<Connection> &connections ) = 0; - virtual QString formCodeExtension() const = 0; + virtual TQStringList fileFilterList() const = 0; + virtual TQStringList fileExtensionList() const = 0; + virtual void preferedExtensions( TQMap<TQString, TQString> &extensionMap ) const = 0; + virtual TQString projectKeyForExtension( const TQString &extension ) const = 0; + virtual void sourceProjectKeys( TQStringList &keys ) const = 0; + virtual TQString cleanSignature( const TQString &sig ) = 0; + virtual void loadFormCode( const TQString &form, const TQString &filename, + TQValueList<Function> &functions, + TQStringList &vars, + TQValueList<Connection> &connections ) = 0; + virtual TQString formCodeExtension() const = 0; - virtual bool canConnect( const QString &signal, const QString &slot ) = 0; + virtual bool canConnect( const TQString &signal, const TQString &slot ) = 0; - virtual void compressProject( const QString &projectFile, const QString &compressedFile, + virtual void compressProject( const TQString &projectFile, const TQString &compressedFile, bool withWarning ) = 0; - virtual QString uncompressProject( const QString &projectFile, const QString &destDir ) = 0; - virtual QString aboutText() const = 0; + virtual TQString uncompressProject( const TQString &projectFile, const TQString &destDir ) = 0; + virtual TQString aboutText() const = 0; - virtual void addConnection( const QString &sender, const QString &signal, - const QString &receiver, const QString &slot, - QString *code ) = 0; - virtual void removeConnection( const QString &sender, const QString &signal, - const QString &receiver, const QString &slot, - QString *code ) = 0; - virtual QStrList signalNames( QObject *obj ) const = 0; + virtual void addConnection( const TQString &sender, const TQString &signal, + const TQString &receiver, const TQString &slot, + TQString *code ) = 0; + virtual void removeConnection( const TQString &sender, const TQString &signal, + const TQString &receiver, const TQString &slot, + TQString *code ) = 0; + virtual TQStrList signalNames( TQObject *obj ) const = 0; }; |