remove lxqtleave from liblxqt
authorAlf Gaida <agaida@siduction.org>
Thu, 15 Jan 2015 00:57:46 +0000 (01:57 +0100)
committerAlf Gaida <agaida@siduction.org>
Thu, 15 Jan 2015 00:57:46 +0000 (01:57 +0100)
21 files changed:
CMakeLists.txt
lxqtleave/CMakeLists.txt [deleted file]
lxqtleave/main.cpp [deleted file]
lxqtleave/resources/lxqt-hibernate.desktop.in [deleted file]
lxqtleave/resources/lxqt-lockscreen.desktop.in [deleted file]
lxqtleave/resources/lxqt-logout.desktop.in [deleted file]
lxqtleave/resources/lxqt-reboot.desktop.in [deleted file]
lxqtleave/resources/lxqt-shutdown.desktop.in [deleted file]
lxqtleave/resources/lxqt-suspend.desktop.in [deleted file]
lxqtleave/translations/lxqt-hibernate_de.desktop [deleted file]
lxqtleave/translations/lxqt-hibernate_pt.desktop [deleted file]
lxqtleave/translations/lxqt-lockscreen_de.desktop [deleted file]
lxqtleave/translations/lxqt-lockscreen_pt.desktop [deleted file]
lxqtleave/translations/lxqt-logout_de.desktop [deleted file]
lxqtleave/translations/lxqt-logout_pt.desktop [deleted file]
lxqtleave/translations/lxqt-reboot_de.desktop [deleted file]
lxqtleave/translations/lxqt-reboot_pt.desktop [deleted file]
lxqtleave/translations/lxqt-shutdown_de.desktop [deleted file]
lxqtleave/translations/lxqt-shutdown_pt.desktop [deleted file]
lxqtleave/translations/lxqt-suspend_de.desktop [deleted file]
lxqtleave/translations/lxqt-suspend_pt.desktop [deleted file]

index 6b60ba8..e2cfe42 100644 (file)
@@ -348,5 +348,3 @@ set(CPACK_SOURCE_GENERATOR TBZ2)
 set(CPACK_SOURCE_IGNORE_FILES /build/;.gitignore;.*~;.git;.kdev4;temp)
 include(CPack)
 
