Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

AddAtt Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/mailit/addatt.h>

Collaboration diagram for AddAtt:

Collaboration graph
[legend]
List of all members.

Public Slots

void addattachment ()
void removeattachment ()
void reject ()
void accept ()

Public Member Functions

 AddAtt (QWidget *parent=0, const char *name=0, WFlags f=0)
QStringList returnattachedFiles ()
QStringList returnFileTypes ()
void getFiles ()
void clear ()

Private Attributes

FileItemitem
QListView * attView
QPushButton * attachButton
QPushButton * removeButton
QPopupMenu * fileCategories
bool modified
OFileDialogofs

Constructor & Destructor Documentation

AddAtt::AddAtt QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0
 

Definition at line 56 of file addatt.cpp.

References addattachment(), attachButton, attView, clear(), removeattachment(), removeButton, and tr.


Member Function Documentation

void AddAtt::accept  )  [slot]
 

Definition at line 158 of file addatt.cpp.

References FALSE, and modified.

void AddAtt::addattachment  )  [slot]
 

Definition at line 124 of file addatt.cpp.

References attView, modified, ofs, AppLnk::pixmap(), OFileDialog::selectedDocument(), TRUE, and AppLnk::type().

Referenced by AddAtt().

void AddAtt::clear  ) 
 

Definition at line 111 of file addatt.cpp.

References attView, FALSE, and modified.

Referenced by WriteMail::accept(), and AddAtt().

void AddAtt::getFiles  ) 
 

Definition at line 164 of file addatt.cpp.

void AddAtt::reject  )  [slot]
 

Definition at line 150 of file addatt.cpp.

References attView, FALSE, and modified.

void AddAtt::removeattachment  )  [slot]
 

Definition at line 141 of file addatt.cpp.

References attView, modified, NULL, and TRUE.

Referenced by AddAtt().

QStringList AddAtt::returnattachedFiles  ) 
 

Definition at line 195 of file addatt.cpp.

References attView, AppLnk::file(), FileItem::getDocLnk(), item, list, and NULL.

Referenced by WriteMail::accept().

QStringList AddAtt::returnFileTypes  ) 
 

Definition at line 213 of file addatt.cpp.

References attView, FileItem::getDocLnk(), item, list, and NULL.

Referenced by WriteMail::accept().


Member Data Documentation

QPushButton* AddAtt::attachButton [private]
 

Definition at line 68 of file addatt.h.

Referenced by AddAtt().

QListView* AddAtt::attView [private]
 

Definition at line 67 of file addatt.h.

Referenced by AddAtt(), addattachment(), clear(), reject(), removeattachment(), returnattachedFiles(), and returnFileTypes().

QPopupMenu* AddAtt::fileCategories [private]
 

Definition at line 69 of file addatt.h.

FileItem* AddAtt::item [private]
 

Definition at line 66 of file addatt.h.

Referenced by returnattachedFiles(), and returnFileTypes().

bool AddAtt::modified [private]
 

Definition at line 70 of file addatt.h.

Referenced by accept(), addattachment(), clear(), reject(), and removeattachment().

OFileDialog* AddAtt::ofs [private]
 

Definition at line 73 of file addatt.h.

Referenced by addattachment().

QPushButton * AddAtt::removeButton [private]
 

Definition at line 68 of file addatt.h.

Referenced by AddAtt().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:26:03 2005 for OPIE by  doxygen 1.4.2