author | harlekin <harlekin> | 2002-09-09 18:14:37 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2002-09-09 18:14:37 (UTC) |
commit | 3044db24e632adbcf5dbbf1874944d54cee7c8e3 (patch) (side-by-side diff) | |
tree | 9961a3531e7fd16709002f82faa7494dd3dafed3 /library/applnk.h | |
parent | 2e56c4b88cfb1ebdbc0d952791af48c870f9f14b (diff) | |
download | opie-3044db24e632adbcf5dbbf1874944d54cee7c8e3.zip opie-3044db24e632adbcf5dbbf1874944d54cee7c8e3.tar.gz opie-3044db24e632adbcf5dbbf1874944d54cee7c8e3.tar.bz2 |
add preloaded app control needed to runningappsbar
-rw-r--r-- | library/applnk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/library/applnk.h b/library/applnk.h index 18e20b6..9b5523e 100644 --- a/library/applnk.h +++ b/library/applnk.h @@ -57,48 +57,53 @@ 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(); void setName( const QString& docname ); void setExec( const QString& exec ); void setFile( const QString& filename ); void setLinkFile( const QString& filename ); void setComment( const QString& comment ); void setType( const QString& mimetype ); void setIcon( const QString& iconname ); void setCategories( const QArray<int> &v ); bool writeLink() const; void setProperty(const QString& key, const QString& value); QString property(const QString& key) const; +//#ifdef QTOPIA_INTERNAL_PRELOADACCESS + bool isPreloaded() const; + void setPreloaded(bool yesNo); +//#endif + protected: QString mName; QPixmap mPixmap; QPixmap mBigPixmap; QString mExec; QString mType; QString mRotation; QString mComment; QString mFile; QString mLinkFile; QString mIconFile; QStringList mMimeTypes; QStringList mMimeTypeIcons; int mId; static int lastId; AppLnkPrivate *d; friend class AppLnkSet; virtual void invoke(const QStringList& args) const; bool ensureLinkExists() const; void storeLink() const; }; class DocLnk : public AppLnk |