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

OpieObex::OtherHandler Class Reference

#include </home/clem/local/src/opie/core/obex/receiver.h>

Collaboration diagram for OpieObex::OtherHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 OtherHandler ()
 ~OtherHandler ()
void handle (const QString &file)

Private Slots

void accept ()
void deny ()

Private Member Functions

QString targetName (const QString &file)
void copy (const QString &src, const QString &dest)

Private Attributes

QLabel * m_na
QTextView * m_view
QString m_file

Constructor & Destructor Documentation

OtherHandler::OtherHandler  ) 
 

Definition at line 117 of file receiver.cpp.

References accept(), deny(), frame, m_na, m_view, showMaximized, and tr.

OtherHandler::~OtherHandler  ) 
 

Definition at line 145 of file receiver.cpp.


Member Function Documentation

void OtherHandler::accept  )  [private, slot]
 

Definition at line 161 of file receiver.cpp.

References copy(), m_file, QFile::remove(), targetName(), and AppLnk::writeLink().

Referenced by OtherHandler().

void OtherHandler::copy const QString src,
const QString dest
[private]
 

Definition at line 193 of file receiver.cpp.

References FileManager::copyFile(), oendl, and owarn.

Referenced by accept().

void OtherHandler::deny  )  [private, slot]
 

Definition at line 169 of file receiver.cpp.

References m_file, and QFile::remove().

Referenced by OtherHandler().

void OtherHandler::handle const QString file  ) 
 

Definition at line 148 of file receiver.cpp.

References AppLnk::icon(), m_file, m_na, m_view, str, tr, and AppLnk::type().

Referenced by OpieObex::Receiver::handleOther().

QString OtherHandler::targetName const QString file  )  [private]
 

Definition at line 173 of file receiver.cpp.

References QFileInfo::baseName(), Global::createDocDir(), QPEApplication::documentDir(), QFile::exists(), QFileInfo::extension(), and QString::number().

Referenced by accept().


Member Data Documentation

QString OpieObex::OtherHandler::m_file [private]
 

Definition at line 53 of file receiver.h.

Referenced by accept(), deny(), and handle().

QLabel* OpieObex::OtherHandler::m_na [private]
 

Definition at line 51 of file receiver.h.

Referenced by handle(), and OtherHandler().

QTextView* OpieObex::OtherHandler::m_view [private]
 

Definition at line 52 of file receiver.h.

Referenced by handle(), and OtherHandler().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:02:28 2005 for OPIE by  doxygen 1.4.2