ToolsPart Class Reference
This plugin provides an easy way to add external applications to the Tools menu and toolbar. More...
#include <tools_part.h>
Inheritance diagram for ToolsPart:


Public Member Functions | |
ToolsPart (QObject *parent, const char *name, const QStringList &) | |
~ToolsPart () | |
Private Slots | |
void | configWidget (KDialogBase *dlg) |
void | updateMenu () |
void | slotToolActivated () |
void | contextMenu (QPopupMenu *popup, const Context *context) |
void | updateToolsMenu () |
void | toolsMenuActivated () |
void | fileContextActivated (int id) |
void | dirContextActivated (int id) |
Private Member Functions | |
void | startCommand (QString cmdline, bool captured, QString fileName) |
Private Attributes | |
QPopupMenu * | m_contextPopup |
QString | m_contextFileName |
Detailed Description
This plugin provides an easy way to add external applications to the Tools menu and toolbar.
- Unmaintained:
- This part is currently un-maintained.
- Feature(s):
- Provides an easy way to add external applications to the Tools menu and toolbar.
Tool menu and the file and directory context menus can now be populated with any shell command.
Output can be sent to the app output part. S, D, T and W magic works.
Definition at line 23 of file tools_part.h.
Constructor & Destructor Documentation
|
|
|
Definition at line 56 of file tools_part.cpp. |
Member Function Documentation
|
Definition at line 61 of file tools_part.cpp. References KDialogBase::addVBoxPage(), KDevPlugin::icon(), updateMenu(), and updateToolsMenu(). |
|
Definition at line 209 of file tools_part.cpp. References dirContextActivated(), fileContextActivated(), FileContext::fileName(), Context::hasType(), FileContext::isDirectory(), m_contextFileName, m_contextPopup, KConfigBase::readListEntry(), and KConfigBase::setGroup(). |
|
Definition at line 269 of file tools_part.cpp. References kdDebug(), m_contextFileName, m_contextPopup, KConfigBase::readBoolEntry(), KConfigBase::readPathEntry(), KConfigBase::setGroup(), and startCommand(). Referenced by contextMenu(). |
|
Definition at line 254 of file tools_part.cpp. References kdDebug(), m_contextFileName, m_contextPopup, KConfigBase::readBoolEntry(), KConfigBase::readPathEntry(), KConfigBase::setGroup(), and startCommand(). Referenced by contextMenu(). |
|
Definition at line 103 of file tools_part.cpp. Referenced by updateMenu(). |
|
|
Definition at line 236 of file tools_part.cpp. References kdDebug(), KConfigBase::readBoolEntry(), KConfigBase::readPathEntry(), KConfigBase::setGroup(), and startCommand(). Referenced by updateToolsMenu(). |
|
Definition at line 76 of file tools_part.cpp. References KXMLGUIClient::plugActionList(), KDesktopFile::readIcon(), KConfigBase::readListEntry(), KDesktopFile::readName(), KConfigBase::setGroup(), slotToolActivated(), and KXMLGUIClient::unplugActionList(). Referenced by configWidget(). |
|
Definition at line 181 of file tools_part.cpp. References KXMLGUIClient::plugActionList(), KConfigBase::readBoolEntry(), KConfigBase::readListEntry(), KConfigBase::readPathEntry(), KConfigBase::setGroup(), toolsMenuActivated(), and KXMLGUIClient::unplugActionList(). Referenced by configWidget(). |
Member Data Documentation
|
Definition at line 51 of file tools_part.h. Referenced by contextMenu(), dirContextActivated(), and fileContextActivated(). |
|
Definition at line 50 of file tools_part.h. Referenced by contextMenu(), dirContextActivated(), and fileContextActivated(). |
The documentation for this class was generated from the following files:
- parts/tools/tools_part.h
- parts/tools/tools_part.cpp