parts/openwith/openwithpart.h
Go to the documentation of this file.00001 #ifndef __OPENWITHPART_H__ 00002 #define __OPENWITHPART_H__ 00003 00004 #include <kurl.h> 00005 00006 #include "kdevplugin.h" 00007 00008 class QPopupMenu; 00009 class Context; 00010 00011 00012 class OpenWithPart : public KDevPlugin 00013 { 00014 Q_OBJECT 00015 00016 public: 00017 00018 OpenWithPart(QObject *parent, const char *name, const QStringList &); 00019 ~OpenWithPart(); 00020 00021 00022 private slots: 00023 00024 void fillContextMenu(QPopupMenu *popup, const Context *context); 00025 00026 void openWithService(); 00027 void openWithDialog(); 00028 void openAsEncoding(int id); 00029 00030 private: 00031 00032 KURL m_url; 00033 }; 00034 00035 #endif