summaryrefslogtreecommitdiffstats
path: root/umbrello/umbrello/folder.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /umbrello/umbrello/folder.h
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'umbrello/umbrello/folder.h')
-rw-r--r--umbrello/umbrello/folder.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/umbrello/umbrello/folder.h b/umbrello/umbrello/folder.h
index 2e4d23f6..365795f0 100644
--- a/umbrello/umbrello/folder.h
+++ b/umbrello/umbrello/folder.h
@@ -41,7 +41,7 @@ public:
* @param id The unique id of the Folder. A new ID will be generated
* if this argument is left away.
*/
- explicit UMLFolder(const QString & name = "", Uml::IDType id = Uml::id_None);
+ explicit UMLFolder(const TQString & name = "", Uml::IDType id = Uml::id_None);
/**
* Empty deconstructor.
@@ -64,13 +64,13 @@ public:
* UseCase, Component, Deployment, EntityRelationship,
* and the Datatypes folder inside the Logical View.)
*/
- void setLocalName(const QString& localName);
+ void setLocalName(const TQString& localName);
/**
* Return the localized name of this folder.
* Only useful for the predefined root folders.
*/
- QString getLocalName();
+ TQString getLocalName();
/**
* Add a view to the diagram list.
@@ -114,7 +114,7 @@ public:
* @param searchAllScopes Search in all subfolders (default: true.)
* @return Pointer to the view found, or NULL if not found.
*/
- UMLView * findView(Uml::Diagram_Type type, const QString &name, bool searchAllScopes = true);
+ UMLView * findView(Uml::Diagram_Type type, const TQString &name, bool searchAllScopes = true);
/**
* Set the options for the views in this folder.
@@ -129,19 +129,19 @@ public:
/**
* Set the folder file name for a separate submodel.
*/
- void setFolderFile(const QString& fileName);
+ void setFolderFile(const TQString& fileName);
/**
* Get the folder file name for a separate submodel.
*/
- QString getFolderFile();
+ TQString getFolderFile();
/**
* Creates a UML:Model or UML:Package element:
* UML:Model is created for the predefined fixed folders,
* UML:Package with stereotype "folder" is created for all else.
*/
- void saveToXMI( QDomDocument & qDoc, QDomElement & qElement );
+ void saveToXMI( TQDomDocument & qDoc, TQDomElement & qElement );
protected:
/**
@@ -149,7 +149,7 @@ protected:
* Can be used regardless of whether saving to the main model file
* or to an external folder file (see m_folderFile.)
*/
- void saveContents(QDomDocument& qDoc, QDomElement& qElement);
+ void saveContents(TQDomDocument& qDoc, TQDomElement& qElement);
/**
* Auxiliary to saveToXMI(): Creates a <UML:Model> element when saving
@@ -157,13 +157,13 @@ protected:
* user created folder. Invokes saveContents() with the newly created
* element.
*/
- void save(QDomDocument& qDoc, QDomElement& qElement);
+ void save(TQDomDocument& qDoc, TQDomElement& qElement);
/**
* Auxiliary to load():
* Load the diagrams from the "diagrams" in the <XMI.extension>
*/
- bool loadDiagramsFromXMI(QDomNode& diagrams);
+ bool loadDiagramsFromXMI(TQDomNode& diagrams);
/**
* Folders in the listview can be marked such that their contents
@@ -176,15 +176,15 @@ protected:
* plus file name.
* @return True for success.
*/
- bool loadFolderFile(const QString& path);
+ bool loadFolderFile(const TQString& path);
/**
* Loads the UML:Component element.
*/
- bool load(QDomElement & element);
+ bool load(TQDomElement & element);
private:
- QString m_localName; ///< i18n name, only used for predefined root folders
+ TQString m_localName; ///< i18n name, only used for predefined root folders
/**
* If m_folderFile is not empty then it contains a file name to which
* this folder is saved.
@@ -192,7 +192,7 @@ private:
* What is saved in the main model is not the folder contents but a
* reference to the folder file.
*/
- QString m_folderFile;
+ TQString m_folderFile;
UMLViewList m_diagrams;
};