diff options
author | Ken Moore <ken@ixsystems.com> | 2017-08-22 13:35:07 -0400 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2017-08-22 13:35:07 -0400 |
commit | ca225b7bd525ea961bf5aec2fa3f8c05e8307e4e (patch) | |
tree | d8b6aaae4fa06528c9760babdce896c374c563af /src-qt5/core-utils/lumina-xconfig/ScreenSettings.h | |
parent | Add the ability to generate symlinks in the Desktop folder the first time Lum... (diff) | |
download | lumina-ca225b7bd525ea961bf5aec2fa3f8c05e8307e4e.tar.gz lumina-ca225b7bd525ea961bf5aec2fa3f8c05e8307e4e.tar.bz2 lumina-ca225b7bd525ea961bf5aec2fa3f8c05e8307e4e.zip |
Get 90% of the work for adding profiles to lumina-xconfig finished.
Still need to work out a few small issues when loading a profile into the preview pane.
Diffstat (limited to 'src-qt5/core-utils/lumina-xconfig/ScreenSettings.h')
-rw-r--r-- | src-qt5/core-utils/lumina-xconfig/ScreenSettings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h index b1b9cad9..ab480a97 100644 --- a/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h +++ b/src-qt5/core-utils/lumina-xconfig/ScreenSettings.h @@ -42,9 +42,12 @@ public: //Read the current screen config from xrandr static QList<ScreenInfo> CurrentScreens(); //reads xrandr information + static QList<ScreenInfo> PreviousSettings(QString profile=""); + static QStringList savedProfiles(); + static void removeProfile(QString profile); //Save the screen config for later - static bool SaveScreens(QList<ScreenInfo> screens); + static bool SaveScreens(QList<ScreenInfo> screens, QString profile = ""); //Apply screen configuration static void Apply(QList<ScreenInfo> screens); |