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.
|
|
|
#ifndef __OPENWITHPART_H__
|
|
|
|
#define __OPENWITHPART_H__
|
|
|
|
|
|
|
|
#include <kurl.h>
|
|
|
|
|
|
|
|
#include "kdevplugin.h"
|
|
|
|
|
|
|
|
class TQPopupMenu;
|
|
|
|
class Context;
|
|
|
|
|
|
|
|
|
|
|
|
class OpenWithPart : public KDevPlugin
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
OpenWithPart(TQObject *parent, 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
|