-# lxqt-leave executable
-add_subdirectory(lxqtleave)
diff --git a/lxqtleave/CMakeLists.txt b/lxqtleave/CMakeLists.txt
deleted file mode 100644 (file)
index 6932b57..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-cmake_minimum_required(VERSION 2.8.11)
-project(lxqt-leave)
-
-set(CPP_FILES
-    main.cpp
-)
-
-
-# Translations **********************************
-include(LXQtTranslate)
-lxqt_translate_desktop(DESKTOP_FILES
-    SOURCES
-    resources/lxqt-hibernate.desktop.in
-    resources/lxqt-lockscreen.desktop.in
-    resources/lxqt-logout.desktop.in
-    resources/lxqt-reboot.desktop.in
-    resources/lxqt-shutdown.desktop.in
-    resources/lxqt-suspend.desktop.in
-)
-#************************************************
-
-
-add_executable(lxqt-leave
-    ${CPP_FILES}
-    ${DESKTOP_FILES}
-)
-
-target_link_libraries(lxqt-leave
-    ${LXQT_LIBRARIES}
-    ${LXQT_LIBRARY_NAME}
-)
-
-install(TARGETS lxqt-leave RUNTIME DESTINATION bin)
-install(FILES ${DESKTOP_FILES} DESTINATION share/applications)
-
diff --git a/lxqtleave/main.cpp b/lxqtleave/main.cpp
deleted file mode 100644 (file)
index 539fedd..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-/* BEGIN_COMMON_COPYRIGHT_HEADER
- * (c)LGPL2+
- *
- * LXDE-Qt - a lightweight, Qt based, desktop toolset
- * http://razor-qt.org
- *
- * Copyright: 2010-2011 Razor team
- * Authors:
- *   Petr Vanek <petr@scribus.info>
- *
- * This program or library is free software; you can redistribute it
- * and/or modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 2.1 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Lesser General Public License for more details.
-
- * You should have received a copy of the GNU Lesser General
- * Public License along with this library; if not, write to the
- * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301 USA
- *
- * END_COMMON_COPYRIGHT_HEADER */
-
-#include "../lxqtapplication.h"
-#include "../lxqtpowermanager.h"
-#include "../lxqtscreensaver.h"
-#include "../lxqttranslator.h"
-
-int main(int argc, char *argv[])
-{
-    LxQt::Application a(argc,argv);
-    LxQt::Translator::translateApplication();
-
-    LxQt::PowerManager powermanager(&a);
-    LxQt::ScreenSaver screensaver(&a);
-    for (int i=1; i < argc; ++i)
-    {
-        QString arg = QString::fromLocal8Bit(argv[i]);
-
-        if (arg == "--logout")
-        {
-            powermanager.logout();
-            return 0;
-        }
-        if (arg == "--suspend")
-        {
-            powermanager.suspend();
-            return 0;
-        }
-        if (arg == "--hibernate")
-        {
-            powermanager.hibernate();
-            return 0;
-        }
-        if (arg == "--shutdown")
-        {
-            powermanager.shutdown();
-            return 0;
-        }
-        if (arg == "--reboot")
-        {
-            powermanager.reboot();
-            return 0;
-        }
-        if (arg == "--lockscreen")
-        {
-            a.connect(&screensaver,SIGNAL(done()),&a,SLOT(quit()));
-            screensaver.lockScreen();
-            a.exec();
-            return 0;
-        }
-    }
-}
diff --git a/lxqtleave/resources/lxqt-hibernate.desktop.in b/lxqtleave/resources/lxqt-hibernate.desktop.in
deleted file mode 100644 (file)
index 140db64..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Hibernate
-GenericName=Hibernate
-Comment=hibernate the machine
-Exec=lxqt-leave --hibernate
-Icon=system-suspend-hibernate
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
-
-#TRANSLATIONS_DIR=../translations
diff --git a/lxqtleave/resources/lxqt-lockscreen.desktop.in b/lxqtleave/resources/lxqt-lockscreen.desktop.in
deleted file mode 100644 (file)
index b94f67f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Lock Screen
-GenericName=Lock Screen
-Comment=Lock the current session
-Exec=lxqt-leave --lockscreen
-Icon=system-lock-screen
-Categories=LXQt;Screensaver
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
diff --git a/lxqtleave/resources/lxqt-logout.desktop.in b/lxqtleave/resources/lxqt-logout.desktop.in
deleted file mode 100644 (file)
index fda3a95..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Logout
-GenericName=Logout
-Comment=Logout from the current session
-Exec=lxqt-leave --logout
-Icon=system-log-out
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
diff --git a/lxqtleave/resources/lxqt-reboot.desktop.in b/lxqtleave/resources/lxqt-reboot.desktop.in
deleted file mode 100644 (file)
index 5b0e160..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Reboot
-GenericName=Reboot
-Comment=reboot the machine
-Exec=lxqt-leave --reboot
-Icon=system-reboot
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
diff --git a/lxqtleave/resources/lxqt-shutdown.desktop.in b/lxqtleave/resources/lxqt-shutdown.desktop.in
deleted file mode 100644 (file)
index 57eb60b..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Shutdown
-GenericName=Shutdown
-Comment=shutdown the machine
-Exec=lxqt-leave --shutdown
-Icon=system-shutdown
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
diff --git a/lxqtleave/resources/lxqt-suspend.desktop.in b/lxqtleave/resources/lxqt-suspend.desktop.in
deleted file mode 100644 (file)
index ac0d2f3..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Suspend
-GenericName=Suspend
-Comment=suspend the machine
-Exec=lxqt-leave --suspend
-Icon=system-suspend
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
-
-#TRANSLATIONS_DIR=../translations
diff --git a/lxqtleave/translations/lxqt-hibernate_de.desktop b/lxqtleave/translations/lxqt-hibernate_de.desktop
deleted file mode 100644 (file)
index 74e3dbf..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Hibernate
-GenericName=Hibernate
-Comment=hibernate the machine
-Exec=lxqt-leave --hibernate
-Icon=system-suspend-hibernate
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Comment[de]=Rechner in Tiefschlaf versetzen
-Name[de]=Tiefschlaf
diff --git a/lxqtleave/translations/lxqt-hibernate_pt.desktop b/lxqtleave/translations/lxqt-hibernate_pt.desktop
deleted file mode 100644 (file)
index 38370d9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Hibernate
-GenericName=Hibernate
-Comment=hibernate the machine
-Exec=lxqt-leave --hibernate
-Icon=system-suspend-hibernate
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Name[pt]=Hibernar
-Comment[pt]=Hibernar o computador
diff --git a/lxqtleave/translations/lxqt-lockscreen_de.desktop b/lxqtleave/translations/lxqt-lockscreen_de.desktop
deleted file mode 100644 (file)
index 448d934..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Lock Screen
-GenericName=Lock Screen
-Comment=Lock the current session
-Exec=lxqt-leave --lockscreen
-Icon=system-lock-screen
-Categories=LXQt;Screensaver
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-
-# Translations
-Comment[de]=aktuelle Sitzung sperren
-Name[de]=Bildschirm sperren
diff --git a/lxqtleave/translations/lxqt-lockscreen_pt.desktop b/lxqtleave/translations/lxqt-lockscreen_pt.desktop
deleted file mode 100644 (file)
index d3d1626..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Lock Screen
-GenericName=Lock Screen
-Comment=Lock the current session
-Exec=lxqt-leave --lockscreen
-Icon=system-lock-screen
-Categories=LXQt;Screensaver
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Name[pt]=Bloquear
-Comment[pt]=Bloquear a sessão atual
diff --git a/lxqtleave/translations/lxqt-logout_de.desktop b/lxqtleave/translations/lxqt-logout_de.desktop
deleted file mode 100644 (file)
index 65e57f6..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Logout
-GenericName=Logout
-Comment=Logout from the current session
-Exec=lxqt-leave --logout
-Icon=system-log-out
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Comment[de]=Sitzung beenden
-Name[de]=Abmelden
diff --git a/lxqtleave/translations/lxqt-logout_pt.desktop b/lxqtleave/translations/lxqt-logout_pt.desktop
deleted file mode 100644 (file)
index b36769a..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Logout
-GenericName=Logout
-Comment=Logout from the current session
-Exec=lxqt-leave --logout
-Icon=system-log-out
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Name[pt]=Sair
-Comment[pt]=Sair da sessão
\ No newline at end of file
diff --git a/lxqtleave/translations/lxqt-reboot_de.desktop b/lxqtleave/translations/lxqt-reboot_de.desktop
deleted file mode 100644 (file)
index 4c0d386..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Reboot
-GenericName=Reboot
-Comment=reboot the machine
-Exec=lxqt-leave --reboot
-Icon=system-reboot
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Comment[de]=Rechner neustarten
-Name[de]=Neustart
diff --git a/lxqtleave/translations/lxqt-reboot_pt.desktop b/lxqtleave/translations/lxqt-reboot_pt.desktop
deleted file mode 100644 (file)
index b75ec62..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Reboot
-GenericName=Reboot
-Comment=reboot the machine
-Exec=lxqt-leave --reboot
-Icon=system-reboot
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Name[pt]=Reiniciar
-Comment[pt]=Reiniciar o computador
diff --git a/lxqtleave/translations/lxqt-shutdown_de.desktop b/lxqtleave/translations/lxqt-shutdown_de.desktop
deleted file mode 100644 (file)
index d656d3d..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Shutdown
-GenericName=Shutdown
-Comment=shutdown the machine
-Exec=lxqt-leave --shutdown
-Icon=system-shutdown
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Comment[de]=Rechner herunterfahren
-Name[de]=Herunterfahren
diff --git a/lxqtleave/translations/lxqt-shutdown_pt.desktop b/lxqtleave/translations/lxqt-shutdown_pt.desktop
deleted file mode 100644 (file)
index 3d6c229..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Shutdown
-GenericName=Shutdown
-Comment=shutdown the machine
-Exec=lxqt-leave --shutdown
-Icon=system-shutdown
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt;
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Name[pt]=Desligar
-Comment[pt]=Desligar o computador
diff --git a/lxqtleave/translations/lxqt-suspend_de.desktop b/lxqtleave/translations/lxqt-suspend_de.desktop
deleted file mode 100644 (file)
index 21906e2..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Suspend
-GenericName=Suspend
-Comment=suspend the machine
-Exec=lxqt-leave --suspend
-Icon=system-suspend
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Comment[de]=Rechner in Bereitschaftsmodus versetzen
-Name[de]=Bereitschaft
diff --git a/lxqtleave/translations/lxqt-suspend_pt.desktop b/lxqtleave/translations/lxqt-suspend_pt.desktop
deleted file mode 100644 (file)
index 713b2cc..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Suspend
-GenericName=Suspend
-Comment=suspend the machine
-Exec=lxqt-leave --suspend
-Icon=system-suspend
-Categories=LXQt;X-Leave
-OnlyShowIn=LXQt
-
-#TRANSLATIONS_DIR=../translations
-
-# Translations
-Name[pt]=Suspender
-Comment[pt]=Suspender o computador