[Uml-devel] KDE/kdesdk/umbrello/umbrello
Sharan Rao
sharanrao at gmail.com
Tue Jun 19 07:31:14 UTC 2007
SVN commit 677460 by sharan:
EBN Krazy #15 ( assignment to QString::null )
M +3 -3 classifier.h
M +4 -4 codeimport/import_utils.h
M +2 -2 entity.h
M +1 -1 entityconstraint.h
M +1 -1 object_factory.h
M +1 -1 uniqueconstraint.h
--- trunk/KDE/kdesdk/umbrello/umbrello/classifier.h #677459:677460
@@ -86,7 +86,7 @@
virtual UMLAttribute* createAttribute(const QString &name = QString(),
UMLObject *type = 0,
Uml::Visibility vis = Uml::Visibility::Private,
- const QString &init = QString::null);
+ const QString &init = QString());
/**
* Adds an attribute to the class.
@@ -165,7 +165,7 @@
* created because for example, the user canceled the dialog
* or no appropriate name can be found.
*/
- UMLOperation* createOperation( const QString &name = QString::null,
+ UMLOperation* createOperation( const QString &name = QString(),
bool *isExistingOp = NULL,
Model_Utils::NameAndType_List *params = NULL);
@@ -239,7 +239,7 @@
*
* @return The UMLTemplate created
*/
- UMLObject* createTemplate(const QString& name = QString::null);
+ UMLObject* createTemplate(const QString& name = QString());
/**
* Adds a template to the class if it is not there yet.
--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/import_utils.h #677459:677460
@@ -36,8 +36,8 @@
UMLObject* createUMLObject(Uml::Object_Type type,
const QString& name,
UMLPackage *parentPkg = NULL,
- const QString& comment = QString::null,
- const QString& stereotype = QString::null);
+ const QString& comment = QString(),
+ const QString& stereotype = QString());
/**
* Control whether an object which is newly created by createUMLObject()
* is put at the global scope.
@@ -68,7 +68,7 @@
UMLObject* insertAttribute(UMLClassifier *klass, Uml::Visibility scope,
const QString& name,
const QString& type,
- const QString& comment = QString::null,
+ const QString& comment = QString(),
bool isStatic = false);
/**
* Create a UMLAttribute and insert it into the document.
@@ -105,7 +105,7 @@
Uml::Visibility scope, const QString& type,
bool isStatic, bool isAbstract,
bool isFriend = false, bool isConstructor = false,
- const QString& comment = QString::null);
+ const QString& comment = QString());
/**
* Add an argument to a UMLOperation.
--- trunk/KDE/kdesdk/umbrello/umbrello/entity.h #677459:677460
@@ -81,7 +81,7 @@
* @param name An optional name
* @return The UniqueConstraint created
*/
- UMLUniqueConstraint* createUniqueConstraint(const QString &name = QString::null);
+ UMLUniqueConstraint* createUniqueConstraint(const QString &name = QString());
/**
* Creates a Foreign Key Constraint for this Entity.
@@ -89,7 +89,7 @@
* @param name An optional name
* @return The ForeignKeyConstraint created
*/
- UMLForeignKeyConstraint* createForeignKeyConstraint(const QString &name = QString::null);
+ UMLForeignKeyConstraint* createForeignKeyConstraint(const QString &name = QString());
/**
* Adds an entityAttribute to the entity.
--- trunk/KDE/kdesdk/umbrello/umbrello/entityconstraint.h #677459:677460
@@ -80,7 +80,7 @@
/**
* Reimplement method from UMLObject.
*/
- QString getFullyQualifiedName(QString separator = QString::null,
+ QString getFullyQualifiedName(QString separator = QString(),
bool includeRoot = false) const;
/**
--- trunk/KDE/kdesdk/umbrello/umbrello/object_factory.h #677459:677460
@@ -77,7 +77,7 @@
* Used by loadFromXMI and clipboard paste.
*/
UMLObject* makeObjectFromXMI(const QString& xmiTag,
- const QString& stereoID = QString::null);
+ const QString& stereoID = QString());
}
--- trunk/KDE/kdesdk/umbrello/umbrello/uniqueconstraint.h #677459:677460
@@ -75,7 +75,7 @@
*/
QString toString(Uml::Signature_Type sig = Uml::st_NoSig);
- QString getFullyQualifiedName(QString separator = QString::null,
+ QString getFullyQualifiedName(QString separator = QString(),
bool includeRoot = false) const;
/**
More information about the umbrello-devel
mailing list