-rw-r--r-- | core/settings/launcher/tabssettings.cpp | 11 | ||||
-rw-r--r-- | core/settings/launcher/tabssettings.h | 2 |
2 files changed, 11 insertions, 2 deletions
diff --git a/core/settings/launcher/tabssettings.cpp b/core/settings/launcher/tabssettings.cpp index 42f0568..fca6b20 100644 --- a/core/settings/launcher/tabssettings.cpp +++ b/core/settings/launcher/tabssettings.cpp @@ -86,2 +86,5 @@ TabsSettings::TabsSettings ( QWidget *parent, const char *name ) + m_staticbackground = new QCheckBox( tr( "Enable static background pixmap" ), this ); + lay->addMultiCellWidget( m_staticbackground, 7, 7, 0, 1 ); + p1-> setEnabled ( false ); @@ -97,2 +100,3 @@ TabsSettings::TabsSettings ( QWidget *parent, const char *name ) QWhatsThis::add ( m_busyani, tr( "Activate this, if you want an animatedbusy indicator for starting applications in the Launcher." )); + QWhatsThis::add ( m_staticbackground, tr( "Activate this, if you want the background pixmap not to scroll with the icons." )); } @@ -124,2 +128,3 @@ void TabsSettings::init ( ) m_bigbusy->setChecked( cfg. readBoolEntry ( "BigBusy" ) ); + m_staticbackground->setChecked( cfg.readBoolEntry( "StaticBackground", true ) ); } @@ -281,4 +286,4 @@ void TabsSettings::accept ( ) cfg. writeEntry ( "BusyType", busytype ); - cfg. writeEntry ( "BigBusy", m_bigbusy->isChecked( ) ); + cfg. writeEntry ( "StaticBackground", m_staticbackground->isChecked( ) ); @@ -288,2 +293,6 @@ void TabsSettings::accept ( ) } + { + QCopEnvelope e ( "QPE/Launcher", "setStaticBackground(bool)" ); + e << m_staticbackground->isChecked(); + } } diff --git a/core/settings/launcher/tabssettings.h b/core/settings/launcher/tabssettings.h index 600c65c..bbe1e72 100644 --- a/core/settings/launcher/tabssettings.h +++ b/core/settings/launcher/tabssettings.h @@ -61,3 +61,3 @@ private: QMap <QString, TabConfig> m_tabs; - QCheckBox *m_busyani, *m_bigbusy; + QCheckBox *m_busyani, *m_bigbusy, *m_staticbackground; }; |