[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/shells/screensaver
From: Chani Armitage <chanika () gmail ! com>
Date: 2008-12-28 0:54:48
Message-ID: 1230425688.013498.31765.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 902303 by chani:
remove dead code
M +0 -24 plasmaapp.cpp
--- trunk/KDE/kdebase/workspace/plasma/shells/screensaver/plasmaapp.cpp #902302:902303
@@ -510,30 +510,6 @@
m_configDialog = 0;
}
-/*
-void PlasmaApp::createConfigurationInterface(KConfigDialog *parent)
-{
- //FIXME put this stuff into BackgroundDialog
- QWidget *widget = new QWidget();
- ui.setupUi(widget);
- parent->setWindowTitle(i18nc("@title:window", "Settings"));
- parent->setButtons( KDialog::Ok | KDialog::Cancel | KDialog::Apply );
- parent->addPage(widget, parent->windowTitle());
- connect(parent, SIGNAL(applyClicked()), this, SLOT(configAccepted()));
- connect(parent, SIGNAL(okClicked()), this, SLOT(configAccepted()));
- ui.activeSlider->setValue(m_activeOpacity * 10);
- ui.idleSlider->setValue(m_idleOpacity * 10);
- //TODO tell non-composite users they won't get anything other than 0 or 100%
- //and generally prettify the UI
-}
-
-void PlasmaApp::configAccepted()
-{
- setActiveOpacity(ui.activeSlider->value() / 10.0);
- setIdleOpacity(ui.idleSlider->value() / 10.0);
-}
-*/
-
void PlasmaApp::lock()
{
if (corona() && corona()->immutability() == Plasma::Mutable) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic