diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-07 11:47:15 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-07 11:47:15 +0000 |
commit | 1e2c10156202d4b50df409a1930adc3f151e44dc (patch) | |
tree | bb6c040e4c80d73ec50d6eb7dc3ce38ffe832a2a /muse2/muse/plugin.h | |
parent | c2adb2d1ec669182b127c1414ac0583a4e9c9386 (diff) |
converted Qt3 methods to Qt4. Cleaned up app.* includes a bit.
Diffstat (limited to 'muse2/muse/plugin.h')
-rw-r--r-- | muse2/muse/plugin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h index f5ac9031..fbe6169e 100644 --- a/muse2/muse/plugin.h +++ b/muse2/muse/plugin.h @@ -98,8 +98,8 @@ class Plugin { unsigned long id() const { return _uniqueID; } QString maker() const { return _maker; } QString copyright() const { return _copyright; } - QString lib(bool complete = true) /*const*/ { return fi.baseName(complete); } // ddskrjo const - QString dirPath(bool complete = true) const { return fi.dirPath(complete); } + QString lib(bool complete = true) /*const*/ { return complete ? fi.completeBaseName() : fi.baseName(); } // ddskrjo const + QString dirPath(bool complete = true) const { return complete ? fi.absolutePath() : fi.path(); } QString filePath() const { return fi.filePath(); } int references() const { return _references; } int incReferences(int); |