summaryrefslogtreecommitdiff
authorzecke <zecke>2002-10-06 09:53:16 (UTC)
committer zecke <zecke>2002-10-06 09:53:16 (UTC)
commit93432da5b2a73874b359d4a4468cdaffeaab960c (patch) (side-by-side diff)
tree1f928a58b0e6b3036153a5461291f85d229f13fb
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 (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
@@ -28,97 +28,97 @@
class AppLnkSetPrivate;
class AppLnkPrivate;
class AppLnk
{
public:
AppLnk();
AppLnk( const QString &file );
AppLnk( const AppLnk &copy ); // copy constructor
virtual ~AppLnk();
bool isValid() const { return !mLinkFile.isNull(); }
static void setSmallIconSize(int);
static void setBigIconSize(int);
static int smallIconSize();
static int bigIconSize();
QString name() const { return mName; }
const QPixmap& pixmap() const;
const QPixmap& bigPixmap() const;
QString icon() const { return mIconFile; }
virtual QString exec() const { return mExec; }
QString type() const;
QString rotation() const { return mRotation; }
QString comment() const { return mComment; }
QString file() const;
QString linkFile() const;
QStringList mimeTypes() const { return mMimeTypes; }
QStringList mimeTypeIcons() const { return mMimeTypeIcons; }
const QArray<int> &categories() const;
int id() const { return mId; }
bool fileKnown() const { return !mFile.isNull(); }
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 );
- inline void setRotation ( const QString &rotation ) { mRotation = rot; } // inline for BC
+ inline void setRotation ( const QString &rot ) { mRotation = rot; } // inline for BC
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
#ifdef QTOPIA_INTERNAL_APPLNKASSIGN
AppLnk &operator=(const AppLnk &other);
#endif
protected:
QString mName;
/* remove for Qtopia 3.0 -zecke */
QPixmap mPixmap;
/* remove for Qtopia 3.0 -zecke */
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;
private:
const QPixmap& pixmap(int pos, int size) const;
};
class DocLnk : public AppLnk