lib

KoLineStyleAction Class Reference

#include <Kolinestyleaction.h>

Inheritance diagram for KoLineStyleAction:

KoSelectAction KAction List of all members.

Detailed Description

A line style selection action.

Definition at line 26 of file Kolinestyleaction.h.


Public Member Functions

 KoLineStyleAction (const QString &text, const QString &icon, QObject *parent=0, const char *name=0)
 KoLineStyleAction (const QString &text, const QString &icon, const QObject *receiver, const char *slot, QObject *parent, const char *name=0)
 ~KoLineStyleAction ()

Protected Member Functions

void createMenu ()

Constructor & Destructor Documentation

KoLineStyleAction::KoLineStyleAction const QString &  text,
const QString &  icon,
QObject *  parent = 0,
const char *  name = 0
 

Constructs a KoLineStyleAction with a text and an icon.

Parameters:
text The text that will be displayed.
icon The dynamically loaded icon that goes with this action.
parent This action's parent.
name An internal name for this action.

Definition at line 45 of file Kolinestyleaction.cpp.

KoLineStyleAction::KoLineStyleAction const QString &  text,
const QString &  icon,
const QObject *  receiver,
const char *  slot,
QObject *  parent,
const char *  name = 0
 

Same as above, but it also connects a slot to the selectionChanged(int) signal.

Parameters:
text The text that will be displayed.
icon The dynamically loaded icon that goes with this action.
receiver The SLOT's parent.
slot The SLOT to invoke when a selectionChanged(int) signal is emited.
parent This action's parent.
name An internal name for this action.

Definition at line 53 of file Kolinestyleaction.cpp.


Member Function Documentation

void KoLineStyleAction::createMenu  )  [protected]
 

Draws and adds each item of the menu.

Definition at line 66 of file Kolinestyleaction.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys