You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
511 B
37 lines
511 B
15 years ago
|
#ifndef __OPENWITHPART_H__
|
||
|
#define __OPENWITHPART_H__
|
||
|
|
||
|
#include <kurl.h>
|
||
|
|
||
|
#include "kdevplugin.h"
|
||
|
|
||
|
class QPopupMenu;
|
||
|
class Context;
|
||
|
|
||
|
|
||
|
class OpenWithPart : public KDevPlugin
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
|
||
|
OpenWithPart(QObject *parent, const char *name, const QStringList &);
|
||
|
~OpenWithPart();
|
||
|
|
||
|
|
||
|
private slots:
|
||
|
|
||
|
void fillContextMenu(QPopupMenu *popup, const Context *context);
|
||
|
|
||
|
void openWithService();
|
||
|
void openWithDialog();
|
||
|
void openAsEncoding(int id);
|
||
|
void openAsUtf8();
|
||
|
|
||
|
private:
|
||
|
|
||
|
KURL::List m_urls;
|
||
|
};
|
||
|
|
||
|
#endif
|