libtdepim

Komposer::Core Class Reference

This class provides the interface to the Komposer core for the editor. More...

#include <core.h>

Inheritance diagram for Komposer::Core:
Komposer::KomposerIface

List of all members.

Public Slots

virtual void send (int how)
virtual void addAttachment (const KURL &url, const TQString &comment)
virtual void setBody (const TQString &body)
virtual void addAttachment (const TQString &name, const TQCString &cte, const TQByteArray &data, const TQCString &type, const TQCString &subType, const TQCString &paramAttr, const TQString &paramValue, const TQCString &contDisp)

Public Member Functions

 Core (TQWidget *parentWidget=0, const char *name=0)

Protected Slots

void slotPluginLoaded (Plugin *)
void slotAllPluginsLoaded ()
void slotPreferences ()
void slotQuit ()
void slotClose ()
void slotSendNow ()
void slotSendLater ()
void slotSaveDraft ()
void slotInsertFile ()
void slotAddrBook ()
void slotNewComposer ()
void slotAttachFile ()

Protected Member Functions

virtual void initWidgets ()
void initCore ()
void initConnections ()
void loadSettings ()
void saveSettings ()
void createActions ()
void addEditor (Komposer::Editor *editor)
void addPlugin (Komposer::Plugin *plugin)

Detailed Description

This class provides the interface to the Komposer core for the editor.

Definition at line 45 of file core.h.


Member Function Documentation

void Core::addAttachment ( const TQString &  name,
const TQCString &  cte,
const TQByteArray &  data,
const TQCString &  type,
const TQCString &  subType,
const TQCString &  paramAttr,
const TQString &  paramValue,
const TQCString &  contDisp 
) [virtual, slot]

Add attachment.

Parameters:
name Name of Attachment
cte Content Transfer Encoding
data Data to be attached
type MIME content type
subType MIME content sub type
paramAttr Attribute name of parameter of content type
paramValue Value of parameter of content type
contDisp Content disposition

Implements Komposer::KomposerIface.

Definition at line 345 of file core.cpp.

void Core::addAttachment ( const KURL &  url,
const TQString &  comment 
) [virtual, slot]

Add url as attachment with a user-defined comment.

Implements Komposer::KomposerIface.

Definition at line 333 of file core.cpp.

void Core::send ( int  how  )  [virtual, slot]

Send message.

Parameters:
how 0 for deafult method, 1 for sending now, 2 for sending later.

Implements Komposer::KomposerIface.

Definition at line 327 of file core.cpp.

void Core::setBody ( const TQString &  body  )  [virtual, slot]

Set message body.

Implements Komposer::KomposerIface.

Definition at line 339 of file core.cpp.


The documentation for this class was generated from the following files: