applet -> widget

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=871125
This commit is contained in:
Aaron J. Seigo 2008-10-13 23:16:22 +00:00
parent 8cc7800aae
commit 2118460d27
3 changed files with 6 additions and 6 deletions

View File

@ -550,7 +550,7 @@ QString Applet::name() const
return i18n("%1 Activity", c->activity());
}
} else if (!d->appletDescription.isValid()) {
return i18n("Unknown Applet");
return i18n("Unknown Widget");
}
return d->appletDescription.name();

View File

@ -146,14 +146,14 @@ void Containment::init()
appletBrowserAction->setShortcut(QKeySequence("ctrl+a"));
d->actions().addAction("add widgets", appletBrowserAction);
QAction *action = new QAction(i18n("Next Applet"), this);
QAction *action = new QAction(i18n("Next Widget"), this);
//no icon
connect(action, SIGNAL(triggered()), this, SLOT(focusNextApplet()));
action->setShortcutContext(Qt::WidgetShortcut);
action->setShortcut(QKeySequence("ctrl+n"));
d->actions().addAction("next applet", action);
action = new QAction(i18n("Previous Applet"), this);
action = new QAction(i18n("Previous Widget"), this);
//no icon
connect(action, SIGNAL(triggered()), this, SLOT(focusPreviousApplet()));
action->setShortcutContext(Qt::WidgetShortcut);

View File

@ -73,7 +73,7 @@ GLApplet::GLApplet(QGraphicsItem *parent,
if (!d->dummy->isValid() ||
!QGLPixelBuffer::hasOpenGLPbuffers() ||
!d->pbuf->isValid()) {
setFailedToLaunch(true, i18n("This system does not support OpenGL applets."));
setFailedToLaunch(true, i18n("This system does not support OpenGL widgets."));
}
}
@ -84,7 +84,7 @@ GLApplet::GLApplet(QObject *parent, const QVariantList &args)
if (!d->dummy->isValid() ||
!QGLPixelBuffer::hasOpenGLPbuffers() ||
!d->pbuf->isValid()) {
setFailedToLaunch(true, i18n("This system does not support OpenGL applets."));
setFailedToLaunch(true, i18n("This system does not support OpenGL widgets."));
}
}
@ -181,7 +181,7 @@ void GLApplet::paintInterface(QPainter *painter,
if ((!d->dummy->isValid() ||
!d->pbuf->isValid())) {
if (!hasFailedToLaunch()) {
setFailedToLaunch(true, i18n("Your machine does not support OpenGL applets."));
setFailedToLaunch(true, i18n("Your machine does not support OpenGL widgets."));
}
return;