26 #include <kparts/browserextension.h> 29 #define KLASH_NO_EXPORT __attribute__ ((visibility("hidden"))) 31 #define KLASH_NO_EXPORT 33 #define KDE_NO_CDTOR_EXPORT KLASH_NO_EXPORT 35 #define KDE_NO_EXPORT KLASH_NO_EXPORT 53 void urlChanged (
const QString &
url);
54 void setLoadingProgress (
int percentage);
56 void saveState (QDataStream & stream);
57 void restoreState (QDataStream & stream);
58 void requestOpenURL (
const KURL & url,
const QString & target,
const QString & service);
71 bool get (
const unsigned long,
const QString &,
73 bool put (
const unsigned long,
const QString &,
const QString &);
74 bool call (
const unsigned long,
const QString &,
75 const QStringList &, KParts::LiveConnectExtension::Type &,
76 unsigned long &, QString &);
77 void unregister (
const unsigned long);
78 void sendEvent(
const unsigned long objid,
const QString & event,
const KParts::LiveConnectExtension::ArgList & args ) {
79 emit partEvent(objid, event, args);
84 void partEvent (
const unsigned long,
const QString &,
85 const KParts::LiveConnectExtension::ArgList &);
87 void setSize (
int w,
int h);
92 const JSCommandEntry * lastJSCommandEntry;
94 bool m_enablefinish : 1;
111 void resizeEvent (QResizeEvent *);
119 friend struct GroupPredicate;
121 KlashPart (QWidget * wparent,
const char * wname,
122 QObject * parent,
const char *
name,
const QStringList &args);
126 {
return m_browserextension; }
128 {
return m_liveconnectextension; }
129 bool allowRedir (
const KURL &
url)
const;
131 void setLoaded (
int percentage);
132 const QString &
source ()
const {
return m_src_url; }
134 virtual bool openURL (
const KURL & url);
135 virtual bool closeURL ();
139 int width ()
const {
return m_width; }
142 void playingStarted ();
143 void playingStopped ();
144 void processStopped (KProcess *);
146 virtual bool openFile();
151 KProcess * m_process;
158 bool m_autostart : 1;
159 bool m_fullscreen : 1;
160 bool m_started_emited : 1;
#define KDE_NO_CDTOR_EXPORT
Definition: klash_part.h:33
Definition: klash_part.h:64
int width() const
Definition: klash_part.h:139
#define KLASH_NO_EXPORT
Definition: klash_part.h:31
Definition: klash_part.h:117
KDE_NO_EXPORT KlashBrowserExtension * browserextension() const
Definition: klash_part.h:125
void sendEvent(const unsigned long objid, const QString &event, const KParts::LiveConnectExtension::ArgList &args)
Definition: klash_part.h:78
Definition: klash_part.h:48
Definition: klash_part.cpp:330
KlashLiveConnectExtension * liveconnectextension() const
Definition: klash_part.h:127
int height() const
Definition: klash_part.h:140
Definition: klash_part.h:104
#define KDE_NO_EXPORT
Definition: klash_part.h:35
Definition: GnashKey.h:148
const QString & source() const
Definition: klash_part.h:132
Definition: GnashKey.h:154
std::string url
Definition: gnash.cpp:59
Definition: klash_part.cpp:330
Definition: klash_part.h:97
KDE_NO_CDTOR_EXPORT ~KlashBrowserExtension()
Definition: klash_part.h:52
std::string name
Definition: LocalConnection_as.cpp:149
void enableFinishEvent(bool b=true)
Definition: klash_part.h:82