aboutsummaryrefslogtreecommitdiff
path: root/lumina-desktop/panel-plugins/systemstart/LStartButton.h
diff options
context:
space:
mode:
Diffstat (limited to 'lumina-desktop/panel-plugins/systemstart/LStartButton.h')
-rw-r--r--lumina-desktop/panel-plugins/systemstart/LStartButton.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lumina-desktop/panel-plugins/systemstart/LStartButton.h b/lumina-desktop/panel-plugins/systemstart/LStartButton.h
index 61a43731..6a9cdaba 100644
--- a/lumina-desktop/panel-plugins/systemstart/LStartButton.h
+++ b/lumina-desktop/panel-plugins/systemstart/LStartButton.h
@@ -40,6 +40,7 @@ private:
QWidgetAction *mact;
StartMenu *startmenu;
QToolButton *button;
+ QList<QToolButton*> QUICKL;
private slots:
void openMenu();
@@ -47,14 +48,19 @@ private slots:
void updateButtonVisuals();
+ void updateQuickLaunch(QStringList);
+ void LaunchQuick(QAction*);
+
public slots:
void OrientationChange(){
if(this->layout()->direction()==QBoxLayout::LeftToRight){
this->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding);
button->setIconSize( QSize(this->height(), this->height()) );
+ for(int i=0; i<QUICKL.length(); i++){ QUICKL[i]->setIconSize(QSize(this->height(), this->height())); }
}else{
this->setSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::Preferred);
button->setIconSize( QSize(this->width(), this->width()) );
+ for(int i=0; i<QUICKL.length(); i++){ QUICKL[i]->setIconSize(QSize(this->width(), this->width())); }
}
this->layout()->update();
updateButtonVisuals();
bgstack15