Introduce utility routine to create placeholder watch item

QLatin1String refactorings.
This commit is contained in:
Friedemann Kleint
2009-03-25 17:33:49 +01:00
parent 4574082f91
commit 9d15bd3c7f
4 changed files with 192 additions and 192 deletions

View File

@@ -98,9 +98,11 @@ public:
void setChildCount(int n) { childCount = n; setChildCountUnneeded();
if (n == 0) setChildrenUnneeded(); }
WatchData pointerChildPlaceHolder() const;
QString toString() const;
bool isLocal() const { return iname.startsWith(QLatin1String("local.")); }
bool isWatcher() const { return iname.startsWith(QLatin1String("watch.")); };
bool isWatcher() const { return iname.startsWith(QLatin1String("watch.")); }
bool isValid() const { return !iname.isEmpty(); }
public: