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

« back to all changes in this revision

Viewing changes to parts/openwith/openwithpart.h

  • Committer: Bazaar Package Importer
  • Author(s): Jeremy Lainé
  • Date: 2010-05-05 07:21:55 UTC
  • mfrom: (1.2.3 upstream) (5.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20100505072155-h78lx19pu04sbhtn
Tags: 4:4.0.0-2
* Upload to unstable (Closes: #579947, #481832).
* Acknowledge obsolete NMU fixes (Closes: #562410, #546961).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __OPENWITHPART_H__
2
 
#define __OPENWITHPART_H__
3
 
 
4
 
#include <kurl.h>
5
 
 
6
 
#include "kdevplugin.h"
7
 
 
8
 
class QPopupMenu;
9
 
class Context;
10
 
 
11
 
 
12
 
class OpenWithPart : public KDevPlugin
13
 
{
14
 
        Q_OBJECT
15
 
 
16
 
public:
17
 
 
18
 
        OpenWithPart(QObject *parent, const char *name, const QStringList &);
19
 
        ~OpenWithPart();
20
 
 
21
 
 
22
 
private slots:
23
 
 
24
 
        void fillContextMenu(QPopupMenu *popup, const Context *context);
25
 
 
26
 
        void openWithService();
27
 
        void openWithDialog();
28
 
        void openAsEncoding(int id);
29
 
        void openAsUtf8();
30
 
 
31
 
private:
32
 
 
33
 
  KURL::List m_urls;
34
 
};
35
 
 
36
 
#endif