lib Library API Documentation

KoLineStyleAction Class Reference

A line style selection action. More...

#include <kolinestyleaction.h>

Inheritance diagram for KoLineStyleAction:

Inheritance graph
[legend]
Collaboration diagram for KoLineStyleAction:

Collaboration graph
[legend]
List of all members.

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)

Protected Member Functions

void createMenu ()

Detailed Description

A line style selection action.

Definition at line 26 of file kolinestyleaction.h.


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.

References createMenu().

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.

References createMenu().


Member Function Documentation

void KoLineStyleAction::createMenu  )  [protected]
 

Draws and adds each item of the menu.

Definition at line 66 of file kolinestyleaction.cpp.

References KoSelectAction::popup(), and KoSelectAction::popupMenu().

Referenced by KoLineStyleAction().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for lib Library Version 1.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Mon Feb 13 09:41:02 2006 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003