diff --git a/CMakeLists.txt b/CMakeLists.txt index 184b11d93..71cd9edd1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,5 +17,6 @@ add_subdirectory(libkdeconnect) add_subdirectory(kcm) #add_subdirectory(kio) add_subdirectory(plasmoid) +add_subdirectory(icon) add_subdirectory(tests) diff --git a/icon/CMakeLists.txt b/icon/CMakeLists.txt new file mode 100644 index 000000000..ffc1183c1 --- /dev/null +++ b/icon/CMakeLists.txt @@ -0,0 +1,2 @@ + +kde4_install_icons(${ICON_INSTALL_DIR}) \ No newline at end of file diff --git a/icon/hi128-apps-kdeconnect.png b/icon/hi128-apps-kdeconnect.png new file mode 100644 index 000000000..2caebab8c Binary files /dev/null and b/icon/hi128-apps-kdeconnect.png differ diff --git a/icon/hi16-apps-kdeconnect.png b/icon/hi16-apps-kdeconnect.png new file mode 100644 index 000000000..f7a9cf0a4 Binary files /dev/null and b/icon/hi16-apps-kdeconnect.png differ diff --git a/icon/hi22-apps-kdeconnect.png b/icon/hi22-apps-kdeconnect.png new file mode 100644 index 000000000..a1c80f5fd Binary files /dev/null and b/icon/hi22-apps-kdeconnect.png differ diff --git a/icon/hi256-apps-kdeconnect.png b/icon/hi256-apps-kdeconnect.png new file mode 100644 index 000000000..23843dc43 Binary files /dev/null and b/icon/hi256-apps-kdeconnect.png differ diff --git a/icon/hi32-apps-kdeconnect.png b/icon/hi32-apps-kdeconnect.png new file mode 100644 index 000000000..52f98b038 Binary files /dev/null and b/icon/hi32-apps-kdeconnect.png differ diff --git a/icon/hi48-apps-kdeconnect.png b/icon/hi48-apps-kdeconnect.png new file mode 100644 index 000000000..9e6ac5e3e Binary files /dev/null and b/icon/hi48-apps-kdeconnect.png differ diff --git a/icon/hi64-apps-kdeconnect.png b/icon/hi64-apps-kdeconnect.png new file mode 100644 index 000000000..2c4851201 Binary files /dev/null and b/icon/hi64-apps-kdeconnect.png differ diff --git a/icon/hi8-apps-kdeconnect.png b/icon/hi8-apps-kdeconnect.png new file mode 100644 index 000000000..71ae5ecd1 Binary files /dev/null and b/icon/hi8-apps-kdeconnect.png differ diff --git a/icon/hisc-apps-kdeconnect.svgz b/icon/hisc-apps-kdeconnect.svgz new file mode 100644 index 000000000..e3d1be86d Binary files /dev/null and b/icon/hisc-apps-kdeconnect.svgz differ diff --git a/kcm/kcm_kdeconnect.desktop b/kcm/kcm_kdeconnect.desktop index 20a46afc5..45e73055b 100755 --- a/kcm/kcm_kdeconnect.desktop +++ b/kcm/kcm_kdeconnect.desktop @@ -1,7 +1,7 @@ #!/usr/bin/env xdg-open [Desktop Entry] Exec=kcmshell4 kcm_kdeconnect -Icon=smartphone +Icon=kdeconnect Type=Service X-KDE-ServiceTypes=KCModule diff --git a/kcm/kdeconnect.desktop b/kcm/kdeconnect.desktop index 415970c35..20b74cf22 100755 --- a/kcm/kdeconnect.desktop +++ b/kcm/kdeconnect.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=Application -Icon=smartphone +Icon=kdeconnect Terminal=false Exec=kcmshell4 kcm_kdeconnect Name=KDE Connect diff --git a/kded/kdeconnect.notifyrc b/kded/kdeconnect.notifyrc index 4fff4d6d1..6a02fbb1b 100644 --- a/kded/kdeconnect.notifyrc +++ b/kded/kdeconnect.notifyrc @@ -1,5 +1,5 @@ [Global] -IconName=smartphone +IconName=kdeconnect Name=KDE Connect Name[bs]=Konekcija KDE Name[da]=KDE Connect diff --git a/kded/plugins/sftp/sftpplugin.cpp b/kded/plugins/sftp/sftpplugin.cpp index eeae4e345..b0bb1a77f 100644 --- a/kded/plugins/sftp/sftpplugin.cpp +++ b/kded/plugins/sftp/sftpplugin.cpp @@ -74,7 +74,7 @@ void SftpPlugin::addToDolphin() { removeFromDolphin(); KUrl kioUrl("kdeconnect://"+device()->id()+"/"); - m_d->placesModel->addPlace(device()->name(), kioUrl, "smartphone"); + m_d->placesModel->addPlace(device()->name(), kioUrl, "kdeconnect"); kDebug(kdeconnect_kded()) << "add to dolphin"; } diff --git a/kio/kdeconnect.protocol b/kio/kdeconnect.protocol index f03c3c2a4..73708447e 100644 --- a/kio/kdeconnect.protocol +++ b/kio/kdeconnect.protocol @@ -11,6 +11,6 @@ writing=false makedir=false deleting=false moving=false -Icon=smartphone +Icon=kdeconnect maxInstances=2 diff --git a/kio/kiokdeconnect.cpp b/kio/kiokdeconnect.cpp index 6c9f3ea90..662712664 100644 --- a/kio/kiokdeconnect.cpp +++ b/kio/kiokdeconnect.cpp @@ -105,7 +105,7 @@ void KioKdeconnect::listAllDevices() const QString target = QString("kdeconnect://").append(deviceId).append("/"); const QString name = interface.name(); - const QString icon = "smartphone"; + const QString icon = "kdeconnect"; KIO::UDSEntry entry; entry.insert(KIO::UDSEntry::UDS_NAME, name); diff --git a/plasmoid/package/contents/ui/CompactRepresentation.qml b/plasmoid/package/contents/ui/CompactRepresentation.qml index 7f9fb3672..7614893d8 100644 --- a/plasmoid/package/contents/ui/CompactRepresentation.qml +++ b/plasmoid/package/contents/ui/CompactRepresentation.qml @@ -32,7 +32,7 @@ Item { PlasmaCore.IconItem { id: icon - source: "smartphone" + source: "kdeconnect" anchors.fill: parent } @@ -44,7 +44,7 @@ Item { PlasmaCore.ToolTip { id: tooltip target: mouseArea - image: QIcon("smartphone") + image: QIcon("kdeconnect") subText: i18n("KDE Connect device notifications") } } diff --git a/plasmoid/package/metadata.desktop b/plasmoid/package/metadata.desktop index 284716f59..4c41a48ed 100644 --- a/plasmoid/package/metadata.desktop +++ b/plasmoid/package/metadata.desktop @@ -35,7 +35,7 @@ Comment[tr]=KDE Bağlan kullanılarak cihazınızdan bildirimleri görüntüleyi Comment[uk]=Показ сповіщень з ваших пристроїв за допомогою програми «З’єднання KDE» Comment[x-test]=xxShow notifications from your devices using KDE Connectxx -Icon=smartphone +Icon=kdeconnect Type=Service X-KDE-ServiceTypes=Plasma/Applet,Plasma/PopupApplet