~ubuntu-branches/debian/sid/kdevelop/sid

« back to all changes in this revision

Viewing changes to parts/texttools/texttoolspart.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2006-05-23 18:39:42 UTC
  • Revision ID: james.westby@ubuntu.com-20060523183942-hucifbvh68k2bwz7
Tags: upstream-3.3.2
Import upstream version 3.3.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2002 by Bernd Gehrmann                                  *
 
3
 *   bernd@kdevelop.org                                                    *
 
4
 *                                                                         *
 
5
 *   This program is free software; you can redistribute it and/or modify  *
 
6
 *   it under the terms of the GNU General Public License as published by  *
 
7
 *   the Free Software Foundation; either version 2 of the License, or     *
 
8
 *   (at your option) any later version.                                   *
 
9
 *                                                                         *
 
10
 ***************************************************************************/
 
11
 
 
12
#ifndef _TEXTTOOLSPART_H_
 
13
#define _TEXTTOOLSPART_H_
 
14
 
 
15
#include <qguardedptr.h>
 
16
#include <kparts/part.h>
 
17
#include "kdevplugin.h"
 
18
 
 
19
class TextToolsWidget;
 
20
 
 
21
 
 
22
class TextToolsPart : public KDevPlugin
 
23
{
 
24
    Q_OBJECT
 
25
 
 
26
public:
 
27
    TextToolsPart( QObject *parent, const char *name, const QStringList & );
 
28
    ~TextToolsPart();
 
29
 
 
30
private slots:
 
31
    void activePartChanged(KParts::Part *part);
 
32
 
 
33
private:
 
34
    void createWidget();
 
35
    
 
36
    QGuardedPtr<TextToolsWidget> m_widget;
 
37
};
 
38
 
 
39
#endif