diff options
Diffstat (limited to 'umbrello/umbrello/folder.h')
-rw-r--r-- | umbrello/umbrello/folder.h | 28 |
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; }; |