summaryrefslogtreecommitdiff
path: root/library
authorzecke <zecke>2002-10-06 09:53:16 (UTC)
committer zecke <zecke>2002-10-06 09:53:16 (UTC)
commit93432da5b2a73874b359d4a4468cdaffeaab960c (patch) (unidiff)
tree1f928a58b0e6b3036153a5461291f85d229f13fb /library
parenta1ebad08d462e682554d39a9beabce125a374452 (diff)
downloadopie-93432da5b2a73874b359d4a4468cdaffeaab960c.zip
opie-93432da5b2a73874b359d4a4468cdaffeaab960c.tar.gz
opie-93432da5b2a73874b359d4a4468cdaffeaab960c.tar.bz2
Sandman how did this compile?
inline setRotation( const QString& rotation ) { mRotation = rot; } I fixed that now
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/applnk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/applnk.h b/library/applnk.h
index b92ddba..b4590d3 100644
--- a/library/applnk.h
+++ b/library/applnk.h
@@ -52,49 +52,49 @@ public:
52 QString type() const; 52 QString type() const;
53 QString rotation() const { return mRotation; } 53 QString rotation() const { return mRotation; }
54 QString comment() const { return mComment; } 54 QString comment() const { return mComment; }
55 QString file() const; 55 QString file() const;
56 QString linkFile() const; 56 QString linkFile() const;
57 QStringList mimeTypes() const { return mMimeTypes; } 57 QStringList mimeTypes() const { return mMimeTypes; }
58 QStringList mimeTypeIcons() const { return mMimeTypeIcons; } 58 QStringList mimeTypeIcons() const { return mMimeTypeIcons; }
59 const QArray<int> &categories() const; 59 const QArray<int> &categories() const;
60 int id() const { return mId; } 60 int id() const { return mId; }
61 61
62 bool fileKnown() const { return !mFile.isNull(); } 62 bool fileKnown() const { return !mFile.isNull(); }
63 bool linkFileKnown() const { return !mLinkFile.isNull(); } 63 bool linkFileKnown() const { return !mLinkFile.isNull(); }
64 64
65 void execute() const; 65 void execute() const;
66 void execute(const QStringList& args) const; 66 void execute(const QStringList& args) const;
67 void removeFiles(); 67 void removeFiles();
68 void removeLinkFile(); 68 void removeLinkFile();
69 69
70 void setName( const QString& docname ); 70 void setName( const QString& docname );
71 void setExec( const QString& exec ); 71 void setExec( const QString& exec );
72 void setFile( const QString& filename ); 72 void setFile( const QString& filename );
73 void setLinkFile( const QString& filename ); 73 void setLinkFile( const QString& filename );
74 void setComment( const QString& comment ); 74 void setComment( const QString& comment );
75 void setType( const QString& mimetype ); 75 void setType( const QString& mimetype );
76 inline void setRotation ( const QString &rotation ) { mRotation = rot; } // inline for BC 76 inline void setRotation ( const QString &rot ) { mRotation = rot; } // inline for BC
77 void setIcon( const QString& iconname ); 77 void setIcon( const QString& iconname );
78 void setCategories( const QArray<int> &v ); 78 void setCategories( const QArray<int> &v );
79 bool writeLink() const; 79 bool writeLink() const;
80 80
81 void setProperty(const QString& key, const QString& value); 81 void setProperty(const QString& key, const QString& value);
82 QString property(const QString& key) const; 82 QString property(const QString& key) const;
83 83
84#ifdef QTOPIA_INTERNAL_PRELOADACCESS 84#ifdef QTOPIA_INTERNAL_PRELOADACCESS
85 bool isPreloaded() const; 85 bool isPreloaded() const;
86 void setPreloaded(bool yesNo); 86 void setPreloaded(bool yesNo);
87#endif 87#endif
88 88
89#ifdef QTOPIA_INTERNAL_APPLNKASSIGN 89#ifdef QTOPIA_INTERNAL_APPLNKASSIGN
90 AppLnk &operator=(const AppLnk &other); 90 AppLnk &operator=(const AppLnk &other);
91#endif 91#endif
92 92
93protected: 93protected:
94 QString mName; 94 QString mName;
95 95
96 /* remove for Qtopia 3.0 -zecke */ 96 /* remove for Qtopia 3.0 -zecke */
97 QPixmap mPixmap; 97 QPixmap mPixmap;
98 98
99 /* remove for Qtopia 3.0 -zecke */ 99 /* remove for Qtopia 3.0 -zecke */
100 QPixmap mBigPixmap; 100 QPixmap mBigPixmap;