summaryrefslogtreecommitdiffstats
path: root/part/commands_file.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-26 12:35:35 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-26 14:10:15 +0100
commit38dca4b75c471ddf950e2f9f03801c550d7d26fd (patch)
treef5923ce5d84971f1f394baf7411146f078c02fab /part/commands_file.h
parente28665ce3b2e9ec6f09b4c021db7443cac3c4128 (diff)
downloadkxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.tar.gz
kxmleditor-38dca4b75c471ddf950e2f9f03801c550d7d26fd.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'part/commands_file.h')
-rw-r--r--part/commands_file.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/part/commands_file.h b/part/commands_file.h
index 00dc484..18c695a 100644
--- a/part/commands_file.h
+++ b/part/commands_file.h
@@ -33,70 +33,70 @@ Command for setting version and encoding to XML file.
*/
class KXEDocument;
-class QString;
+class TQString;
class KXEVersionEncodingCommand : public KXECommand
{
public:
- KXEVersionEncodingCommand(KXEDocument* pDocument, const QString& oldData, const QString &newData);
+ KXEVersionEncodingCommand(KXEDocument* pDocument, const TQString& oldData, const TQString &newData);
virtual void execute();
virtual void unexecute();
- virtual QString name() const { return i18n("Changing version and encoding"); }
+ virtual TQString name() const { return i18n("Changing version and encoding"); }
~KXEVersionEncodingCommand();
protected:
- QString m_strOldData;
- QString m_strNewData;
+ TQString m_strOldData;
+ TQString m_strNewData;
};
class KXEStylesheetAttachCommand : public KXECommand
{
public:
- KXEStylesheetAttachCommand(KXEDocument* pDocument,const QString& prevStylesheet,const QString& newStylesheet);
+ KXEStylesheetAttachCommand(KXEDocument* pDocument,const TQString& prevStylesheet,const TQString& newStylesheet);
virtual void execute();
virtual void unexecute();
- virtual QString name() const { return i18n("Attaching stylesheet ")+m_strNewStylesheet; }
+ virtual TQString name() const { return i18n("Attaching stylesheet ")+m_strNewStylesheet; }
~KXEStylesheetAttachCommand();
protected:
- QString m_strPrevStylesheet;
- QString m_strNewStylesheet;
+ TQString m_strPrevStylesheet;
+ TQString m_strNewStylesheet;
};
class KXEStylesheetDetachCommand : public KXECommand
{
public:
- KXEStylesheetDetachCommand(KXEDocument* pDocument,const QString& prevStylesheet);
+ KXEStylesheetDetachCommand(KXEDocument* pDocument,const TQString& prevStylesheet);
virtual void execute();
virtual void unexecute();
- virtual QString name() const { return i18n("Detaching stylesheet ")+m_strPrevStylesheet; }
+ virtual TQString name() const { return i18n("Detaching stylesheet ")+m_strPrevStylesheet; }
~KXEStylesheetDetachCommand();
protected:
- QString m_strPrevStylesheet;
+ TQString m_strPrevStylesheet;
};
class KXESchemaAttachCommand : public KXECommand
{
public:
- KXESchemaAttachCommand(KXEDocument *pDocument,const QString& newSchema);
- KXESchemaAttachCommand(KXEDocument *pDocument,const QString& newSchema, const QString& prevSchema);
+ KXESchemaAttachCommand(KXEDocument *pDocument,const TQString& newSchema);
+ KXESchemaAttachCommand(KXEDocument *pDocument,const TQString& newSchema, const TQString& prevSchema);
virtual void execute();
virtual void unexecute();
- virtual QString name() const { return i18n("Attaching schema ")+m_strNewSchema; }
+ virtual TQString name() const { return i18n("Attaching schema ")+m_strNewSchema; }
~KXESchemaAttachCommand();
protected:
- QString m_strNewSchema;
- QString m_strPrevSchema;
+ TQString m_strNewSchema;
+ TQString m_strPrevSchema;
};
class KXESchemaDetachCommand : public KXECommand
{
public:
- KXESchemaDetachCommand(KXEDocument* pDocument, const QString& schema);
+ KXESchemaDetachCommand(KXEDocument* pDocument, const TQString& schema);
virtual void execute();
virtual void unexecute();
- virtual QString name() const { return i18n("Detaching schema ")+m_schema; }
+ virtual TQString name() const { return i18n("Detaching schema ")+m_schema; }
~KXESchemaDetachCommand();
protected:
- QString m_schema;
+ TQString m_schema;
};
#endif