diff --git a/tier4/frameworkintegration/CMakeLists.txt b/CMakeLists.txt similarity index 100% rename from tier4/frameworkintegration/CMakeLists.txt rename to CMakeLists.txt diff --git a/tier4/frameworkintegration/COPYING.LIB b/COPYING.LIB similarity index 100% rename from tier4/frameworkintegration/COPYING.LIB rename to COPYING.LIB diff --git a/tier4/frameworkintegration/Mainpage.dox b/Mainpage.dox similarity index 100% rename from tier4/frameworkintegration/Mainpage.dox rename to Mainpage.dox diff --git a/tier4/frameworkintegration/autotests/CMakeLists.txt b/autotests/CMakeLists.txt similarity index 100% rename from tier4/frameworkintegration/autotests/CMakeLists.txt rename to autotests/CMakeLists.txt diff --git a/tier4/frameworkintegration/autotests/kdeplatformtheme_changed_kdeglobals b/autotests/kdeplatformtheme_changed_kdeglobals similarity index 100% rename from tier4/frameworkintegration/autotests/kdeplatformtheme_changed_kdeglobals rename to autotests/kdeplatformtheme_changed_kdeglobals diff --git a/tier4/frameworkintegration/autotests/kdeplatformtheme_config.h.in b/autotests/kdeplatformtheme_config.h.in similarity index 100% rename from tier4/frameworkintegration/autotests/kdeplatformtheme_config.h.in rename to autotests/kdeplatformtheme_config.h.in diff --git a/tier4/frameworkintegration/autotests/kdeplatformtheme_kdeglobals b/autotests/kdeplatformtheme_kdeglobals similarity index 100% rename from tier4/frameworkintegration/autotests/kdeplatformtheme_kdeglobals rename to autotests/kdeplatformtheme_kdeglobals diff --git a/tier4/frameworkintegration/autotests/kdeplatformtheme_unittest.cpp b/autotests/kdeplatformtheme_unittest.cpp similarity index 100% rename from tier4/frameworkintegration/autotests/kdeplatformtheme_unittest.cpp rename to autotests/kdeplatformtheme_unittest.cpp diff --git a/tier4/frameworkintegration/autotests/kfontsettingsdata_unittest.cpp b/autotests/kfontsettingsdata_unittest.cpp similarity index 100% rename from tier4/frameworkintegration/autotests/kfontsettingsdata_unittest.cpp rename to autotests/kfontsettingsdata_unittest.cpp diff --git a/tier4/frameworkintegration/src/CMakeLists.txt b/src/CMakeLists.txt similarity index 100% rename from tier4/frameworkintegration/src/CMakeLists.txt rename to src/CMakeLists.txt diff --git a/tier4/frameworkintegration/src/platformtheme/CMakeLists.txt b/src/platformtheme/CMakeLists.txt similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/CMakeLists.txt rename to src/platformtheme/CMakeLists.txt diff --git a/tier4/frameworkintegration/src/platformtheme/kdeplatformfiledialoghelper.cpp b/src/platformtheme/kdeplatformfiledialoghelper.cpp similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/kdeplatformfiledialoghelper.cpp rename to src/platformtheme/kdeplatformfiledialoghelper.cpp diff --git a/tier4/frameworkintegration/src/platformtheme/kdeplatformfiledialoghelper.h b/src/platformtheme/kdeplatformfiledialoghelper.h similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/kdeplatformfiledialoghelper.h rename to src/platformtheme/kdeplatformfiledialoghelper.h diff --git a/tier4/frameworkintegration/src/platformtheme/kdeplatformtheme.cpp b/src/platformtheme/kdeplatformtheme.cpp similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/kdeplatformtheme.cpp rename to src/platformtheme/kdeplatformtheme.cpp diff --git a/tier4/frameworkintegration/src/platformtheme/kdeplatformtheme.h b/src/platformtheme/kdeplatformtheme.h similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/kdeplatformtheme.h rename to src/platformtheme/kdeplatformtheme.h diff --git a/tier4/frameworkintegration/src/platformtheme/kdeplatformtheme.json b/src/platformtheme/kdeplatformtheme.json similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/kdeplatformtheme.json rename to src/platformtheme/kdeplatformtheme.json diff --git a/tier4/frameworkintegration/src/platformtheme/kfontsettingsdata.cpp b/src/platformtheme/kfontsettingsdata.cpp similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/kfontsettingsdata.cpp rename to src/platformtheme/kfontsettingsdata.cpp diff --git a/tier4/frameworkintegration/src/platformtheme/kfontsettingsdata.h b/src/platformtheme/kfontsettingsdata.h similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/kfontsettingsdata.h rename to src/platformtheme/kfontsettingsdata.h diff --git a/tier4/frameworkintegration/src/platformtheme/khintssettings.cpp b/src/platformtheme/khintssettings.cpp similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/khintssettings.cpp rename to src/platformtheme/khintssettings.cpp diff --git a/tier4/frameworkintegration/src/platformtheme/khintssettings.h b/src/platformtheme/khintssettings.h similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/khintssettings.h rename to src/platformtheme/khintssettings.h diff --git a/tier4/frameworkintegration/src/platformtheme/main.cpp b/src/platformtheme/main.cpp similarity index 100% rename from tier4/frameworkintegration/src/platformtheme/main.cpp rename to src/platformtheme/main.cpp diff --git a/tier4/frameworkintegration/tests/CMakeLists.txt b/tests/CMakeLists.txt similarity index 100% rename from tier4/frameworkintegration/tests/CMakeLists.txt rename to tests/CMakeLists.txt diff --git a/tier4/frameworkintegration/tests/qfiledialogtest.cpp b/tests/qfiledialogtest.cpp similarity index 100% rename from tier4/frameworkintegration/tests/qfiledialogtest.cpp rename to tests/qfiledialogtest.cpp diff --git a/tier4/frameworkintegration/autotests/kstyle_unittest.cpp b/tier4/frameworkintegration/autotests/kstyle_unittest.cpp deleted file mode 100644 index 8638ad7..0000000 --- a/tier4/frameworkintegration/autotests/kstyle_unittest.cpp +++ /dev/null @@ -1,70 +0,0 @@ -/* This file is part of the KDE libraries - * Copyright 2013 Alejandro Fiestas Olivares - * - * This 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 of the License or ( at - * your option ) version 3 or, at the discretion of KDE e.V. ( which shall - * act as a proxy as in section 14 of the GPLv3 ), 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this library; see the file COPYING.LIB. If not, write to - * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - * Boston, MA 02110-1301, USA. - */ - -#include "kdeplatformtheme_config.h" -#include "kstyle.h" - -#include -#include -#include -#include -#include -#include -#include - -#include - -static void prepareEnvironment() -{ - QStandardPaths::setTestModeEnabled(true); - - QString configPath = QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation); - configPath.append("/kdeglobals"); - - QFile::remove(configPath); - QFile::copy(CONFIGFILE, configPath); -} - -Q_COREAPP_STARTUP_FUNCTION(prepareEnvironment); - -class KStyle_UnitTest : public QObject -{ - Q_OBJECT - private Q_SLOTS: - void initTestCase() - { - qApp->setStyle(new KStyle); - } - - void testToolButtonStyleHint() - { - QToolBar *toolbar = new QToolBar(); - QToolButton *btn = new QToolButton(toolbar); - - QCOMPARE(qApp->style()->styleHint(QStyle::SH_ToolButtonStyle, 0, btn), (int) Qt::ToolButtonTextOnly); - - toolbar->setProperty("otherToolbar", true); - QCOMPARE(qApp->style()->styleHint(QStyle::SH_ToolButtonStyle, 0, btn), (int) Qt::ToolButtonTextUnderIcon); - } -}; - -QTEST_MAIN(KStyle_UnitTest) - -#include "kstyle_unittest.moc" \ No newline at end of file diff --git a/tier4/frameworkintegration/src/infopage/CMakeLists.txt b/tier4/frameworkintegration/src/infopage/CMakeLists.txt deleted file mode 100644 index dc2328f..0000000 --- a/tier4/frameworkintegration/src/infopage/CMakeLists.txt +++ /dev/null @@ -1,27 +0,0 @@ -install(FILES - body-background.png - bar-bottom-left.png - bar-top-right.png - bar-bottom-middle.png -# bottom-left.png - box-middle-left.png -# top-right.png - bar-bottom-right.png -# bottom-middle.png - box-middle-right.png - top-middle.png - bar-middle-left.png -# bottom-right.png - box-top-left.png - bar-middle-right.png - box-bottom-left.png - box-top-middle.png - bar-top-left.png - box-bottom-middle.png - box-top-right.png - bar-top-middle.png - box-bottom-right.png - box-center.png - kde_infopage.css - kde_infopage_rtl.css - DESTINATION ${DATA_INSTALL_DIR}/kf5/infopage) diff --git a/tier4/frameworkintegration/src/infopage/about.svgz b/tier4/frameworkintegration/src/infopage/about.svgz deleted file mode 100644 index 4bdafd5..0000000 Binary files a/tier4/frameworkintegration/src/infopage/about.svgz and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-bottom-left.png b/tier4/frameworkintegration/src/infopage/bar-bottom-left.png deleted file mode 100644 index 9810bc1..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-bottom-left.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-bottom-middle.png b/tier4/frameworkintegration/src/infopage/bar-bottom-middle.png deleted file mode 100644 index b4e72fd..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-bottom-middle.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-bottom-right.png b/tier4/frameworkintegration/src/infopage/bar-bottom-right.png deleted file mode 100644 index 9810bc1..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-bottom-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-middle-left.png b/tier4/frameworkintegration/src/infopage/bar-middle-left.png deleted file mode 100644 index 31c3c14..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-middle-left.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-middle-right.png b/tier4/frameworkintegration/src/infopage/bar-middle-right.png deleted file mode 100644 index 19d0a43..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-middle-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-top-left.png b/tier4/frameworkintegration/src/infopage/bar-top-left.png deleted file mode 100644 index 9810bc1..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-top-left.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-top-middle.png b/tier4/frameworkintegration/src/infopage/bar-top-middle.png deleted file mode 100644 index 397f914..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-top-middle.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bar-top-right.png b/tier4/frameworkintegration/src/infopage/bar-top-right.png deleted file mode 100644 index 9810bc1..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bar-top-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/body-background.png b/tier4/frameworkintegration/src/infopage/body-background.png deleted file mode 100644 index b840d41..0000000 Binary files a/tier4/frameworkintegration/src/infopage/body-background.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bottom-left.png b/tier4/frameworkintegration/src/infopage/bottom-left.png deleted file mode 100644 index a2d8a49..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bottom-left.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bottom-middle.png b/tier4/frameworkintegration/src/infopage/bottom-middle.png deleted file mode 100644 index 3f153a9..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bottom-middle.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/bottom-right.png b/tier4/frameworkintegration/src/infopage/bottom-right.png deleted file mode 100644 index 01d5cd5..0000000 Binary files a/tier4/frameworkintegration/src/infopage/bottom-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-bottom-left.png b/tier4/frameworkintegration/src/infopage/box-bottom-left.png deleted file mode 100644 index 54dbdc7..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-bottom-left.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-bottom-middle.png b/tier4/frameworkintegration/src/infopage/box-bottom-middle.png deleted file mode 100644 index 9133c1b..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-bottom-middle.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-bottom-right.png b/tier4/frameworkintegration/src/infopage/box-bottom-right.png deleted file mode 100644 index 6a36275..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-bottom-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-center.png b/tier4/frameworkintegration/src/infopage/box-center.png deleted file mode 100644 index 36917b5..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-center.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-middle-left.png b/tier4/frameworkintegration/src/infopage/box-middle-left.png deleted file mode 100644 index b944999..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-middle-left.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-middle-right.png b/tier4/frameworkintegration/src/infopage/box-middle-right.png deleted file mode 100644 index 5fc3071..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-middle-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-top-left.png b/tier4/frameworkintegration/src/infopage/box-top-left.png deleted file mode 100644 index 66caac3..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-top-left.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-top-middle.png b/tier4/frameworkintegration/src/infopage/box-top-middle.png deleted file mode 100644 index e5cae04..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-top-middle.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/box-top-right.png b/tier4/frameworkintegration/src/infopage/box-top-right.png deleted file mode 100644 index 5a5a431..0000000 Binary files a/tier4/frameworkintegration/src/infopage/box-top-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/kde_infopage.css b/tier4/frameworkintegration/src/infopage/kde_infopage.css deleted file mode 100644 index e13e5ee..0000000 --- a/tier4/frameworkintegration/src/infopage/kde_infopage.css +++ /dev/null @@ -1,261 +0,0 @@ - -/* - * text styles - */ - -img {margin: 0px; padding: 0px} -body {margin: 0px; padding: 0px; background-color: #062A4B; background-image: url(body-background.png); color: #111111; height="100%"; width="100%"} -a { color: #1A2C36; text-decoration: none; font-weight: bold; } -a:hover { - color: #003B5A; - text-decoration: none; - text-shadow: #FFFFFF 0px 0px 6px; -} - - -#subtext { - font-size: 10pt; - font-style: italic; -} - -#nextlink { - margin: 0px; - padding-top: 1em; - text-align: center; - font-size: 10pt; -} - -/* - * the header - */ - -#header { - background-image: url(top-middle.png); - width: 100%; - height: 131px; -} - -#headerL { - position: absolute; - left: 0px; - height: 131px; - width: 147px; - z-index: 1; -} - -#headerR { - position: absolute; - right: 0px; - width: 430px; - height: 131px; - /*background-image: url(top-right.png);*/ -} - -/* title and tagline are part of the header diff */ -#title { - position: absolute; - top: 63px; - right: 0px; - margin-top: -1em; - margin-right: 5%; - text-align: right; - font-size: xx-large; - font-weight: bold; - text-shadow: #FFFFFF 0px 0px 5px; - color: #151515; - z-index: 5; -} - -#tagline { - position: absolute; - top: 70px; - right: 0px; - margin-right: 5%; - text-align: right; - font-size: large; - font-weight: bold; - text-shadow: #FFFFFF 0px 0px 5px; - color: #151515; - z-index: 5; -} - -/* - * the nav bar - */ - -#bar { - width: 100%; -} - -#barCenter { - text-align: center; - /*background-color: #F5F5F4;*/ - color: #B0B0B0; - padding-top: 0.5ex; - padding-bottom: 0.5ex; - font-weight: bold; - font-size: small; -} - -#barCenter a.selected, #barCenter a.selected:hover { - color: #B0B0B0; - text-decoration: none; - text-shadow: #ADC1DF 0px 0px 5px; -} - - -#barCenter li a:link, #barCenter li a:visited, #barCenter li a:active { - color: #B0B0B0; - text-decoration: none; - text-shadow: none; -} - -#barCenter li a:hover { - color: #B0B0B0; - text-decoration: none; - text-shadow: #ADC1DF 0px 0px 6px; -} - -#barCenter ul { - margin: 0; - padding: 0; -} - -#barCenter li { - display: inline; -} - -#barCenter li:not(:first-child):before { /* Aren't css3 selectors great? */ - content: " \0387 "; /* unicode for · */ -} - -/* - * the main box - */ - -#box { - width: 90%; - margin-left: 5%; - margin-right: 5%; - margin-top: 10px; - margin-bottom: 10px; -} - -#boxT { - width: 100%; - height: 16px; -} - -#boxTL { - width: 16px; - height: 16px; - float: left; - background-image: url(box-top-left.png); -} - -#boxTR { - width: 16px; - height: 16px; - float: right; - background-image: url(box-top-right.png); -} - -#boxTC { - height: 16px; - margin-left: 16px; - margin-right: 16px; - background-image: url(box-top-middle.png); - -khtml-background-size: 100%; - background-size: 100% 100%; -} - -#boxL { - background-image: url(box-middle-left.png); - background-repeat: repeat-y; - -khtml-background-size: 16px 100%; - background-size: 16px 100%; - background-position: left; - padding-left: 16px; -} - -#boxCenter { - background-image: url(box-center.png); - background-position: center; - background-repeat: no-repeat; - -khtml-background-size: 100%; - background-size: 100% 100%; - text-align: left; -} - -#boxR { - background-image: url(box-middle-right.png); - background-repeat: repeat-y; - -khtml-background-size: 16px 100%; - background-size: 16px 100%; - background-position: right; - padding-right: 16px; -} - -#boxB { - width: 100%; - height: 49px; -} - -#boxBL { - width: 16px; - height: 16px; - float: left; - background-image: url(box-bottom-left.png); -} - -#boxBR { - width: 16px; - height: 16px; - float: right; - background-image: url(box-bottom-right.png); -} - -#boxBC { - height: 16px; - margin-left: 16px; - margin-right: 16px; - background-image: url(box-bottom-middle.png); - -khtml-background-size: 100%; - background-size: 100% 100%; - background-repeat: no-repeat; -} - -/* - * the footer - */ - -/* -#footer { - position: fixed; - background-image: url(bottom-middle.png); - width: 100%; - height: 100px; - z-index: -2; - bottom:0; -} - -#footerL { - position: fixed; - background-image: url(bottom-left.png); - left: 0px; - width: 155px; - height: 100px; - z-index: -2; -} - -#footerR { - position: fixed; - background-image: url(bottom-right.png); - right: 0px; - width: 429px; - height: 100px; - z-index: -1; -} -*/ - -/* vim:set sw=2 et nocindent smartindent: */ diff --git a/tier4/frameworkintegration/src/infopage/kde_infopage_rtl.css b/tier4/frameworkintegration/src/infopage/kde_infopage_rtl.css deleted file mode 100644 index 0033301..0000000 --- a/tier4/frameworkintegration/src/infopage/kde_infopage_rtl.css +++ /dev/null @@ -1,11 +0,0 @@ -body {direction: rtl} - -#boxCenter { - text-align: right; -} - -#nextlink { - text-align: left; -} - -/* vim:set sw=2 et nocindent smartindent: */ diff --git a/tier4/frameworkintegration/src/infopage/top-middle.png b/tier4/frameworkintegration/src/infopage/top-middle.png deleted file mode 100644 index 05dd59f..0000000 Binary files a/tier4/frameworkintegration/src/infopage/top-middle.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/top-right.png b/tier4/frameworkintegration/src/infopage/top-right.png deleted file mode 100644 index 8b0061e..0000000 Binary files a/tier4/frameworkintegration/src/infopage/top-right.png and /dev/null differ diff --git a/tier4/frameworkintegration/src/infopage/usage-example.html b/tier4/frameworkintegration/src/infopage/usage-example.html deleted file mode 100644 index fd78d8c..0000000 --- a/tier4/frameworkintegration/src/infopage/usage-example.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - - - - - - %1 - - - -