summaryrefslogtreecommitdiffstats
path: root/parts/openwith/openwithpart.h
blob: 0f72adf81301d1c65f5bfd62849c936e521c86ec (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
#ifndef __OPENWITHPART_H__
#define __OPENWITHPART_H__

#include <kurl.h>

#include "kdevplugin.h"

class TQPopupMenu;
class Context;


class OpenWithPart : public KDevPlugin
{
	Q_OBJECT
  TQ_OBJECT

public:

	OpenWithPart(TQObject *tqparent, const char *name, const TQStringList &);
	~OpenWithPart();


private slots:

	void fillContextMenu(TQPopupMenu *popup, const Context *context);

	void openWithService();
	void openWithDialog();
	void openAsEncoding(int id);
	void openAsUtf8();

private:

  KURL::List m_urls;
};

#endif