blob: f9f7bc93a349acd93b7e9481c519a0ed8966754b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/*
* File : snippet_part.h
*
* Author: Robert Gruber <rgruber@users.sourceforge.net>
*
* Copyright: See COPYING file that comes with this distribution
*/
#ifndef __KDEVPART_SNIPPET_H__
#define __KDEVPART_SNIPPET_H__
#include <tqguardedptr.h>
#include <kdevplugin.h>
class SnippetWidget;
class KAboutData;
class KDialogBase;
/*
This is the KDevPlugin for the CodeSnippet feature
For more info read the README.dox file
@author Robert Gruber
*/
class SnippetPart : public KDevPlugin
{
Q_OBJECT
TQ_OBJECT
public:
SnippetPart(TQObject *tqparent, const char *name, const TQStringList &);
~SnippetPart();
KAboutData * aboutData();
TQStringList getAllLanguages();
TQStringList getProjectLanguages();
private:
void setupActions();
TQGuardedPtr<SnippetWidget> m_widget;
public slots:
void slotConfigWidget( KDialogBase *dlg );
void slotShowView();
};
#endif
|