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
void setColumnWidth(int column, int width)
KJavaAppletViewerBrowserExtension(KJavaAppletViewer *parent)
Definition: kjavaappletviewer.cpp:480
Type type() const
void setBrowserArguments(const KParts::BrowserArguments &args)
Definition: kjavaappletviewer.cpp:494
KUrl url
void truncate(int position)
int width() const
void setModal(bool modal)
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
void push_back(const T &value)
void setItem(int row, int column, QTableWidgetItem *item)
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)
void setPixmap(const QPixmap &)
const_iterator constBegin() const
bool isVisible() const
bool call(const unsigned long, const QString &func, const QStringList &args, KParts::LiveConnectExtension::Type &type, unsigned long &retobjid, QString &value)
Definition: kjavaappletviewer.cpp:592
QString message() const
int exec()
bool isValid() const
bool isCreated()
Returns status of applet- whether it's been created or not.
Definition: kjavaapplet.cpp:72
void setRangeSelected(const QTableWidgetSelectionRange &range, bool select)
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)
QChar separator()
void started(KIO::Job *)
QDBusMessage call(const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8)
void saveState(QDataStream &stream)
Definition: kjavaappletviewer.cpp:497
virtual bool event(QEvent *e)
void setMinimumSize(const QSize &)
typedef value_type
const char * name() const
QString number(int n, int base)
int count(const T &value) const
void append(const T &value)
void setAppletName(const QString &name)
Set the name the applet should be called in its context.
Definition: kjavaapplet.cpp:160
Definition: kjavaapplet.h:50
void installEventFilter(QObject *filterObj)
QWidget * topLevelWidget() const
bool putMember(QStringList &args)
Definition: kjavaappletcontext.cpp:259
void removeStatusBarItem(QWidget *widget)
bool verifyPath
Type value() const
bool authorizeUrlAction(const QString &action, const KUrl &baseUrl, const KUrl &destUrl)
KUrl upUrl() const
int toInt(bool *ok, int base) const
void setObjectName(const QString &name)
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 setFocusProxy(QWidget *w)
bool isEmpty() const
const_iterator constEnd() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
bool endsWith(const QString &s, Qt::CaseSensitivity cs) const
void restoreState(QDataStream &stream)
Definition: kjavaappletviewer.cpp:511
virtual bool eventFilter(QObject *watched, QEvent *event)
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 hide()
void derefObject(QStringList &args)
Definition: kjavaappletcontext.cpp:269
virtual void setComponentData(const KComponentData &componentData)
void infoMessage(const QString &)
void loadingProgress(int percent)
QString right(int n) const
bool put(const unsigned long, const QString &field, const QString &value)
Definition: kjavaappletviewer.cpp:576
iterator end()
QString toLower() const
const QSize & size() const
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()
QString text() const
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
const Key key(const T &value) const
void showApplet()
Tells the AppletServer to create, initialize, and show the Applet.
Definition: kjavaappletwidget.cpp:70
static KAboutData * createAboutData()
Definition: kjavaappletviewer.cpp:474
void setFlags(QFlags< Qt::ItemFlag > flags)
AppletParameterDialog(KJavaAppletWidget *parent)
Definition: kjavaappletviewer.cpp:125
void endWaitForReturnData()
Definition: kjavaappletserver.cpp:716
Definition: kjavaappletviewer.h:82
bool isValid() const
KJavaAppletViewerLiveConnectExtension(KJavaAppletViewer *parent)
Definition: kjavaappletviewer.cpp:544
void partEvent(const unsigned long objid, const QString &event, const KParts::LiveConnectExtension::ArgList &args)
QString mid(int position, int n) const
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
QString absolutePath() const
KJavaAppletViewer(QWidget *wparent, QObject *parent, const QStringList &args)
Definition: kjavaappletviewer.cpp:232
const QChar at(int position) const
typedef ConstIterator
void setCaption(const QString &c)
int height() const
QTableWidgetItem * item(int row, int column) const
Definition: kjavaappletviewer.h:133
int length() const
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
virtual void resizeEvent(QResizeEvent *event)
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
Qt::ItemFlags flags() const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
rowCount
QObject * parent() const
const QDBusError & error()
QMap< QString, QString > & getParams()
Get a reference to the Parameters and their values.
Definition: kjavaapplet.cpp:103
iterator begin()
int size() const
virtual void mousePressEvent(QMouseEvent *ev)
int jsSessions() const
Definition: kjavaappletviewer.h:71
const T value(const Key &key) const
singleShot
void setHorizontalHeaderItem(int column, QTableWidgetItem *item)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.