summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-07-03 20:46:33 (UTC)
committer zautrix <zautrix>2004-07-03 20:46:33 (UTC)
commit54e76d203297aa5da51342492d482187f4d6cd20 (patch) (unidiff)
tree32bc6bc0a1dd7b4bf6e385e3e66099a115d8b339
parentcc67ce39cdd7730caee878da3b191d76cad9479f (diff)
downloadkdepimpi-54e76d203297aa5da51342492d482187f4d6cd20.zip
kdepimpi-54e76d203297aa5da51342492d482187f4d6cd20.tar.gz
kdepimpi-54e76d203297aa5da51342492d482187f4d6cd20.tar.bz2
Bugfix for attachment
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kmicromail/libmailwrapper/mailwrapper.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmicromail/libmailwrapper/mailwrapper.h b/kmicromail/libmailwrapper/mailwrapper.h
index adfac6a..cefe64e 100644
--- a/kmicromail/libmailwrapper/mailwrapper.h
+++ b/kmicromail/libmailwrapper/mailwrapper.h
@@ -33,13 +33,13 @@ protected:
33 33
34class Attachment 34class Attachment
35{ 35{
36public: 36public:
37 Attachment( QString lnk ); 37 Attachment( QString lnk );
38 virtual ~Attachment(){} 38 virtual ~Attachment(){}
39 const QString getFileName()const{ return QFileInfo( doc ).fileName (); } 39 const QString getFileName()const{ return doc; }
40 const QString getName()const{ return QFileInfo( doc ).baseName (); } 40 const QString getName()const{ return QFileInfo( doc ).baseName (); }
41 const QString getMimeType()const{ return QFileInfo( doc ).extension(false); } 41 const QString getMimeType()const{ return QFileInfo( doc ).extension(false); }
42 const QPixmap getPixmap()const{ return mPix; } 42 const QPixmap getPixmap()const{ return mPix; }
43 const int getSize()const { return size; } 43 const int getSize()const { return size; }
44 QString getDocLnk() { return doc; } 44 QString getDocLnk() { return doc; }
45 45