mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-05-04 20:33:48 +00:00
Compare commits
3 Commits
b157b0f898
...
ee7bd90aae
Author | SHA1 | Date | |
---|---|---|---|
ee7bd90aae | |||
f79c94e9e2 | |||
66baa78cda |
@ -1,5 +1,10 @@
|
|||||||
Ver.4.0.0:
|
Ver.4.0.0:
|
||||||
* migration to plasma 6
|
* migration to plasma 6
|
||||||
|
* dialog windows have been replaced by notifications
|
||||||
|
+ $gpuN keys have been added
|
||||||
|
+ new key $ssid
|
||||||
|
- $cuptime key has been removed in favour of $uptime
|
||||||
|
- $gputemp key has been replaced by $gpuN
|
||||||
|
|
||||||
Ver.3.5.0:
|
Ver.3.5.0:
|
||||||
+ wayland support
|
+ wayland support
|
||||||
|
@ -15,7 +15,9 @@
|
|||||||
* along with awesome-widgets. If not, see http://www.gnu.org/licenses/ *
|
* along with awesome-widgets. If not, see http://www.gnu.org/licenses/ *
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
#define NDEBUG
|
||||||
|
#endif /* NDEBUG */
|
||||||
#include <KI18n/KLocalizedString>
|
#include <KI18n/KLocalizedString>
|
||||||
|
|
||||||
#include "awdebug.h"
|
#include "awdebug.h"
|
||||||
|
@ -17,6 +17,9 @@
|
|||||||
|
|
||||||
#include "awupdatehelper.h"
|
#include "awupdatehelper.h"
|
||||||
|
|
||||||
|
#ifndef NDEBUG
|
||||||
|
#define NDEBUG
|
||||||
|
#endif /* NDEBUG */
|
||||||
#include <KI18n/KLocalizedString>
|
#include <KI18n/KLocalizedString>
|
||||||
#include <KNotifications/KNotification>
|
#include <KNotifications/KNotification>
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ configure_file(${SUBPROJECT_WEATHER_JSON_IN} ${CMAKE_CURRENT_BINARY_DIR}/${SUBPR
|
|||||||
|
|
||||||
qt6_wrap_ui(SUBPROJECT_UI_HEADER ${SUBPROJECT_UI} OPTIONS --translate ui_i18n)
|
qt6_wrap_ui(SUBPROJECT_UI_HEADER ${SUBPROJECT_UI} OPTIONS --translate ui_i18n)
|
||||||
add_library(${SUBPROJECT} STATIC ${SUBPROJECT_SOURCE} ${SUBPROJECT_HEADER} ${SUBPROJECT_UI_HEADER})
|
add_library(${SUBPROJECT} STATIC ${SUBPROJECT_SOURCE} ${SUBPROJECT_HEADER} ${SUBPROJECT_UI_HEADER})
|
||||||
|
set_property(TARGET ${SUBPROJECT} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
target_link_libraries(${SUBPROJECT} ${Qt_LIBRARIES} ${Kf6_LIBRARIES})
|
target_link_libraries(${SUBPROJECT} ${Qt_LIBRARIES} ${Kf6_LIBRARIES})
|
||||||
|
|
||||||
# install
|
# install
|
||||||
|
@ -21,4 +21,5 @@
|
|||||||
|
|
||||||
#ifndef ui_i18n
|
#ifndef ui_i18n
|
||||||
#define ui_i18n(text, parent) i18n(text)
|
#define ui_i18n(text, parent) i18n(text)
|
||||||
#endif
|
#endif /* ui_i18n */
|
||||||
|
|
||||||
|
@ -15,4 +15,5 @@ file(GLOB SUBPROJECT_SOURCE *.cpp)
|
|||||||
file(GLOB SUBPROJECT_HEADER *.h)
|
file(GLOB SUBPROJECT_HEADER *.h)
|
||||||
|
|
||||||
add_library(${SUBPROJECT} STATIC ${SUBPROJECT_SOURCE} ${SUBPROJECT_HEADER})
|
add_library(${SUBPROJECT} STATIC ${SUBPROJECT_SOURCE} ${SUBPROJECT_HEADER})
|
||||||
|
set_property(TARGET ${SUBPROJECT} PROPERTY POSITION_INDEPENDENT_CODE ON)
|
||||||
target_link_libraries(${SUBPROJECT} ${PROJECT_LIBRARY} ${Qt_LIBRARIES} ${Kf6_LIBRARIES})
|
target_link_libraries(${SUBPROJECT} ${PROJECT_LIBRARY} ${Qt_LIBRARIES} ${Kf6_LIBRARIES})
|
||||||
|
@ -38,6 +38,7 @@ Item {
|
|||||||
|
|
||||||
Dialog {
|
Dialog {
|
||||||
id: importSelection
|
id: importSelection
|
||||||
|
standardButtons: Dialog.Ok | Dialog.Cancel
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
CheckBox {
|
CheckBox {
|
||||||
|
@ -45,7 +45,7 @@ void TestAWBugReporter::test_generateText()
|
|||||||
|
|
||||||
void TestAWBugReporter::test_sendBugReport()
|
void TestAWBugReporter::test_sendBugReport()
|
||||||
{
|
{
|
||||||
QSignalSpy spy(plugin, SIGNAL(replyReceived(int, QString &)));
|
QSignalSpy spy(plugin, SIGNAL(replyReceived(int, const QString &)));
|
||||||
plugin->sendBugReport(AWTestLibrary::randomString(),
|
plugin->sendBugReport(AWTestLibrary::randomString(),
|
||||||
plugin->generateText(data.at(0), data.at(1), data.at(2), data.at(3)));
|
plugin->generateText(data.at(0), data.at(1), data.at(2), data.at(3)));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user