Diffstat (limited to 'noncore/unsupported/mailit/addatt.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/unsupported/mailit/addatt.h | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/noncore/unsupported/mailit/addatt.h b/noncore/unsupported/mailit/addatt.h index 867c905..73062e2 100644 --- a/noncore/unsupported/mailit/addatt.h +++ b/noncore/unsupported/mailit/addatt.h @@ -29,2 +29,4 @@ #include <qstringlist.h> +#include <opie/ofileselector.h> +#include <qpe/applnk.h> @@ -33,9 +35,10 @@ class FileItem : public QListViewItem public: - FileItem(QListView *parent, QFileInfo fileInfo, QString fileType); - QFileInfo getFileInfo(); - QString getFileType(); + //FileItem(QListView *parent, QFileInfo fileInfo, QString fileType); + FileItem(QListView*, DocLnk*); + ~FileItem(); + DocLnk* getDocLnk() {return doclnk;} + private: - QFileInfo file; - QString type; + DocLnk* doclnk; }; @@ -53,4 +56,5 @@ public: + public slots: - void fileCategorySelected(int); + //void fileCategorySelected(int); void addAttatchment(); @@ -62,3 +66,3 @@ private: FileItem *item; - QListView *listView, *attView; + QListView *attView; QPushButton *fileCategoryButton, *attatchButton, *removeButton; @@ -67,2 +71,4 @@ private: QFileInfo *fi; + + OFileSelector* ofs; }; |