pluginaction.cpp
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #include "pluginaction.h"
00021
00022
00023 PluginAction::PluginAction(int ID, const QString& txt, const QString& icon, int accel, QObject *parent, const char *name)
00024 : KAction(txt, icon, accel, parent, name), m_id(ID)
00025 {
00026 connect(this, SIGNAL(activated()), SLOT(slotActivated()));
00027 }
00028
00029 void PluginAction::slotActivated()
00030 {
00031 emit activated(m_id);
00032 }
00033
00034 #include "pluginaction.moc"
This file is part of the documentation for kdeprint Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Mar 4 22:45:15 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003