KDevelop API Documentation

SnippetPart Class Reference

This plugin provides a tool view for CodeSnippets which can be easily inserted into any KDevelop sourcecode file. More...

#include <snippet_part.h>

Inheritance diagram for SnippetPart:

Inheritance graph
[legend]
Collaboration diagram for SnippetPart:

Collaboration graph
[legend]
List of all members.

Public Slots

void slotConfigWidget (KDialogBase *dlg)

Public Member Functions

 SnippetPart (QObject *parent, const char *name, const QStringList &)
 ~SnippetPart ()
KAboutDataaboutData ()
 Reimplement this method if you want to add your credits to the KDevelop about dialog.

Private Attributes

QGuardedPtr< SnippetWidgetm_widget

Detailed Description

This plugin provides a tool view for CodeSnippets which can be easily inserted into any KDevelop sourcecode file.

Author(s):
Robert Gruber

Maintainer(s):
Robert Gruber

Feature(s):
Provides a tooltree view for easy access to your CodeSnippets

You can use variables in Snippets

Tooltips show the content of the snippets

Snippets are saved based on the user who created them

Requirement(s):
KDE >= 3.1.3

Todo:
Add features

Definition at line 27 of file snippet_part.h.


Constructor & Destructor Documentation

SnippetPart::SnippetPart QObject parent,
const char *  name,
const QStringList
 

SnippetPart::~SnippetPart  ) 
 

Definition at line 53 of file snippet_part.cpp.

References m_widget, KDevPlugin::mainWindow(), and KDevMainWindow::removeView().


Member Function Documentation

KAboutData * SnippetPart::aboutData  )  [virtual]
 

Reimplement this method if you want to add your credits to the KDevelop about dialog.

Reimplemented from KDevPlugin.

Definition at line 66 of file snippet_part.cpp.

References KAboutData::addAuthor(), and I18N_NOOP.

void SnippetPart::slotConfigWidget KDialogBase dlg  )  [slot]
 

Definition at line 82 of file snippet_part.cpp.

References KDialogBase::addVBoxPage(), SnippetSettingsBase::btnGroup, SnippetSettingsBase::cbToolTip, KDevPlugin::icon(), SnippetSettingsBase::leDelimiter, m_widget, and KLineEdit::setText().


Member Data Documentation

QGuardedPtr<SnippetWidget> SnippetPart::m_widget [private]
 

Definition at line 38 of file snippet_part.h.

Referenced by slotConfigWidget(), and ~SnippetPart().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:47:48 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003