KHTML
kjavaappletviewer.cpp
Go to the documentation of this file.
346 QDBusInterface kpasswdserver("org.kde.kded", "/modules/kpasswdserver", "org.kde.KPasswdServer");
347 QDBusReply<QByteArray> reply = kpasswdserver.call ("checkAuthInfo", params, qlonglong(m_view->topLevelWidget()->winId()), qlonglong(kapp->userTimestamp()));
369 connect (applet->getContext(), SIGNAL(showDocument(QString,QString)), m_browserextension, SLOT(showDocument(QString,QString)));
480 KJavaAppletViewerBrowserExtension::KJavaAppletViewerBrowserExtension (KJavaAppletViewer * parent)
494 void KJavaAppletViewerBrowserExtension::setBrowserArguments (const KParts::BrowserArguments & /*args*/) {
498 KJavaApplet* const applet = static_cast<KJavaAppletViewer*>(parent())->view()->appletWidget ()->applet ();
544 KJavaAppletViewerLiveConnectExtension::KJavaAppletViewerLiveConnectExtension(KJavaAppletViewer * parent)
576 bool KJavaAppletViewerLiveConnectExtension::put(const unsigned long objid, const QString & name, const QString & value)
592 bool KJavaAppletViewerLiveConnectExtension::call( const unsigned long objid, const QString & func, const QStringList & fargs, KParts::LiveConnectExtension::Type & type, unsigned long & retobjid, QString & value )
653 arglist.push_back(KParts::LiveConnectExtension::ArgList::value_type((KParts::LiveConnectExtension::Type) (*prev).toInt(), (*it)));
void showDocument(const QString &doc, const QString &frame)
Definition: kjavaappletviewer.cpp:534
Definition: kjavaappletviewer.h:119
QString i18n(const char *text)
#define kapp
KJavaAppletViewerBrowserExtension(KJavaAppletViewer *parent)
Definition: kjavaappletviewer.cpp:480
void setBrowserArguments(const KParts::BrowserArguments &args)
Definition: kjavaappletviewer.cpp:494
KUrl url
KJavaAppletServer * getServer() const
Definition: kjavaappletcontext.h:107
bool get(const unsigned long objid, const QString &field, KParts::LiveConnectExtension::Type &type, unsigned long &retobjid, QString &value)
Definition: kjavaappletviewer.cpp:550
virtual bool openUrl(const KUrl &url)
Definition: kjavaappletviewer.cpp:403
static KIconLoader * iconLoader()
Definition: kjavaappletviewer.h:127
void unregister(const unsigned long objid)
Definition: kjavaappletviewer.cpp:622
KLocalizedString ki18n(const char *msg)
KStatusBar * statusBar() const
void completed()
QString & appletClass()
Get the name of the Class file the applet should run.
Definition: kjavaapplet.cpp:88
#define K_GLOBAL_STATIC(TYPE, NAME)
const char * name(StandardAction id)
bool call(const unsigned long, const QString &func, const QStringList &args, KParts::LiveConnectExtension::Type &type, unsigned long &retobjid, QString &value)
Definition: kjavaappletviewer.cpp:592
bool isCreated()
Returns status of applet- whether it's been created or not.
Definition: kjavaapplet.cpp:72
void urlChanged(const QString &url)
Definition: kjavaappletviewer.cpp:486
void setAppletContext(KJavaAppletContext *_context)
Set the applet context'.
Definition: kjavaapplet.cpp:77
Definition: kjavaappletwidget.h:82
K_EXPORT_PLUGIN(KMultiPartFactory(kmultipartAboutData())) class KLineParser
Definition: kmultipart.cpp:50
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
void started(KIO::Job *)
void saveState(QDataStream &stream)
Definition: kjavaappletviewer.cpp:497
void setAppletName(const QString &name)
Set the name the applet should be called in its context.
Definition: kjavaapplet.cpp:160
Definition: kjavaapplet.h:50
bool putMember(QStringList &args)
Definition: kjavaappletcontext.cpp:259
void removeStatusBarItem(QWidget *widget)
bool verifyPath
bool authorizeUrlAction(const QString &action, const KUrl &baseUrl, const KUrl &destUrl)
KUrl upUrl() const
virtual ~KJavaAppletViewerFactory()
Definition: kjavaappletviewer.cpp:60
QString & archives()
Get the list of Archives that should be searched for class files and other resources.
Definition: kjavaapplet.cpp:143
void restoreState(QDataStream &stream)
Definition: kjavaappletviewer.cpp:511
void infoMessage(const QString &)
Definition: kjavaappletviewer.cpp:470
Definition: kjavaappletserver.h:42
static const KComponentData & componentData()
Definition: kjavaappletviewer.h:126
void openUrlRequest(const KUrl &url, const KParts::OpenUrlArguments &arguments=KParts::OpenUrlArguments(), const KParts::BrowserArguments &browserArguments=KParts::BrowserArguments())
void derefObject(QStringList &args)
Definition: kjavaappletcontext.cpp:269
virtual void setComponentData(const KComponentData &componentData)
void infoMessage(const QString &)
void loadingProgress(int percent)
bool put(const unsigned long, const QString &field, const QString &value)
Definition: kjavaappletviewer.cpp:576
void setLoadingProgress(int percentage)
Definition: kjavaappletviewer.cpp:490
QString & baseURL()
get the Base URL of the document embedding the applet
Definition: kjavaapplet.cpp:113
void jsEvent(const QStringList &args)
Definition: kjavaappletviewer.cpp:638
KGuiItem ok()
virtual void setWidget(QWidget *widget)
void addStatusBarItem(QWidget *widget, int stretch, bool permanent)
bool eventFilter(QObject *o, QEvent *e)
Definition: kjavaappletviewer.cpp:380
QString frameName
void showApplet()
Tells the AppletServer to create, initialize, and show the Applet.
Definition: kjavaappletwidget.cpp:70
static KAboutData * createAboutData()
Definition: kjavaappletviewer.cpp:474
AppletParameterDialog(KJavaAppletWidget *parent)
Definition: kjavaappletviewer.cpp:125
void endWaitForReturnData()
Definition: kjavaappletserver.cpp:716
Definition: kjavaappletviewer.h:82
KJavaAppletViewerLiveConnectExtension(KJavaAppletViewer *parent)
Definition: kjavaappletviewer.cpp:544
void partEvent(const unsigned long objid, const QString &event, const KParts::LiveConnectExtension::ArgList &args)
bool getMember(QStringList &args, QStringList &ret_args)
LiveConnect functions.
Definition: kjavaappletcontext.cpp:254
void setBaseURL(const QString &base)
Set the URL of the document embedding the applet.
Definition: kjavaapplet.cpp:108
QString fileName(const DirectoryOptions &options=IgnoreTrailingSlash) const
KJavaAppletViewer(QWidget *wparent, QObject *parent, const QStringList &args)
Definition: kjavaappletviewer.cpp:232
Definition: kjavaappletviewer.h:133
static QDebug kWarning(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
virtual QObject * create(const char *, QWidget *wparent, QObject *parent, const QVariantList &args, const QString &)
Definition: kjavaappletviewer.cpp:65
void setAppletClass(const QString &clazzName)
Specify the name of the class file to run.
Definition: kjavaapplet.cpp:83
bool callMember(QStringList &args, QStringList &ret_args)
Definition: kjavaappletcontext.cpp:264
Definition: kjavaappletcontext.h:45
QString url(AdjustPathOption trailing=LeaveTrailingSlash) const
void setArchives(const QString &_archives)
Set the list of archives at the Applet's codebase to search in for class files and other resources...
Definition: kjavaapplet.cpp:138
void setCodeBase(const QString &codeBase)
Set the codebase of the applet classes.
Definition: kjavaapplet.cpp:118
void setLocationBarUrl(const QString &url)
void setParameter(const QString &name, const QString &value)
Specify a parameter to be passed to the applet.
Definition: kjavaapplet.cpp:98
QMap< QString, QString > & getParams()
Get a reference to the Parameters and their values.
Definition: kjavaapplet.cpp:103
int jsSessions() const
Definition: kjavaappletviewer.h:71
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:22 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.