[Ktutorial-commits] SF.net SVN: ktutorial:[300] trunk/ktutorial/ktutorial-editor/src/view
Status: Alpha
Brought to you by:
danxuliu
|
From: <dan...@us...> - 2011-04-30 17:31:19
|
Revision: 300
http://ktutorial.svn.sourceforge.net/ktutorial/?rev=300&view=rev
Author: danxuliu
Date: 2011-04-30 17:31:13 +0000 (Sat, 30 Apr 2011)
Log Message:
-----------
Fix Krazy2 issues (doublequote, spelling and strings).
Modified Paths:
--------------
trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.cpp
trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.h
Modified: trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.cpp
===================================================================
--- trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.cpp 2011-04-30 16:53:54 UTC (rev 299)
+++ trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.cpp 2011-04-30 17:31:13 UTC (rev 300)
@@ -66,7 +66,7 @@
for (int i=1; i<reversedFullPath.size(); ++i) {
if (ancestorNotInPaths(reversedFullPath[i], reversedPathsToHomonyms)) {
- return reversedFullPath[i] + "/" + reversedFullPath[0];
+ return reversedFullPath[i] + '/' + reversedFullPath[0];
}
}
@@ -155,7 +155,7 @@
RemoteObject* parent = remoteObject;
while (parent) {
QString name = parent->name();
- if (!name.isEmpty() && !name.startsWith("qt_")) {
+ if (!name.isEmpty() && !name.startsWith(QLatin1String("qt_"))) {
reversedPath.append(name);
}
parent = mRemoteObjectForParent.key(parent);
Modified: trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.h
===================================================================
--- trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.h 2011-04-30 16:53:54 UTC (rev 299)
+++ trunk/ktutorial/ktutorial-editor/src/view/RemoteObjectNameRegister.h 2011-04-30 17:31:13 UTC (rev 300)
@@ -30,7 +30,7 @@
* Provides information related to the names of the remote objects in the target
* application.
* RemoteObjectNameRegister can be used to know the names of all the remote
- * objects accesible by KTutorial in the target application, and it also
+ * objects accessible by KTutorial in the target application, and it also
* notifies the names of the remote objects added or removed in the target
* application through the signals nameAdded(QString) and nameRemoved(QString).
*
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|