summaryrefslogtreecommitdiff
path: root/library/applnk.h
Side-by-side diff
Diffstat (limited to 'library/applnk.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/applnk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/applnk.h b/library/applnk.h
index c6f92a3..18e20b6 100644
--- a/library/applnk.h
+++ b/library/applnk.h
@@ -57,8 +57,10 @@ public:
QStringList mimeTypeIcons() const { return mMimeTypeIcons; }
const QArray<int> &categories() const;
int id() const { return mId; }
+ bool linkFileKnown() const { return !mLinkFile.isNull(); }
+
void execute() const;
void execute(const QStringList& args) const;
void removeFiles();
void removeLinkFile();
@@ -95,8 +97,9 @@ protected:
friend class AppLnkSet;
virtual void invoke(const QStringList& args) const;
bool ensureLinkExists() const;
+ void storeLink() const;
};
class DocLnk : public AppLnk
{