KHTML
Go to the documentation of this file.
29 #include <QtGui/QLabel>
32 #define QXEmbed QWidget
36 class KJavaAppletWidgetPrivate
47 d(new KJavaAppletWidgetPrivate)
53 d->tmplabel =
new QLabel(
this );
55 d->tmplabel->setAlignment( Qt::AlignCenter );
56 d->tmplabel->setWordWrap(
true );
57 d->tmplabel->setFrameStyle( QFrame::StyledPanel | QFrame::Sunken );
60 m_swallowTitle.sprintf(
"KJAS Applet - Ticket number %u",
appletCount++ );
89 if ( m_swallowTitle == w_info.
name() ||
92 kDebug(6100) <<
"swallowing our window: " << m_swallowTitle
93 <<
", window id = " << w << endl;
111 kDebug(6100) <<
"KJavaAppletWidget::sizeHint()";
114 if( rval.width() == 0 || rval.height() == 0 )
116 if( width() != 0 && height() != 0 )
118 rval =
QSize( width(), height() );
122 kDebug(6100) <<
"returning: (" << rval.width() <<
", " << rval.height() <<
")";
131 d->tmplabel->resize( w, h );
140 if (!
applet()->isCreated() && !
applet()->appletClass().isEmpty()) {
142 if (
applet()->size().width() <= 0)
148 #include "kjavaappletwidget.moc"
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 23 2013 20:44:27 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.