[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -6,7 +6,7 @@
<service name="tar_git">
<param name="url">https://github.com/kimmoli/tohkbd2.git</param>
<param name="branch">master</param>
- <param name="revision">c1032c5d784a9e93d35e29865786951bf054088e</param>
+ <param name="revision">762da2d169f49132f88af7c851848d7d795f9536</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/.gitignore
^
|
@@ -1,10 +1,4 @@
*~
*.pro.user
-*.pro.user.*
+adaptor.*
*.qm
-userdaemonAdaptor.*
-userdaemonInterface.*
-daemonAdaptor.*
-daemonInterface.*
-settingsuiAdaptor.*
-settingsuiInterface.*
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/README.md
^
|
@@ -5,7 +5,7 @@
* When TOHKBD base is attached to the phone for very first time
* NFC ID is read by ```tohd``` and subbmitted to Jolla Store
* Store install required packages automatically
- * During installation, EEPROM contents of TOHKBD are compared to certain vid/pid, and if they match, daemon is started aka `systemctl start harbour-tohkbd2`
+ * During installation, EEPROM contents of TOHKBD are compared to certain vid/pid, and if they match, daemon is started
* After this, everytime TOHKBD base is attached to the phone, EEPROM contents are checked by udev rule, which starts daemon
* When daemon is started it creates a uinput device which is used to send key-events to system
* When the keyboard part is connected to the base, interrupt is generated which triggers followig sequence:
@@ -34,7 +34,7 @@
devel-su
ssu ar tohs http://repo.merproject.org/obs/home:/kimmoli:/tohs/sailfish_latest_armv7hl
ssu ur
- pkcon repo-set-data tohs refresh-now true
+ pkcon set-repo-data tohs refresh-now true
pkcon install harbour-ambience-tohkbd2
```
@@ -43,6 +43,3 @@
* TCA8424 datasheet: http://www.ti.com/lit/ds/symlink/tca8424.pdf
* TCA8424 evaluation module user's guide: www.ti.com/lit/ug/scdu004/scdu004.pdf
-### Troubleshooting
-
-* If your tohkbd does not work anymore (it doesn't say Keyboard connected anymore) and you notice that in fact the little pin of the back cover has broken off, one way to work around the problem (assuming you always have the tohkbd toh part attached) is to do `systemctl start harbour-tohkbd2 ; systemctl enable harbour-tohkbd2`. This has the same effect as if the pin was always present.
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/config/95-harbour-tohkbd2.rules
^
|
@@ -1,5 +1,5 @@
# TOHKBD2 udev rules. Start daemon on insert, stop on remove
# TOH_VID = 0x1989, TOH_PID = 0x0003
#
-KERNEL=="toh-core.0", ATTR{vendor}=="6537", ATTR{product}=="3", ACTION=="add", RUN+="/bin/systemctl --no-block start harbour-tohkbd2"
-KERNEL=="toh-core.0", ACTION=="remove", RUN+="/bin/systemctl --no-block stop harbour-tohkbd2"
+KERNEL=="toh-core.0", ATTR{vendor}=="6537", ATTR{product}=="3", ACTION=="add", RUN+="/bin/systemctl start harbour-tohkbd2"
+KERNEL=="toh-core.0", ACTION=="remove", RUN+="/bin/systemctl stop harbour-tohkbd2"
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/config/com.kimmoli.tohkbd2.xml
^
|
@@ -0,0 +1,24 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="com.kimmoli.tohkbd2">
+ <method name="getVersion">
+ <arg name="value" type="s" direction="out" />
+ </method>
+ <method name="quit" />
+ <method name="fakeInputReport">
+ <arg name="value" type="ay" direction="in" />
+ </method>
+ <method name="setShortcut">
+ <arg name="key" type="s" direction="in" />
+ <arg name="appPath" type="s" direction="in" />
+ </method>
+ <method name="setShortcutsToDefault" />
+ <method name="setSettingInt">
+ <arg name="key" type="s" direction="in" />
+ <arg name="value" type="i" direction="in" />
+ </method>
+ <signal name="keyboardConnectedChanged">
+ <arg name="connected" type="b" direction="out" />
+ </signal>
+ </interface>
+</node>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/config/harbour-tohkbd2.conf
^
|
(renamed from dbus/harbour-tohkbd2.conf)
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/config/harbour-tohkbd2.service
^
|
(renamed from dbus/harbour-tohkbd2.service)
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/daemon.pro
^
|
@@ -1,22 +1,27 @@
TARGET = harbour-tohkbd2
-QT += dbus network
+QT += dbus
QT -= gui
-CONFIG += link_pkgconfig
-PKGCONFIG += Qt5SystemInfo
+system(qdbusxml2cpp config/com.kimmoli.tohkbd2.xml -i src/tohkeyboard.h -a src/adaptor)
DEFINES += "APPVERSION=\\\"$${SPECVERSION}\\\""
target.path = /usr/bin/
+systemd.path = /etc/systemd/system/
+systemd.files = config/$${TARGET}.service
+
udevrule.path = /etc/udev/rules.d/
udevrule.files = config/95-$${TARGET}.rules
+dbusconf.path = /etc/dbus-1/system.d/
+dbusconf.files = config/$${TARGET}.conf
+
vkblayout.path = /usr/share/maliit/plugins/com/jolla/layouts/
vkblayout.files = config/layouts/$${TARGET}.conf config/layouts/$${TARGET}.qml
-INSTALLS += target udevrule vkblayout
+INSTALLS += target systemd udevrule dbusconf vkblayout
message($${DEFINES})
@@ -29,12 +34,8 @@
src/driverBase.cpp \
src/tca8424driver.cpp \
src/keymapping.cpp \
- src/eepromdriver.cpp \
- src/modifierhandler.cpp \
- src/uinputevpoll.cpp \
- ../dbus/src/daemonAdaptor.cpp \
- ../dbus/src/userdaemonInterface.cpp \
- ../dbus/src/settingsuiInterface.cpp
+ src/adaptor.cpp \
+ src/eepromdriver.cpp
HEADERS += \
src/toh.h \
@@ -44,16 +45,15 @@
src/driverBase.h \
src/tca8424driver.h \
src/keymapping.h \
+ src/adaptor.h \
src/defaultSettings.h \
- src/eepromdriver.h \
- src/modifierhandler.h \
- src/uinputevpoll.h \
- ../dbus/src/daemonAdaptor.h \
- ../dbus/src/userdaemonInterface.h \
- ../dbus/src/settingsuiInterface.h
+ src/eepromdriver.h
OTHER_FILES += \
+ config/$${TARGET}.service \
+ config/$${TARGET}.conf \
config/layouts/$${TARGET}.conf \
config/layouts/$${TARGET}.qml \
+ config/com.kimmoli.tohkbd2.xml \
config/icon-system-keyboard.png
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/defaultSettings.h
^
|
@@ -17,26 +17,12 @@
#define BACKLIGHT_TIMEOUT 2000
#define BACKLIGHT_LUXTHRESHOLD 5
#define BACKLIGHT_ENABLED true
-#define KEYREPEAT_DELAY 400
+#define KEYREPEAT_DELAY 250
#define KEYREPEAT_RATE 25
-#define MODIFIER_SHIFT_MODE "Normal"
-#define MODIFIER_CTRL_MODE "Sticky"
-#define MODIFIER_ALT_MODE "Normal"
-#define MODIFIER_SYM_MODE "Normal"
-
+#define STICKY_CTRL_ENABLED true
+#define STICKY_ALT_ENABLED false
+#define STICKY_SYM_ENABLED false
#define FORCE_LANDSCAPE_ORIENTATION true
-#define FORCE_BACKLIGHT_ON false
-
-#define TURN_DISPLAY_OFF_WHEN_REMOVED false
-#define KEEP_DISPLAY_ON_WHEN_CONNECTED false
-
-#define MASTER_LAYOUT "Scandic"
-
-#define ACTION_REBOOT_REMORSE "reboot-remorse"
-#define ACTION_RESTART_LIPSTICK_REMORSE "restart-lipstick-remorse"
-
-#define VERBOSE_MODE_ENABLED false
-#define SHOW_NOTIFICATIONS true
#endif // DEFAULTSSETTINGS_H
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/driverBase.h
^
|
@@ -28,7 +28,6 @@
#include <linux/i2c-dev.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#include <unistd.h>
#include <QDebug>
#include <QObject>
#include <QByteArray>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/keymapping.cpp
^
|
@@ -1,50 +1,18 @@
-#include <QStringList>
-#include <QFile>
-#include <QTextStream>
-#include <QDir>
-
#include "keymapping.h"
#include <linux/input.h>
#include <stdio.h>
-QStringList keymapping::keyNames = QStringList()
- << "KEY_RESERVED" << "KEY_ESC" << "KEY_1" << "KEY_2" << "KEY_3" << "KEY_4" << "KEY_5" << "KEY_6" << "KEY_7" << "KEY_8" << "KEY_9"
- << "KEY_0" << "KEY_MINUS" << "KEY_EQUAL" << "KEY_BACKSPACE" << "KEY_TAB" << "KEY_Q" << "KEY_W" << "KEY_E" << "KEY_R" << "KEY_T"
- << "KEY_Y" << "KEY_U" << "KEY_I" << "KEY_O" << "KEY_P" << "KEY_LEFTBRACE" << "KEY_RIGHTBRACE" << "KEY_ENTER" << "KEY_LEFTCTRL"
- << "KEY_A" << "KEY_S" << "KEY_D" << "KEY_F" << "KEY_G" << "KEY_H" << "KEY_J" << "KEY_K" << "KEY_L" << "KEY_SEMICOLON" << "KEY_APOSTROPHE"
- << "KEY_GRAVE" << "KEY_LEFTSHIFT" << "KEY_BACKSLASH" << "KEY_Z" << "KEY_X" << "KEY_C" << "KEY_V" << "KEY_B" << "KEY_N" << "KEY_M"
- << "KEY_COMMA" << "KEY_DOT" << "KEY_SLASH" << "KEY_RIGHTSHIFT" << "KEY_KPASTERISK" << "KEY_LEFTALT" << "KEY_SPACE" << "KEY_CAPSLOCK"
- << "KEY_F1" << "KEY_F2" << "KEY_F3" << "KEY_F4" << "KEY_F5" << "KEY_F6" << "KEY_F7" << "KEY_F8" << "KEY_F9" << "KEY_F10" << "KEY_NUMLOCK"
- << "KEY_SCROLLLOCK" << "KEY_KP7" << "KEY_KP8" << "KEY_KP9" << "KEY_KPMINUS" << "KEY_KP4" << "KEY_KP5" << "KEY_KP6" << "KEY_KPPLUS"
- << "KEY_KP1" << "KEY_KP2" << "KEY_KP3" << "KEY_KP0" << "KEY_KPDOT" << "KEY_RESERVED" << "KEY_ZENKAKUHANKAKU" << "KEY_102ND" << "KEY_F11"
- << "KEY_F12" << "KEY_RO" << "KEY_KATAKANA" << "KEY_HIRAGANA" << "KEY_HENKAN" << "KEY_KATAKANAHIRAGANA" << "KEY_MUHENKAN" << "KEY_KPJPCOMMA"
- << "KEY_KPENTER" << "KEY_RIGHTCTRL" << "KEY_KPSLASH" << "KEY_SYSRQ" << "KEY_RIGHTALT" << "KEY_LINEFEED" << "KEY_HOME" << "KEY_UP"
- << "KEY_PAGEUP" << "KEY_LEFT" << "KEY_RIGHT" << "KEY_END" << "KEY_DOWN" << "KEY_PAGEDOWN" << "KEY_INSERT" << "KEY_DELETE" << "KEY_MACRO"
- << "KEY_MUTE" << "KEY_VOLUMEDOWN" << "KEY_VOLUMEUP" << "KEY_POWER" << "KEY_KPEQUAL" << "KEY_KPPLUSMINUS" << "KEY_PAUSE" << "KEY_SCALE"
- << "KEY_KPCOMMA" << "KEY_HANGEUL" << "KEY_HANJA" << "KEY_YEN" << "KEY_LEFTMETA" << "KEY_RIGHTMETA" << "KEY_COMPOSE"
- << "KEY_TOH_TABLE_DELIMITER" /* Keys after this are custom keys */
- << "KEY_TOH_SCREENSHOT" << "KEY_TOH_SELFIE" << "KEY_TOH_NEWEMAIL" << "KEY_TOH_BACKLIGHT" << "KEY_TOH_NONE";
-
keymapping::keymapping(QObject *parent) :
QObject(parent)
{
- layoutPath = QString();
- alternativeLayout = QString();
- originalLayout = QString();
- keymapIsValid = false;
-
- pressedCode = 0;
- verboseMode = false;
-
- shift = new modifierHandler("shift");
- ctrl = new modifierHandler("ctrl");
- alt = new modifierHandler("alt");
- sym = new modifierHandler("sym");
-
- connect(shift, SIGNAL(changed()), this, SIGNAL(shiftChanged()));
- connect(ctrl, SIGNAL(changed()), this, SIGNAL(ctrlChanged()));
- connect(alt, SIGNAL(changed()), this, SIGNAL(altChanged()));
- connect(sym, SIGNAL(changed()), this, SIGNAL(symChanged()));
+ shiftPressed = false;
+ ctrlPressed = false;
+ altPressed = false;
+ symPressed = false;
+
+ stickyCtrlEnabled = false;
+ stickyAltEnabled = false;
+ stickySymEnabled = false;
}
/* REV 2 Keyboard mapping
@@ -62,337 +30,161 @@
void keymapping::process(QByteArray inputReport)
{
- if (!keymapIsValid)
- {
- printf("Keymap is invalid, processing aborted.\n");
- emit keymapInvalid();
- return;
- }
-
+ char key;
+ int n;
QList< QPair<int,int> > retKey;
- char irCode = 0;
- bool leftShiftDown = false;
- bool shiftDown = false;
- bool ctrlDown = false;
- bool altDown = false;
- bool symDown = false;
-
- if (verboseMode)
+ bool __shiftPressed = false;
+ bool __ctrlPressed = false;
+ bool __altPressed = false;
+ bool __symPressed = false;
+
+ printf("Processing report: ");
+ for (n=0 ; n<inputReport.count() ; n++)
+ printf("%02x ", inputReport.at(n));
+ printf("\n");
+
+ for (n=3 ; n<11 ; n++)
+ {
+ if (n == 4) { continue; }
+
+ key = inputReport.at(n);
+
+ if (key == 0x00) { continue; }
+ else if (key == 0x10 || key == 0xEA) { __shiftPressed = true; }
+ else if (key == 0xCF) { __altPressed = true; }
+ else if (key == 0x08 || key == 0xBF) { __ctrlPressed = true; }
+ else if (key == 0x02 || key == 0xED) { __symPressed = true; }
+ else if (key == 0xA1) { retKey.append(qMakePair(KEY_ESC, 0)); }
+ else if (key == 0xA3) { retKey.append(qMakePair(KEY_1, 0)); }
+ else if (key == 0xA4) { retKey.append(qMakePair(KEY_2, 0)); }
+ else if (key == 0xA5) { retKey.append(qMakePair(KEY_3, 0)); }
+ else if (key == 0xA6) { retKey.append(qMakePair(KEY_4, 0)); }
+ else if (key == 0xA7) { retKey.append(qMakePair(KEY_5, 0)); }
+ else if (key == 0xA8) { retKey.append(qMakePair(KEY_6, 0)); }
+ else if (key == 0xA9) { retKey.append(qMakePair(KEY_7, 0)); }
+ else if (key == 0xAA) { retKey.append(qMakePair(KEY_8, 0)); }
+ else if (key == 0xAB) { retKey.append(qMakePair(KEY_9, 0)); }
+ else if (key == 0xAC) { retKey.append(qMakePair(KEY_0, 0)); }
+ else if (key == 0xAD) { retKey.append(qMakePair(KEY_MINUS, 0)); }
+ else if (key == 0xAE) { retKey.append(qMakePair(KEY_EQUAL, 0)); }
+ else if (key == 0xAF) { retKey.append(qMakePair(KEY_BACKSPACE, 0)); }
+
+ else if (key == 0xB1) { retKey.append(qMakePair(KEY_DELETE, 0)); }
+ else if (key == 0xB2) { retKey.append(qMakePair(KEY_UP, 0)); }
+ else if (key == 0xB3) { retKey.append(qMakePair(KEY_INSERT, 0)); }
+ else if (key == 0xB4) { retKey.append(qMakePair(KEY_Q, 0)); }
+ else if (key == 0xB5) { retKey.append(qMakePair(KEY_W, 0)); }
+ else if (key == 0xB6) { retKey.append(qMakePair(KEY_E, 0)); }
+ else if (key == 0xB7) { retKey.append(qMakePair(KEY_R, 0)); }
+ else if (key == 0xB8) { retKey.append(qMakePair(KEY_T, 0)); }
+ else if (key == 0xB9) { retKey.append(qMakePair(KEY_Y, 0)); }
+ else if (key == 0xBA) { retKey.append(qMakePair(KEY_U, 0)); }
+ else if (key == 0xBB) { retKey.append(qMakePair(KEY_I, 0)); }
+ else if (key == 0xBC) { retKey.append(qMakePair(KEY_O, 0)); }
+ else if (key == 0xBD) { retKey.append(qMakePair(KEY_P, 0)); }
+ else if (key == 0xBE) { retKey.append(qMakePair(KEY_KPPLUS, 0)); }
+
+ else if (key == 0xC1) { retKey.append(qMakePair(KEY_LEFT, 0)); }
+ else if (key == 0xC3) { retKey.append(qMakePair(KEY_RIGHT, 0)); }
+ else if (key == 0xC4) { retKey.append(qMakePair(KEY_A, 0)); }
+ else if (key == 0xC5) { retKey.append(qMakePair(KEY_S, 0)); }
+ else if (key == 0xC6) { retKey.append(qMakePair(KEY_D, 0)); }
+ else if (key == 0xC7) { retKey.append(qMakePair(KEY_F, 0)); }
+ else if (key == 0xC8) { retKey.append(qMakePair(KEY_G, 0)); }
+ else if (key == 0xC9) { retKey.append(qMakePair(KEY_H, 0)); }
+ else if (key == 0xCA) { retKey.append(qMakePair(KEY_J, 0)); }
+ else if (key == 0xCB) { retKey.append(qMakePair(KEY_K, 0)); }
+ else if (key == 0xCC) { retKey.append(qMakePair(KEY_L, 0)); }
+ else if (key == 0xCD) { retKey.append(qMakePair(KEY_SEMICOLON, 0)); /* ; */ }
+ else if (key == 0xCE) { retKey.append(qMakePair(KEY_APOSTROPHE, 0)); /* ' */ }
+
+ else if (key == 0xD1) { retKey.append(qMakePair(KEY_HOME, 0)); }
+ else if (key == 0xD2) { retKey.append(qMakePair(KEY_DOWN, 0)); }
+ else if (key == 0xD3) { retKey.append(qMakePair(KEY_END, 0)); }
+ else if (key == 0xD4) { retKey.append(qMakePair(KEY_Z, 0)); }
+ else if (key == 0xD5) { retKey.append(qMakePair(KEY_X, 0)); }
+ else if (key == 0xD6) { retKey.append(qMakePair(KEY_C, 0)); }
+ else if (key == 0xD7) { retKey.append(qMakePair(KEY_V, 0)); }
+ else if (key == 0xD8) { retKey.append(qMakePair(KEY_B, 0)); }
+ else if (key == 0xD9) { retKey.append(qMakePair(KEY_N, 0)); }
+ else if (key == 0xDA) { retKey.append(qMakePair(KEY_M, 0)); }
+ else if (key == 0xDB) { retKey.append(qMakePair(KEY_0, FORCE_SHIFT)); /* ? */ }
+ else if (key == 0xDC) { retKey.append(qMakePair(KEY_1, FORCE_SHIFT)); /* ! */ }
+ else if (key == 0xDD) { retKey.append(qMakePair(KEY_COMMA, 0)); }
+ else if (key == 0xDE) { retKey.append(qMakePair(KEY_DOT, 0)); }
+
+ else if (key == 0x40) { retKey.append(qMakePair(KEY_SPACE, 0)); }
+ else if (key == 0x80) { retKey.append(qMakePair(KEY_SPACE, 0)); }
+ else if (key == 0xE9) { retKey.append(qMakePair(KEY_SPACE, 0)); }
+ else if (key == 0xEC) { retKey.append(qMakePair(KEY_2, FORCE_SHIFT)); /* @ */ }
+ else if (key == 0xEF) { retKey.append(qMakePair(KEY_ENTER, 0)); }
+
+ if (!retKey.empty())
+ break;
+ }
+
+ if (__shiftPressed != shiftPressed)
+ {
+ shiftPressed = __shiftPressed;
+ emit shiftChanged();
+ }
+
+ /* Toggle ctrl when only ctrl is pressed */
+ if (stickyCtrlEnabled && __ctrlPressed && retKey.empty())
+ {
+ ctrlPressed = !ctrlPressed;
+ emit ctrlChanged();
+ }
+ else if (!stickyCtrlEnabled && (__ctrlPressed != ctrlPressed))
+ {
+ ctrlPressed = __ctrlPressed;
+ emit ctrlChanged();
+ }
+
+ if (stickyAltEnabled && __altPressed)
+ {
+ altPressed = !altPressed;
+ emit altChanged();
+ }
+ else if (__altPressed != altPressed)
+ {
+ altPressed = __altPressed;
+ emit altChanged();
+ }
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/keymapping.h
^
|
@@ -4,9 +4,6 @@
#include <QObject>
#include <QList>
#include <QPair>
-#include <QMap>
-#include <linux/input.h>
-#include "modifierhandler.h"
#define FORCE_SHIFT (1)
#define FORCE_ALT (2)
@@ -15,13 +12,6 @@
#define KEEP (0x10)
#define FORCE_CTRL (0x20)
-// Custom keys
-#define KEY_TOH_SCREENSHOT (KEY_MAX+1)
-#define KEY_TOH_SELFIE (KEY_MAX+2)
-#define KEY_TOH_NEWEMAIL (KEY_MAX+3)
-#define KEY_TOH_BACKLIGHT (KEY_MAX+4)
-#define KEY_TOH_NONE (KEY_MAX+5)
-
class keymapping : public QObject
{
Q_OBJECT
@@ -30,19 +20,16 @@
void process(QByteArray inputReport);
- void releaseStickyModifiers(bool force = false);
-
- modifierHandler *shift;
- modifierHandler *ctrl;
- modifierHandler *alt;
- modifierHandler *sym;
-
- bool setPathToLayouts(QString pathToLayouts);
-
- bool setLayout(QString toLayout, bool forceReload = false);
+ void releaseStickyModifiers();
- bool verboseMode;
- bool keymapIsValid;
+ bool shiftPressed;
+ bool ctrlPressed;
+ bool altPressed;
+ bool symPressed;
+
+ bool stickyCtrlEnabled;
+ bool stickyAltEnabled;
+ bool stickySymEnabled;
signals:
void shiftChanged();
@@ -51,31 +38,11 @@
void symChanged();
void keyPressed(QList< QPair<int, int> > keyCode);
void keyReleased();
- void toggleCapsLock();
- void bogusDetected();
- void setKeymapVariant(QString keymapVariant);
- void setKeymapLayout(QString keymapLayout);
- void keymapInvalid();
public slots:
private:
- void toggleAlternativeLayout();
- QString alternativeLayout;
- QString originalLayout;
-
- bool keyIsPressed;
-
- char pressedCode;
- QByteArray _prevInputReport;
-
- QString layout;
- QString layoutPath;
-
- QMap< int, QPair<int, int> > lut_plain;
- QMap< int, QPair<int, int> > lut_sym;
- static QStringList keyNames;
};
#endif // KEYMAPPING_H
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/tca8424driver.cpp
^
|
@@ -53,7 +53,19 @@
ledState = ((ledState & ~((value >> 8) & 0x0F)) | (value & 0x0F));
- char buf[5] = {0x00, 0x05, 0x01, 0x00, ledState};
+ /* HID Over I2C protocol v1.0 chapter 7.23 SET_REPORT
+ * Command register 0x0600
+ * High byte:
+ * Reserved = 0x0
+ * opcode = 0x3
+ * Low byte:
+ * Report type = 0x2 (Output)
+ * Report ID = 0x0
+ * Data register 0x0700
+ * Length = 0x0001
+ * Data = leds
+ */
+ char buf[9] = {0x00, 0x06, 0x20, 0x03, 0x00, 0x07, 0x01, 0x00, ledState};
if (!writeBytes(tca8424address, buf, sizeof(buf)))
printf("Error: leds(%02x %02x) failed\n", value, ledState);
@@ -61,7 +73,30 @@
QByteArray tca8424driver::readInputReport()
{
- QByteArray ret = readBytes(tca8424address, 11);
+ /* HID Over I2C protocol v1.0 chapter 7.23 GET_REPORT
+ * Command register 0x0600
+ * High byte:
+ * Reserved = 0x0
+ * opcode = 0x2
+ * Low byte:
+ * Report type = 0x1 (Input)
+ * Report ID = 0x1
+ * Data register 0x0700
+ */
+ char buf[6] = {0x00, 0x06, 0x11, 0x02, 0x00, 0x07};
+ QByteArray ret = QByteArray();
+
+ if (writeBytes(tca8424address, buf, sizeof(buf)))
+ {
+ /* tca8424 input report is 11 bytes:
+ * Length, 2 bytes, 0x000b
+ * report id, 1 byte
+ * modifier keys, 1 byte
+ * reserved 1 byte
+ * key usage ID's 6 bytes
+ */
+ ret = readBytes(tca8424address, 11);
+ }
if (ret.isEmpty())
printf("Error: readInputReport() failed\n");
@@ -69,22 +104,18 @@
return ret;
}
-tca8424driver::PresenceResult tca8424driver::testComms()
+bool tca8424driver::testComms()
{
- QByteArray ret = readBytes(tca8424address, 2);
+ /* Read 1 byte from tca8424, register address 0x0000
+ * return true if read success
+ */
+ char buf[2] = {0x00, 0x00};
+ QByteArray ret = QByteArray();
- if (ret.isEmpty())
+ if (writeBytes(tca8424address, buf, sizeof(buf)))
{
- /* Retry once after 100 ms */
- QThread::msleep(100);
- ret = readBytes(tca8424address, 2);
-
- if (ret.isEmpty())
- return tca8424driver::DetectFail;
+ ret = readBytes(tca8424address, 1);
}
- if ((ret.at(0) == 0) && (ret.at(1) == 0))
- return tca8424driver::NoKeyPressedSinceReset;
-
- return tca8424driver::DetectSuccess;
+ return !ret.isEmpty();
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/tca8424driver.h
^
|
@@ -3,15 +3,15 @@
#include "driverBase.h"
-#define LED_SELFIE_ON 0x0101
-#define LED_SELFIE_OFF 0x0100
+#define LED_EXTRA_ON 0x0101
+#define LED_EXTRA_OFF 0x0100
#define LED_CAPSLOCK_ON 0x0202
#define LED_CAPSLOCK_OFF 0x0200
#define LED_SYMLOCK_ON 0x0404
#define LED_SYMLOCK_OFF 0x0400
#define LED_BACKLIGHT_ON 0x0808
#define LED_BACKLIGHT_OFF 0x0800
-#define LED_ALL_OFF 0x0F00
+
class tca8424driver : public DriverBase
{
@@ -19,22 +19,14 @@
public:
explicit tca8424driver(unsigned char address);
+ bool reset();
void setLeds(int value);
QByteArray readInputReport();
-
- typedef enum PresenceResult
- {
- DetectFail = 0,
- NoKeyPressedSinceReset,
- DetectSuccess
- } PresenceResult;
-
- PresenceResult testComms();
+ bool testComms();
signals:
public slots:
- bool reset();
private:
void init();
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/tohkbd2-daemon.cpp
^
|
@@ -13,7 +13,7 @@
#include <sys/types.h>
#include "tohkeyboard.h"
#include "toh.h"
-#include "../dbus/src/daemonAdaptor.h"
+#include "adaptor.h"
#include <QtCore/QCoreApplication>
#include <QDBusConnection>
@@ -55,23 +55,12 @@
printf("Connected to D-Bus sessionbus\n");
+
Tohkbd tohkbd;
/* Register to dbus systemBus */
new Tohkbd2Adaptor(&tohkbd);
- if (!tohkbd.registerDBus())
- {
- printf("Failed to register to dbus\n");
- sleep(3);
- exit(EXIT_FAILURE);
- }
-
- if (!tohkbd.init())
- {
- printf("Failed to initialise tohkbd daemon\n");
- sleep(3);
- exit(EXIT_FAILURE);
- }
+ tohkbd.registerDBus();
/* Nokia MCE display_status_ind
* used to enable and disable keyboard when display is on or off
@@ -79,6 +68,9 @@
dbusSystemBus.connect("com.nokia.mce", "/com/nokia/mce/signal", "com.nokia.mce.signal", "display_status_ind",
&tohkbd, SLOT(handleDisplayStatus(const QDBusMessage&)));
+ dbusSessionBus.connect("org.freedesktop.Notifications", "/org/freedesktop/Notifications", "org.freedesktop.Notifications", "ActionInvoked",
+ &tohkbd, SLOT(handleNotificationActionInvoked(const QDBusMessage&)));
+
return app.exec();
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/tohkeyboard.cpp
^
|
@@ -9,31 +9,21 @@
#include <QtCore/QCoreApplication>
#include <QDBusMessage>
#include <QThread>
-#include <QTimer>
-#include <QHostAddress>
-#include <QtSystemInfo/QDeviceInfo>
-
-#include <mce/dbus-names.h>
-#include <mce/mode-names.h>
#include <unistd.h>
#include <linux/input.h>
#include <linux/uinput.h>
+#include <QTimer>
#include "tohkeyboard.h"
#include "toh.h"
#include "uinputif.h"
#include "defaultSettings.h"
#include "eepromdriver.h"
-#include "modifierhandler.h"
static const char *SERVICE = SERVICE_NAME;
static const char *PATH = "/";
-QList<int> Tohkbd::FKEYS = QList<int>() << KEY_F1 << KEY_F2 << KEY_F3 << KEY_F4 << KEY_F5 << KEY_F6
- << KEY_F7 << KEY_F8 << KEY_F9 << KEY_F10 << KEY_F11 << KEY_F12;
-
-
/* Main
*/
Tohkbd::Tohkbd(QObject *parent) :
@@ -42,6 +32,7 @@
dbusRegistered = false;
interruptsEnabled = false;
vddEnabled = false;
+ capsLockSeq = 0;
vkbLayoutIsTohkbd = false;
currentActiveLayout = QString();
currentOrientationLock = QString();
@@ -49,165 +40,69 @@
gpio_fd = -1;
displayIsOn = false;
keyIsPressed = false;
- keyRepeat = false;
slideEventEmitted = false;
taskSwitcherVisible = false;
- selfieLedOn = false;
- gpioInterruptCounter = 0;
- verboseMode = true;
- displayBlankPreventRequested = false;
+ ssNotifyReplacesId = 0;
+ ssFilename = QString();
- fix_CapsLock = !checkSailfishVersion("1.1.7.0");
- capsLock = false;
-
- doNotChangeVkbLayout = checkSailfishVersion("2.0.0.0");
-
- tohkbd2user = new ComKimmoliTohkbd2userInterface("com.kimmoli.tohkbd2user", "/", QDBusConnection::sessionBus(), this);
+ tohkbd2user = new QDBusInterface("com.kimmoli.tohkbd2user", "/", "com.kimmoli.tohkbd2user", QDBusConnection::sessionBus(), this);
tohkbd2user->setTimeout(2000);
- tohkbd2settingsui = new ComKimmoliTohkbd2settingsuiInterface("com.kimmoli.tohkbd2settingsui", "/", QDBusConnection::sessionBus(), this);
- tohkbd2settingsui->setTimeout(2000);
-
thread = new QThread();
worker = new Worker();
- backlightTimer = new QTimer(this);
- presenceTimer = new QTimer(this);
- repeatTimer = new QTimer(this);
- displayBlankPreventTimer = new QTimer(this);
- uinputif = new UinputIf();
- uinputevpoll = new UinputEvPoll();
- evpollThread = new QThread();
- tca8424 = new tca8424driver(0x3b);
- keymap = new keymapping();
-}
-
-/* Initialise. Returns false if failed
- */
-bool Tohkbd::init()
-{
- QString userDaemonVersion;
-
- printf("waking up user daemon\n");
-
- userDaemonVersion = tohkbd2user->getVersion();
-
- /* User daemon needs to be same version as this daemon */
- if (userDaemonVersion == APPVERSION)
- {
- printf("user daemon version %s\n", qPrintable(userDaemonVersion));
- }
- else
- {
- tohkbd2user->quit();
- printf("wrong version of user daemon \"%s\"\n", qPrintable(userDaemonVersion));
- return false;
- }
-
- connect(tohkbd2user, SIGNAL(physicalLayoutChanged(QString)), this, SLOT(handlePhysicalLayout(QString)));
-
worker->moveToThread(thread);
connect(worker, SIGNAL(gpioInterruptCaptured()), this, SLOT(handleGpioInterrupt()));
connect(worker, SIGNAL(workRequested()), thread, SLOT(start()));
connect(thread, SIGNAL(started()), worker, SLOT(doWork()));
connect(worker, SIGNAL(finished()), thread, SLOT(quit()), Qt::DirectConnection);
+ backlightTimer = new QTimer(this);
backlightTimer->setSingleShot(true);
connect(backlightTimer, SIGNAL(timeout()), this, SLOT(backlightTimerTimeout()));
+ presenceTimer = new QTimer(this);
presenceTimer->setInterval(2000);
presenceTimer->setSingleShot(true);
connect(presenceTimer, SIGNAL(timeout()), this, SLOT(presenceTimerTimeout()));
+ repeatTimer = new QTimer(this);
repeatTimer->setSingleShot(true);
connect(repeatTimer, SIGNAL(timeout()), this, SLOT(repeatTimerTimeout()));
- displayBlankPreventTimer->setSingleShot(true);
- connect(displayBlankPreventTimer, SIGNAL(timeout()), this, SLOT(displayBlankPreventTimerTimeout()));
-
/* do this automatically at startup */
setVddState(true);
setInterruptEnable(true);
+ uinputif = new UinputIf();
uinputif->openUinputDevice();
- uinputevpoll->moveToThread(evpollThread);
- connect(uinputevpoll, SIGNAL(capsLockLedChanged(bool)), this, SLOT(capsLockLedState(bool)));
- connect(uinputevpoll, SIGNAL(pollingRequested()), evpollThread, SLOT(start()));
- connect(evpollThread, SIGNAL(started()), uinputevpoll, SLOT(doPoll()));
- connect(uinputevpoll, SIGNAL(finished()), evpollThread, SLOT(quit()), Qt::DirectConnection);
-
- uinputevpoll->requestPolling(uinputif->getFd());
-
- if (!keymap->setPathToLayouts(QString(tohkbd2user->getPathTo("keymaplocation"))))
- {
- return false;
- }
+ tca8424 = new tca8424driver(0x3b);
+ keymap = new keymapping();
reloadSettings();
- displayIsOn = getCurrentDisplayState();
-
if (currentActiveLayout.isEmpty())
- {
changeActiveLayout(true);
- }
if (currentOrientationLock.isEmpty())
- {
changeOrientationLock(true);
- saveOrientation();
- }
checkKeypadPresence();
- /* tell that keyboard is not attached, so maliit does not hide vkb */
- if (!keypadIsPresent)
- {
- emitKeypadSlideEvent(false);
- }
-
connect(keymap, SIGNAL(shiftChanged()), this, SLOT(handleShiftChanged()));
connect(keymap, SIGNAL(ctrlChanged()), this, SLOT(handleCtrlChanged()));
connect(keymap, SIGNAL(altChanged()), this, SLOT(handleAltChanged()));
connect(keymap, SIGNAL(symChanged()), this, SLOT(handleSymChanged()));
- connect(keymap, SIGNAL(toggleCapsLock()), this, SLOT(toggleCapsLock()));
connect(keymap, SIGNAL(keyPressed(QList< QPair<int, int> >)), this, SLOT(handleKeyPressed(QList< QPair<int, int> >)));
connect(keymap, SIGNAL(keyReleased()), this, SLOT(handleKeyReleased()));
- connect(keymap, SIGNAL(bogusDetected()), tca8424, SLOT(reset()));
- connect(keymap, SIGNAL(setKeymapLayout(QString)), tohkbd2user, SLOT(setKeymapLayout(QString)));
- connect(keymap, SIGNAL(setKeymapVariant(QString)), tohkbd2user, SLOT(setKeymapVariant(QString)));
- connect(keymap, SIGNAL(keymapInvalid()), tohkbd2user, SLOT(showUnsupportedLayoutNotification()));
-
- QString currentPhysicalLayout = tohkbd2user->getActivePhysicalLayout();
-
- printf("physical layout is %s\n", qPrintable(currentPhysicalLayout));
- keymap->setLayout(currentPhysicalLayout);
- return true;
}
/* Remove uinput device, stop threads and unregister from dbus
*/
Tohkbd::~Tohkbd()
{
- /* Restore orientation when shutting down */
- if (settingsMap.value("forceLandscapeOrientation").toBool())
- {
- tohkbd2user->setOrientationLock(currentOrientationLock);
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/tohkeyboard.h
^
|
@@ -18,12 +18,9 @@
#include <QHash>
#include "uinputif.h"
-#include "uinputevpoll.h"
#include "tca8424driver.h"
#include "keymapping.h"
-#include "../dbus/src/userdaemonInterface.h"
-#include "../dbus/src/settingsuiInterface.h"
#define SERVICE_NAME "com.kimmoli.tohkbd2"
#define EVDEV_OFFSET (8)
@@ -40,12 +37,12 @@
explicit Tohkbd(QObject *parent = 0);
virtual ~Tohkbd();
- bool init();
- bool registerDBus();
+ void registerDBus();
public slots:
/* dbus signal handler slots */
void handleDisplayStatus(const QDBusMessage& msg);
+ void handleNotificationActionInvoked(const QDBusMessage& msg);
/* keymap handler slots */
void handleShiftChanged();
@@ -54,26 +51,22 @@
void handleSymChanged();
void handleKeyPressed(QList< QPair<int, int> > keyCode);
void handleKeyReleased();
- void handlePhysicalLayout(const QString &layout);
- void toggleCapsLock();
- void capsLockLedState(bool state);
/* timer timeouts */
void backlightTimerTimeout();
void presenceTimerTimeout();
void repeatTimerTimeout();
- void displayBlankPreventTimerTimeout(bool forceCancel = false);
/* Interrupt */
void handleGpioInterrupt();
/* DBUS methods */
+ Q_NOREPLY void fakeInputReport(const QByteArray &data);
QString getVersion();
Q_NOREPLY void quit();
Q_NOREPLY void setShortcut(const QString &key, const QString &appPath);
Q_NOREPLY void setShortcutsToDefault();
- Q_NOREPLY void setSetting(const QString &key, const QDBusVariant &value);
- Q_NOREPLY void forceKeymapReload(const QString &layout);
+ Q_NOREPLY void setSettingInt(const QString &key, const int &value);
signals:
@@ -92,31 +85,30 @@
bool checkKeypadPresence();
void reloadSettings();
void saveActiveLayout();
- void saveOrientation();
+ void keyboardConnectedNotification(bool connected);
void checkEEPROM();
bool tohcoreBind(bool bind);
- void controlLeds(bool restore);
- bool checkSailfishVersion(QString versionToCompare);
- void setVerboseMode(bool verbose);
- bool getCurrentDisplayState();
- QVariantMap settingsMap;
+ void notificationSend(QString summary, QString body);
+ void screenShot();
int gpio_fd;
QThread *thread;
Worker *worker;
UinputIf *uinputif;
- UinputEvPoll *uinputevpoll;
- QThread *evpollThread;
tca8424driver *tca8424;
keymapping *keymap;
+ int capsLockSeq;
+ int backlightLuxThreshold;
+ int keyRepeatDelay;
+ int keyRepeatRate;
+
QMutex mutex;
QTimer *backlightTimer;
QTimer *presenceTimer;
QTimer *repeatTimer;
- QTimer *displayBlankPreventTimer;
QString currentActiveLayout;
QString currentOrientationLock;
@@ -127,28 +119,22 @@
bool keypadIsPresent;
bool vkbLayoutIsTohkbd;
bool dbusRegistered;
+ bool stickyCtrl;
bool displayIsOn;
bool vddEnabled;
bool interruptsEnabled;
bool keyIsPressed;
- bool keyRepeat;
+ bool backlightEnabled;
bool slideEventEmitted;
- bool taskSwitcherVisible;
- bool selfieLedOn;
- bool capsLock;
- bool verboseMode;
- bool displayBlankPreventRequested;
- bool doNotChangeVkbLayout;
+ bool forceLandscapeOrientation;
- ComKimmoliTohkbd2userInterface *tohkbd2user;
- ComKimmoliTohkbd2settingsuiInterface *tohkbd2settingsui;
+ bool taskSwitcherVisible;
- static QList<int> FKEYS;
+ QDBusInterface *tohkbd2user;
- int gpioInterruptCounter;
- QTime gpioInterruptFloodDetect;
+ unsigned int ssNotifyReplacesId;
+ QString ssFilename;
- bool fix_CapsLock;
};
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/uinputif.cpp
^
|
@@ -24,29 +24,25 @@
int UinputIf::fd = -1;
-static const int eventsToRegister[] = { EV_KEY, EV_SW, EV_SYN, EV_LED,
+static const int eventsToRegister[] = { EV_KEY, EV_SW, EV_SYN,
-1 };
-static const int keysToRegister[] = { KEY_ESC, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_0, KEY_MINUS, KEY_EQUAL, KEY_BACKSPACE,
- KEY_TAB, KEY_Q, KEY_W, KEY_E, KEY_R, KEY_T, KEY_Y, KEY_U, KEY_I, KEY_O, KEY_P, KEY_LEFTBRACE, KEY_RIGHTBRACE, KEY_ENTER,
- KEY_LEFTCTRL, KEY_A, KEY_S, KEY_D, KEY_F, KEY_G, KEY_H, KEY_J, KEY_K, KEY_L, KEY_SEMICOLON, KEY_APOSTROPHE, KEY_GRAVE,
- KEY_LEFTSHIFT, KEY_BACKSLASH, KEY_Z, KEY_X, KEY_C, KEY_V, KEY_B, KEY_N, KEY_M, KEY_COMMA, KEY_DOT, KEY_SLASH, KEY_RIGHTSHIFT,
- KEY_KPASTERISK, KEY_LEFTALT, KEY_SPACE, KEY_CAPSLOCK, KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8,
- KEY_F9, KEY_F10, KEY_NUMLOCK, KEY_SCROLLLOCK, KEY_KP7, KEY_KP8, KEY_KP9, KEY_KPMINUS, KEY_KP4, KEY_KP5, KEY_KP6,
- KEY_KPPLUS, KEY_KP1, KEY_KP2, KEY_KP3, KEY_KP0, KEY_KPDOT, KEY_ZENKAKUHANKAKU, KEY_102ND, KEY_F11, KEY_F12, KEY_RO,
- KEY_KATAKANA, KEY_HIRAGANA, KEY_HENKAN, KEY_KATAKANAHIRAGANA, KEY_MUHENKAN, KEY_KPJPCOMMA, KEY_KPENTER, KEY_RIGHTCTRL,
- KEY_KPSLASH, KEY_SYSRQ, KEY_RIGHTALT, KEY_LINEFEED, KEY_HOME, KEY_UP, KEY_PAGEUP, KEY_LEFT, KEY_RIGHT, KEY_END, KEY_DOWN,
- KEY_PAGEDOWN, KEY_INSERT, KEY_DELETE, KEY_MACRO, KEY_MUTE, KEY_VOLUMEDOWN, KEY_VOLUMEUP, KEY_POWER, KEY_KPEQUAL,
- KEY_KPPLUSMINUS, KEY_PAUSE, KEY_SCALE, KEY_KPCOMMA, KEY_HANGEUL, KEY_HANGUEL, KEY_HANJA, KEY_YEN, KEY_LEFTMETA,
- KEY_RIGHTMETA, KEY_COMPOSE,
+static const int keysToRegister[] = { KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT,KEY_HOME, KEY_END, KEY_PAGEDOWN, KEY_PAGEUP,
+ KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9, KEY_0,
+ KEY_A, KEY_B, KEY_C, KEY_D, KEY_E, KEY_F, KEY_G, KEY_H, KEY_I, KEY_J,
+ KEY_K, KEY_L, KEY_M, KEY_N, KEY_O, KEY_P, KEY_Q, KEY_R, KEY_S, KEY_T,
+ KEY_U, KEY_V, KEY_W, KEY_X, KEY_Y, KEY_Z, KEY_COMMA, KEY_DOT, KEY_SPACE,
+ KEY_LEFTALT, KEY_LEFTSHIFT, KEY_LEFTCTRL,
+ KEY_RIGHTALT, KEY_RIGHTSHIFT, KEY_RIGHTCTRL,
+ KEY_BACKSPACE, KEY_DELETE, KEY_INSERT, KEY_EQUAL, KEY_MINUS, KEY_TAB,
+ KEY_COMPOSE, KEY_APOSTROPHE, KEY_SEMICOLON, KEY_ENTER, KEY_ESC,
+ KEY_POWER, KEY_PLAYCD, KEY_PAUSECD, KEY_VOLUMEDOWN, KEY_VOLUMEUP,
+ KEY_CAPSLOCK,
-1 };
static const int switchesToRegister[] = { SW_LID, SW_KEYPAD_SLIDE,
-1 };
-static const int ledsToRegister[] = { LED_CAPSL,
- -1 };
-
UinputIf::UinputIf(QObject *parent) :
QObject(parent)
{
@@ -64,7 +60,7 @@
struct uinput_user_dev uidev;
- fd = open("/dev/uinput", O_RDWR | O_NONBLOCK);
+ fd = open("/dev/uinput", O_WRONLY | O_NONBLOCK);
if (fd < 0)
{
printf("uinput: error: open\n");
@@ -100,16 +96,6 @@
return false;
}
}
-
- /* Enable selected LEDs */
- for (i=0; ledsToRegister[i] != -1; i++)
- {
- if (ioctl(fd, UI_SET_LEDBIT, ledsToRegister[i]) < 0)
- {
- printf("uinput: error: ioctl UI_SET_LEDBIT %d\n", i);
- return false;
- }
- }
memset(&uidev, 0, sizeof(uidev));
strncpy(uidev.name, conf_devname, UINPUT_MAX_NAME_SIZE);
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/daemon/src/uinputif.h
^
|
@@ -20,8 +20,6 @@
int sendUinputKeyPress(unsigned int code, int val);
int sendUinputSwitch(unsigned int code, int val);
- int getFd() { return fd; }
-
signals:
public slots:
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/harbour-ambience-tohkbd2.pro
^
|
@@ -2,6 +2,5 @@
# tohkbd2 top level project file
#
TEMPLATE = subdirs
-CONFIG = ordered
-SUBDIRS = dbus user-daemon daemon settings-ui ambience
+SUBDIRS = daemon user-daemon settings-ui ambience
OTHER_FILES = rpm/harbour-ambience-tohkbd2.spec
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/harbour-tohkbd2-settingsui.desktop
^
|
@@ -4,3 +4,4 @@
Name=TOHKBD Settings
Icon=harbour-tohkbd2-settingsui
Exec=harbour-tohkbd2-settingsui
+
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/i18n/translations_fi.ts
^
|
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="fi_FI">
+<context>
+ <name>AboutPage</name>
+ <message>
+ <source>Version: </source>
+ <translation>Versio:</translation>
+ </message>
+</context>
+<context>
+ <name>GeneralSettings</name>
+ <message>
+ <source>General settings</source>
+ <translation>Yleiset asetukset</translation>
+ </message>
+ <message>
+ <source>Backlight</source>
+ <translation>Taustavalo</translation>
+ </message>
+ <message>
+ <source>Enabled</source>
+ <translation>Käytössä</translation>
+ </message>
+ <message>
+ <source>Automatic backlight enable or always off</source>
+ <translation>Automaattinen taustavalo</translation>
+ </message>
+ <message>
+ <source>Timeout</source>
+ <translation>Päälläoloaika</translation>
+ </message>
+ <message>
+ <source>Brightness threshold</source>
+ <translation>Valoisyyden kynnysarvo</translation>
+ </message>
+ <message>
+ <source>Repeat</source>
+ <translation>Toisto</translation>
+ </message>
+ <message>
+ <source>Delay</source>
+ <translation>Aloitusviive</translation>
+ </message>
+ <message>
+ <source>Rate</source>
+ <translation>Toiston nopeus</translation>
+ </message>
+ <message>
+ <source>Test here</source>
+ <translation>Kokeile tässä</translation>
+ </message>
+</context>
+<context>
+ <name>Shortcuts</name>
+ <message>
+ <source>Reset all to defaults</source>
+ <translation>Palauta oletukset</translation>
+ </message>
+ <message>
+ <source>Shortcuts</source>
+ <translation>Pikanäppäimet</translation>
+ </message>
+</context>
+<context>
+ <name>Tohkbd2Settings</name>
+ <message>
+ <source>About...</source>
+ <translation>Tietoja...</translation>
+ </message>
+ <message>
+ <source>TOHKBD2 Settings</source>
+ <translation>TOHKBD2 Asetukset</translation>
+ </message>
+ <message>
+ <source>Settings</source>
+ <translation>Asetukset</translation>
+ </message>
+ <message>
+ <source>Daemon version: </source>
+ <translation>Taustaprosessin versio: </translation>
+ </message>
+ <message>
+ <source>Shortcuts</source>
+ <translation>Pikanäppäimet</translation>
+ </message>
+ <message>
+ <source>Layout</source>
+ <translation>Asettelu</translation>
+ </message>
+ <message>
+ <source>Customize mapping</source>
+ <translation>Muokkaa näppäinkarttaa</translation>
+ </message>
+ <message>
+ <source>General settings</source>
+ <translation>Yleiset asetukset</translation>
+ </message>
+ <message>
+ <source>Report a bug</source>
+ <translation>Ilmoita ongelmasta</translation>
+ </message>
+</context>
+</TS>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/cover/CoverPage.qml
^
|
@@ -9,7 +9,7 @@
{
CoverPlaceholder
{
- text: qsTrId("tohkbd2-settings-app-name")
+ text: "Tohkbd2-settings"
icon.source: "/usr/share/icons/hicolor/86x86/apps/harbour-tohkbd2-settingsui.png"
}
}
|
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/images/layout_azerty.png
^
|
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/images/layout_cyrillic.png
^
|
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/images/layout_nordic.png
^
|
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/images/layout_qwerty.png
^
|
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/images/layout_qwertz.png
^
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/AboutPage.qml
^
|
@@ -4,8 +4,7 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
-import harbour.tohkbd2.ConsoleModel 1.0
-import "../components"
+
Page
{
@@ -24,9 +23,6 @@
aboutPageOpen = false
else
aboutPageOpen = true
-
- if (status === PageStatus.Activating)
- consoleModel.executeCommand("rpm", [ "-q", "--changelog", "harbour-ambience-tohkbd2" ])
}
BusyIndicator
@@ -39,26 +35,11 @@
z: 100
}
- KeyboardHandler
- {
- id: kbdif
- onKeyUpPressed: flick.flick(0, -1000)
- onKeyDownPressed: flick.flick(0, 1000)
- onKeyBackspacePressed: pageStack.pop()
- }
-
- ConsoleModel
- {
- id: consoleModel
- }
-
SilicaFlickable
{
- id: flick
anchors.fill: parent
contentHeight: column.height
- VerticalScrollDecorator { flickable: flick }
Column
{
@@ -69,7 +50,7 @@
PageHeader
{
- title: qsTrId("about")
+ title: qsTr("About...")
}
Label
{
@@ -105,9 +86,7 @@
}
Label
{
- //: header label for the team presentation
- //% "The TOHKBD2 Team"
- text: qsTrId("team-header")
+ text: qsTr("The TOHKBD2 Team")
color: Theme.primaryColor
font.pixelSize: Theme.fontSizeMedium
anchors.horizontalCenter: parent.horizontalCenter
@@ -164,68 +143,25 @@
Label
{
- //: Version information field, for Settings UI application version
- //% "Settings UI version: "
- text: qsTrId("version-settings-ui") + version
+ text: qsTr("Settings UI version: ") + version
color: Theme.primaryColor
font.pixelSize: Theme.fontSizeMedium
anchors.horizontalCenter: parent.horizontalCenter
}
Label
{
- //: Version information field, for daemon version (which runs as root)
- //% "Daemon version: "
- text: qsTrId("version-daemon") + daemonVersion
+ text: qsTr("Daemon version: ") + daemonVersion
color: Theme.primaryColor
font.pixelSize: Theme.fontSizeMedium
anchors.horizontalCenter: parent.horizontalCenter
}
Label
{
- //: Version information field, for user daemon version (which runs as nemo)
- //% "User Daemon version: "
- text: qsTrId("version-user-daemon") + userDaemonVersion
+ text: qsTr("User daemon version: ") + userDaemonVersion
color: Theme.primaryColor
font.pixelSize: Theme.fontSizeMedium
anchors.horizontalCenter: parent.horizontalCenter
}
- Label
- {
- //: Version information field, for Sailfish OS version
- //% "Sailfish version: "
- text: qsTrId("version-sailfish") + sailfishVersion
- color: Theme.primaryColor
- font.pixelSize: Theme.fontSizeMedium
- anchors.horizontalCenter: parent.horizontalCenter
- }
- SectionHeader
- {
- //: section header for changelog
- //% "Changes"
- text: qsTrId("about-changes")
- }
- Column
- {
- width: parent.width - Theme.horizontalPageMargin
- x: Theme.horizontalPageMargin
- spacing: -Theme.fontSizeExtraSmall
- Repeater
- {
- width: parent.width
- model: consoleModel
- delegate: Text
- {
- width: parent.width
- text: modelData
- textFormat: Text.PlainText
- color: Theme.secondaryColor
- wrapMode: Text.Wrap
- font.pixelSize: Theme.fontSizeExtraSmall
- font.bold: text.charAt(0) == "*"
- visible: text.length > 1
- }
- }
- }
}
}
ListModel
@@ -249,5 +185,9 @@
iconsource: "image://tohkbd2/kimmoli"
linkurl: "http://www.kimmoli.fi"
}
+
}
}
+
+
+
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/ApplicationSelectionPage.qml
^
|
@@ -5,6 +5,8 @@
{
id: page
+ allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
+
property string keyId: ""
signal selected(string keyId, string filePath)
@@ -23,24 +25,8 @@
width: page.width
PageHeader
{
- //: Application shortcut selector page header
- //% "Select application"
- title: qsTrId("select-application")
- }
- }
-
- PullDownMenu
- {
- MenuItem
- {
- //: Pulldown menu option clear shortcut. Allows using Fn as Fn
- //% "Nothing, use as %1"
- text: qsTrId("shortcut-nothing").arg(keyId)
- onClicked:
- {
- selected(keyId, "")
- pageStack.pop()
- }
+ //% "Applications"
+ title: qsTrId("settings-he-applications")
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/BugReporter.qml
^
|
@@ -4,50 +4,16 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
-import "../components"
Page
{
id: page
- KeyboardHandler
- {
- id: kbdif
- onKeyUpPressed: flick.flick(0, -1000)
- onKeyDownPressed: flick.flick(0, 1000)
- onKeyBackspacePressed: pageStack.pop()
- }
-
- Rectangle
- {
- z:2
- anchors.fill: parent
- visible: bugReportPageOpen
- color: Qt.rgba(0, 0, 0, 0.5)
-
- BusyIndicator
- {
- id: bi
- size: BusyIndicatorSize.Large
- anchors.centerIn: parent
- running: bugReportPageOpen
- }
- Label
- {
- visible: bugReportPageOpen
- //: Text shown with busyindicator when starting external application
- //% "Launching external application..."
- text: qsTrId("launch-ext-app")
- anchors.top: bi.bottom
- anchors.horizontalCenter: parent.horizontalCenter
- }
-
- }
+ allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
SilicaFlickable
{
anchors.fill: parent
- z:1
contentHeight: column.height
@@ -59,60 +25,32 @@
spacing: Theme.paddingLarge
PageHeader
{
- title: qsTrId("report-a-bug")
+ title: "Report a bug"
}
Label
{
- //: Description above open faq -button
- //% "Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser."
- text: qsTrId("faq-text")
- color: Theme.primaryColor
- width: parent.width - 2*Theme.paddingLarge
- wrapMode: Text.WordWrap
- horizontalAlignment: Text.AlignHCenter
- anchors.horizontalCenter: parent.horizontalCenter
- }
- Button
- {
- //: Button text, clicking this will open url showing FAQ
- //% "Open FAQ"
- text: qsTrId("faq-button")
- anchors.horizontalCenter: parent.horizontalCenter
- onClicked:
- {
- bugReportPageOpen = true
- Qt.openUrlExternally("https://together.jolla.com/question/96836/tohkbd-faq/")
- }
- }
- Label
- {
- //: Description above report issue -button
- //% "If there is no answer to your issue, please report it. Button below launches email client."
- text: qsTrId("report-text")
- color: Theme.primaryColor
- width: parent.width - 2*Theme.paddingLarge
- wrapMode: Text.WordWrap
- horizontalAlignment: Text.AlignHCenter
- anchors.horizontalCenter: parent.horizontalCenter
+ text: "Launching email application..."
+ anchors.horizontalCenter: column.horizontalCenter
}
- Button
+
+ ProgressBar
{
- text: qsTrId("report-a-bug")
+ width: page.width - 2*Theme.paddingLarge
anchors.horizontalCenter: column.horizontalCenter
- onClicked:
- {
- bugReportPageOpen = true
- Qt.openUrlExternally("mailto: toho@saunalahti.fi" +
- "?subject=Tohkbd2 bug report, ui " + settingsui.version + ", daemon " + daemonVersion + ", SFOS " + sailfishVersion +
- "&body=Write here what is wrong... (in Finnish or English) ")
- }
+ indeterminate: true
}
-
- Component.onCompleted: bugReportPageOpen = false
-
}
}
+ Component.onCompleted:
+ {
+ bugReportPageOpen = true
+ Qt.openUrlExternally("mailto: toho@saunalahti.fi" +
+ "?subject=Tohkbd2 bug report" +
+ "&body=Write here what is wrong...")
+ }
+
+
}
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/CustomizeKeys.qml
^
|
@@ -0,0 +1,63 @@
+/*
+ tohkbd2-settings-u, The Otherhalf Keyboard 2 settings UI
+*/
+
+import QtQuick 2.0
+import Sailfish.Silica 1.0
+
+Page
+{
+ id: page
+
+ allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
+
+ backNavigation: false
+
+ SilicaFlickable
+ {
+ width: 1600
+ height: 500
+ anchors.verticalCenter: parent.verticalCenter
+ contentWidth: 1600
+ contentHeight: 500
+
+
+ GridView
+ {
+ id: sgv
+ width: 1600
+ height: 500
+ model: 80
+
+ anchors.verticalCenter: parent.verticalCenter
+
+ cellHeight: 100
+ cellWidth: 100
+
+ delegate: Rectangle
+ {
+ width: 100
+ height: 100
+ border.width: 1
+ border.color: "white"
+ color: "transparent"
+
+ Label
+ {
+ anchors.left: parent.left
+ anchors.top: parent.top
+ color: "blue"
+ text: index
+ }
+ Label
+ {
+ anchors.left: parent.left
+ anchors.bottom: parent.bottom
+ color: "white"
+ text: index
+ }
+ }
+ }
+ }
+}
+
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/GeneralSettings.qml
^
|
@@ -4,41 +4,19 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
-import org.nemomobile.configuration 1.0
-import "../components"
Page
{
id: page
- KeyboardHandler
- {
- id: kbdif
- onKeyUpPressed: flick.flick(0, -1000)
- onKeyDownPressed: flick.flick(0, 1000)
- onKeyBackspacePressed: pageStack.pop()
- }
+ allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
SilicaFlickable
{
- id: flick
anchors.fill: parent
contentHeight: column.height
- PullDownMenu
- {
- MenuItem
- {
- text: qsTrId("reset-to-defaults")
- onClicked:
- {
- settingsui.setSettingsToDefault()
- pageStack.pop()
- }
- }
- }
-
Column
{
id: column
@@ -47,62 +25,31 @@
PageHeader
{
- title: qsTrId("general-settings")
+ title: qsTr("General settings")
}
SectionHeader
{
- //: Section header for backlight settings
- //% "Backlight"
- text: qsTrId("backlight-sect-header")
- }
- TextSwitch
- {
- id: alwaysOn
- //: Backlight always on switch text
- //% "Always on"
- text: qsTrId("bg-always-on-sw")
- //: Backlight always on description
- //% "Backlight is always on when keyboard attached and phone's display is on"
- description: qsTrId("bg-always-on-desc")
- onCheckedChanged: if (checked !== settings["forceBacklightOn"]) settingsui.setSetting("forceBacklightOn", checked)
- width: parent.width - 2*Theme.paddingLarge
- Component.onCompleted:
- {
- checked = settings["forceBacklightOn"]
- /* Update to restore if overridden with key-combo Sym+Home */
- if (!checked && !settings["forceBacklightOn"])
- settingsui.setSetting("forceBacklightOn", false)
- }
+ text: qsTr("Backlight")
}
TextSwitch
{
- id: automatic
- //: Backlight automatic switch text
- //% "Automatic"
- text: qsTrId("bg-automatic-sw")
- //: Backlight automatic description
- //% "Automatic backlight enable or always off"
- description: qsTrId("bg-automatic-desc")
- onCheckedChanged: if (checked !== settings["backlightEnabled"]) settingsui.setSetting("backlightEnabled", checked)
+ text: qsTr("Enabled")
+ description: qsTr("Automatic backlight enable or always off")
+ onCheckedChanged: settingsui.setSettingInt("backlightEnabled", checked ? 1 : 0)
width: parent.width - 2*Theme.paddingLarge
Component.onCompleted: checked = settings["backlightEnabled"]
- enabled: !alwaysOn.checked
}
Slider
{
width: parent.width - 2*Theme.paddingLarge
anchors.horizontalCenter: parent.horizontalCenter
- //: Backlight timeout slider name
- //% "Backlight timeout"
- label: qsTrId("bg-timeout-slider")
+ label: qsTr("Timeout")
minimumValue: 100
- maximumValue: 30000
+ maximumValue: 5000
value: settings["backlightTimeout"]
- valueText: Number(value/1000).toFixed(1) + " s"
+ valueText: value + " ms"
stepSize: 100
- enabled: !alwaysOn.checked && automatic.checked
- opacity: enabled ? 1.0 : 0.4
property bool wasChanged: false
onValueChanged: wasChanged = true
@@ -111,7 +58,7 @@
if (wasChanged)
{
wasChanged = false
- settingsui.setSetting("backlightTimeout", value)
+ settingsui.setSettingInt("backlightTimeout", value)
}
}
}
@@ -119,16 +66,12 @@
{
width: parent.width - 2*Theme.paddingLarge
anchors.horizontalCenter: parent.horizontalCenter
- //: Backlight brightness threshold slider
- //% "Brightness threshold"
- label: qsTrId("bg-brightness-slider")
+ label: qsTr("Brightness threshold")
minimumValue: 1
maximumValue: 50
value: settings["backlightLuxThreshold"]
valueText: value + " lux"
stepSize: 1
- enabled: !alwaysOn.checked && automatic.checked
- opacity: enabled ? 1.0 : 0.4
property bool wasChanged: false
onValueChanged: wasChanged = true
@@ -137,67 +80,20 @@
if (wasChanged)
{
wasChanged = false
- settingsui.setSetting("backlightLuxThreshold", value)
+ settingsui.setSettingInt("backlightLuxThreshold", value)
}
}
}
SectionHeader
{
- //: Section header for display related settings
- //% "Display"
- text: qsTrId("orientation-sect-header")
- }
- TextSwitch
- {
- //: Force landscape switch text
- //% "Force Landscape"
- text: qsTrId("orientation-force-landscape-sw")
- //: Force landscape switch description
- //% "Force landscape orientation when keyboard attached"
- description: qsTrId("orientation-force-landscape-desc")
- onCheckedChanged: settingsui.setSetting("forceLandscapeOrientation", checked)
- width: parent.width - 2*Theme.paddingLarge
- Component.onCompleted: checked = settings["forceLandscapeOrientation"]
- }
- TextSwitch
- {
- //: Keep display on when connected switch text
- //% "Display on when connected"
- text: qsTrId("keep-display-on-when-connected-sw")
- //: Keep display on when connected switch description
- //% "Keep display on when keyboard is connected"
- description: qsTrId("keep-display-on-when-connected-desc")
- onCheckedChanged: settingsui.setSetting("keepDisplayOnWhenConnected", checked)
- width: parent.width - 2*Theme.paddingLarge
- Component.onCompleted: checked = settings["keepDisplayOnWhenConnected"]
- }
- TextSwitch
- {
- //: Display off when removed switch text
- //% "Display off when removed"
- text: qsTrId("turn-display-off-when-removed-sw")
- //: Display off when removed switch description
- //% "Turn display off when keyboard is removed"
- description: qsTrId("turn-display-off-when-removed-desc")
- onCheckedChanged: settingsui.setSetting("turnDisplayOffWhenRemoved", checked)
- width: parent.width - 2*Theme.paddingLarge
- Component.onCompleted: checked = settings["turnDisplayOffWhenRemoved"]
- }
-
- SectionHeader
- {
- //: Section header for repeat settings
- //% "Repeat"
- text: qsTrId("repeat-sect-header")
+ text: qsTr("Repeat")
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/KeyboardLayout.qml
^
|
@@ -0,0 +1,127 @@
+/*
+ tohkbd2-settings-u, The Otherhalf Keyboard 2 settings UI
+*/
+
+import QtQuick 2.0
+import Sailfish.Silica 1.0
+
+Page
+{
+ id: page
+
+ allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
+
+ backNavigation: !zoomin
+
+ property bool zoomin: false
+
+ SlideshowView
+ {
+ anchors.centerIn: parent
+
+ visible: !fullimageview.visible
+
+ id: view
+ width: page.width
+ height: 284
+ itemWidth: 540
+ clip: true
+
+ model: layoutsmodel
+
+ delegate: Item
+ {
+ width: view.itemWidth
+ height: view.height
+ Image
+ {
+ id: img
+ source: imagesource
+ width: 540 - Theme.paddingLarge
+ height: view.height
+ anchors.top: parent.top
+ anchors.horizontalCenter: parent.horizontalCenter
+ fillMode: Image.PreserveAspectFit
+ }
+
+ MouseArea
+ {
+ enabled: !zoomin && view.currentIndex == index
+ anchors.fill: parent
+ onClicked:
+ {
+ zoomin = true
+ fullimageview.height = 540
+ //fullimageview.anchors.horizontalCenterOffset = 0
+ fullimageview.source = imagesource
+ fullimageviewFlickable.contentX = (fullimageview.width - page.width)/2
+ }
+ }
+ }
+ }
+ Text
+ {
+ id: layoutlabel
+ anchors.top: view.bottom
+ anchors.topMargin: Theme.paddingLarge
+ anchors.horizontalCenter: page.horizontalCenter
+ text: layoutsmodel.count < 5 ? "" : layoutsmodel.get(view.currentIndex).layoutname
+ color: Theme.primaryColor
+ font.pixelSize: Theme.fontSizeLarge
+ opacity: fullimageview.visible ? 0 : 1
+
+ Behavior on opacity { NumberAnimation {} }
+ }
+
+ SilicaFlickable
+ {
+ id: fullimageviewFlickable
+ visible: fullimageview.height > 284
+ height: fullimageview.height
+ width: parent.width
+
+ contentHeight: fullimageview.height
+ contentWidth: fullimageview.width
+ anchors.verticalCenter: parent.verticalCenter
+
+ Image
+ {
+ id: fullimageview
+ //anchors.verticalCenter: parent.verticalCenter
+ width: 1826
+ height: 284
+ fillMode: Image.PreserveAspectFit
+ visible: height > 284
+ Behavior on height { NumberAnimation {} }
+ }
+
+ MouseArea
+ {
+ anchors.fill: parent
+ enabled: zoomin
+
+ onClicked:
+ {
+ console.log("clicked")
+ fullimageview.height = 284
+ zoomin = false
+ }
+ }
+ }
+
+ ListModel
+ {
+ id: layoutsmodel
+
+ Component.onCompleted:
+ {
+ layoutsmodel.append({"imagesource":"../images/layout_qwerty.png", "layoutname":"QWERTY"})
+ layoutsmodel.append({"imagesource":"../images/layout_qwertz.png", "layoutname":"QWERTZ"})
+ layoutsmodel.append({"imagesource":"../images/layout_azerty.png", "layoutname":"AZERTY"})
+ layoutsmodel.append({"imagesource":"../images/layout_nordic.png", "layoutname":"Nordic"})
+ layoutsmodel.append({"imagesource":"../images/layout_cyrillic.png", "layoutname":"Cyrillic"})
+ }
+ }
+}
+
+
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/Shortcuts.qml
^
|
@@ -4,48 +4,23 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
-import "../components"
Page
{
id: page
- KeyboardHandler
- {
- id: kbdif
- upDownItemCount: shortcutsModel.count
- onKeyUpPressed: flickRepeaterMover(flick, repeater)
- onKeyDownPressed: flickRepeaterMover(flick, repeater)
- onKeyEnterPressed:
- {
- pageStack.push(appSelector, {"keyId": shortcutsModel.get(upDownSelection).key})
- }
-
- onKeyBackspacePressed: pageStack.pop()
-
- Connections
- {
- target: page
- onOrientationTransitionRunningChanged: if (!orientationTransitionRunning) kbdif.flickRepeaterMover(flick, repeater)
- }
- }
+ allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
SilicaFlickable
{
- id: flick
anchors.fill: parent
-
- Behavior on contentY { NumberAnimation { duration: 200 } }
-
VerticalScrollDecorator {}
PullDownMenu
{
MenuItem
{
- //: Pulldown menu optiion to reset default values
- //% "Reset all to defaults"
- text: qsTrId("reset-to-defaults")
+ text: qsTr("Reset all to defaults")
onClicked: settingsui.setShortcutsToDefault()
}
}
@@ -57,24 +32,18 @@
id: column
width: page.width
- spacing: Theme.paddingSmall
+ spacing: Theme.paddingLarge
PageHeader
{
- id: pageheader
- title: qsTrId("shortcuts")
+ title: qsTr("Shortcuts")
}
Repeater
{
- id: repeater
model: shortcutsModel
-
ListItem
{
id: shortcutItem
- highlighted: down || kbdif.upDownSelection === index
-
- height: Theme.itemSizeLarge
Image
{
@@ -144,15 +113,13 @@
text: name
}
- onClicked:
- {
- kbdif.upDownSelection = index
- pageStack.push(appSelector, {"keyId": key})
- }
+ height: Theme.itemSizeMedium
- onDownChanged: kbdif.upDownSelection = index
+ onClicked: pageStack.push(appSelector, {"keyId": key})
}
+
}
+
}
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/pages/Tohkbd2Settings.qml
^
|
@@ -4,94 +4,26 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
-import "../components"
Page
{
id: page
- KeyboardHandler
- {
- id: kbdif
- upDownItemCount: kr.menuOpen ? kr.menu.children.length : settingslist.count + 1
-
- onUpDownSelectionChanged:
- {
- if (kr.menuOpen)
- {
- if (kr.menu.children[upDownSelection])
- kr.menu._setHighlightedItem(kr.menu.children[upDownSelection])
- }
- else
- {
- if ((upDownSelection === (upDownItemCount - 1)) && (flick.contentHeight > flick.height))
- flick.scrollToBottom()
- }
- }
-
- onKeyEnterPressed:
- {
- if (kr.menuOpen)
- {
- if (kr.menu.children[upDownSelection])
- kr.menu._activatedMenuItem(kr.menu.children[upDownSelection])
- upDownSelection = -1
- }
- else if (upDownSelection === (upDownItemCount - 1))
- {
- if (!kr.menuOpen)
- {
- updateLayouts()
- kr.showMenu()
- upDownSelection = 0
- }
- }
- else
- {
- if (settingslist.get(upDownSelection).isEnabled && !kr.menuOpen)
- {
- pageStack.push(Qt.resolvedUrl(settingslist.get(upDownSelection).pageId))
- }
- }
- }
-
- onKeyBackspacePressed:
- {
- if (kr.menuOpen) kr.hideMenu()
- upDownSelection = -1
- }
- }
-
- RemorsePopup
- {
- id: remorse
- }
+ allowedOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
SilicaFlickable
{
- id: flick
anchors.fill: parent
PullDownMenu
{
MenuItem
{
- //: Menu option to restart daemon
- //% "Restart daemon"
- text: qsTrId("restart-daemon")
- onClicked: settingsui.quitDaemon()
- }
- MenuItem
- {
- //: Menu option and header for about page
- //% "About..."
- text: qsTrId("about")
+ text: qsTr("About...")
onClicked: pageStack.push(Qt.resolvedUrl("AboutPage.qml"),
{ "version": settingsui.version,
"year": "2014-2015",
- //: Application name
- //% "TOHKBD Settings"
- "name": qsTrId("tohkbd2-settings-app-name"),
+ "name": qsTr("TOHKBD2 Settings"),
"imagelocation": "/usr/share/icons/hicolor/86x86/apps/harbour-tohkbd2-settingsui.png"} )
}
}
@@ -105,9 +37,7 @@
PageHeader
{
- //: Main page header
- //% "Settings"
- title: qsTrId("settings")
+ title: qsTr("Settings")
}
Item
@@ -116,9 +46,9 @@
width: 1
}
+
Repeater
{
- id: repeater
model: settingslist
ListItem
@@ -127,7 +57,6 @@
height: Theme.itemSizeSmall
enabled: isEnabled
opacity: enabled ? 1.0 : 0.4
- highlighted: (down || kbdif.upDownSelection === index) && !kr.menuOpen
Image
{
@@ -145,96 +74,8 @@
color: listItem.highlighted ? Theme.highlightColor : Theme.primaryColor
}
- onClicked:
- {
- kbdif.upDownSelection = index
- pageStack.push(Qt.resolvedUrl(pageId))
- }
-
- onDownChanged: kbdif.upDownSelection = index
- }
- }
-
- ListItem
- {
- id: kr
- width: parent.width
- height: Theme.itemSizeSmall + kcm.height
- highlighted: down || menuOpen || kbdif.upDownSelection === (kbdif.upDownItemCount - 1)
- menu: kcm
- showMenuOnPressAndHold: false
- onClicked:
- {
- kbdif.upDownSelection = (kbdif.upDownItemCount - 1)
- updateLayouts()
- showMenu()
- }
-
- Image
- {
- id: kimg
- x: Theme.paddingLarge
- source: kr.highlighted ? "image://theme/icon-m-keyboard?" + Theme.highlightColor : "image://theme/icon-m-keyboard"
- anchors.verticalCenter: parent.verticalCenter
- }
- Label
- {
- id: kprfx
- //: Prefix for showing current layout
- //% "Keyboard layout"
- text: qsTrId("kbd-layout")
- anchors.left: kimg.right
- anchors.leftMargin: Theme.paddingLarge
- anchors.verticalCenter: parent.verticalCenter
- color: kr.highlighted ? Theme.highlightColor : Theme.primaryColor
+ onClicked: pageStack.push(Qt.resolvedUrl(pageId))
}
- Label
- {
- text: settings["physicalLayout"]
- anchors.left: kprfx.right
- anchors.leftMargin: Theme.paddingMedium
- anchors.verticalCenter: parent.verticalCenter
- color: Theme.highlightColor
- }
- }
-
- ContextMenu
- {
- id: kcm
- MenuItem
- {
- //: Context menu entry for changing the layout
- //% "Change layout..."
- text: qsTrId("change-layout")
- onClicked: pageStack.push(Qt.resolvedUrl("LayoutSwitcher.qml"))
- }
- MenuItem
- {
- //: Context menu entry for reloading keyboard mapping file for tohkbd
- //% "Reload keyboard mapping"
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/qml/tohkbd2-settingsui.qml
^
|
@@ -10,13 +10,8 @@
{
id: apppage
- _defaultPageOrientations: Orientation.Portrait | Orientation.Landscape | Orientation.LandscapeInverted
-
onApplicationActiveChanged:
{
- if (!applicationActive && viewMode === "--showhelp")
- Qt.quit()
-
if (!applicationActive && bugReportPageOpen)
{
bugReportPageOpen = false
@@ -33,29 +28,14 @@
property string coverActionRightIcon: "image://theme/icon-cover-play"
property string daemonVersion : "---"
property string userDaemonVersion : "---"
- property string sailfishVersion : "---"
property bool bugReportPageOpen: false
property bool aboutPageOpen: false
- property bool helpPageOpen: false
property var settings
- initialPage:
- {
- if (viewMode === "--showhelp")
- return Qt.resolvedUrl("pages/Help.qml")
- else
- return Qt.resolvedUrl("pages/Tohkbd2Settings.qml")
- }
-
- cover:
- {
- if (viewMode === "--showhelp")
- return Qt.resolvedUrl("cover/HelpCoverPage.qml")
- else
- return Qt.resolvedUrl("cover/CoverPage.qml")
- }
+ initialPage: Qt.resolvedUrl("pages/Tohkbd2Settings.qml")
+ cover: Qt.resolvedUrl("cover/CoverPage.qml")
function coverActionLeft()
{
@@ -75,12 +55,9 @@
{
daemonVersion = readDaemonVersion()
userDaemonVersion = readUserDaemonVersion()
- sailfishVersion = readSailfishVersion()
updateApplicationsModel()
updateShortcutsModel()
settings = settingsui.getCurrentSettings()
- updateKeycomboModel()
- updateModifiers()
}
onShortcutsChanged:
@@ -92,9 +69,6 @@
{
settings = settingsui.getCurrentSettings()
}
-
- onShowHelpPage: if (viewMode !== "--showhelp" && !helpPageOpen)
- pageStack.push(Qt.resolvedUrl("pages/Help.qml"))
}
ListModel
@@ -139,149 +113,6 @@
"isAndroid": tmp[i]["isAndroid"]})
}
}
-
- ListModel
- {
- id: keycomboTopModel
- }
- ListModel
- {
- id: keycomboModel1
- }
- ListModel
- {
- id: keycomboModel2
- }
-
- function updateKeycomboModel()
- {
- keycomboModel1.clear()
- keycomboModel2.clear()
- keycomboTopModel.clear()
-
- //: Help page text (keep short)
- //% "Show this help"
- keycomboModel1.append({"key1": "Ctrl", "key2": "Sym", "key3": "1", "name": qsTrId("help-this-help")})
- //: Help page text (keep short)
- //% "Switch apps"
- keycomboModel1.append({"key1": "Alt", "key2": "Tab", "key3": "", "name": qsTrId("help-switch-app")})
- //: Help page text (keep short)
- //% "Screenshot"
- keycomboModel1.append({"key1": "Sym", "key2": "Ins", "key3": "", "name": qsTrId("help-screeshot")})
- //: Help page text (keep short)
- //% "Selfie LED"
- keycomboModel1.append({"key1": "Sym", "key2": "Del", "key3": "", "name": qsTrId("help-selfie-led")})
- //: Help page text (keep short)
- //% "Toggle backlight"
- keycomboModel1.append({"key1": "Sym", "key2": "Home", "key3": "", "name": qsTrId("help-toggle-backlight")})
- //: Help page text (keep short)
- //% "New Email"
- keycomboModel1.append({"key1": "Sym", "key2": "@", "key3": "", "name": qsTrId("help-new-email")})
- //: Help page text (keep short)
- //% "Decrease volume"
- keycomboModel1.append({"key1": "Sym", "key2": "Left", "key3": "", "name": qsTrId("help-dec-volume")})
- //: Help page text (keep short)
- //% "Increase volume"
- keycomboModel1.append({"key1": "Sym", "key2": "Right", "key3": "", "name": qsTrId("help-inc-volume")})
- //: Help page text (keep short)
- //% "Reboot phone"
- keycomboModel1.append({"key1": "Ctrl", "key2": "Alt", "key3": "Del", "name": qsTrId("help-reboot-phone")})
- //: Help page text (keep short)
- //% "Restart lipstick"
- keycomboModel1.append({"key1": "Ctrl", "key2": "Alt", "key3": "Backspace", "name": qsTrId("help-restart-lipstick")})
- //: Help page text (keep short)
- //% "Toggle CapsLock"
- keycomboModel1.append({"key1": "Sym", "key2": "Left-Shift", "key3": "", "name": qsTrId("help-capslock")})
-
- //: Help page text (keep short)
- //% "Select text"
- keycomboModel2.append({"key1": "Shift", "key2": "Arrows", "key3": "", "name": qsTrId("help-select")})
- //: Help page text (keep short)
- //% "Select all"
- keycomboModel2.append({"key1": "Ctrl", "key2": "A", "key3": "", "name": qsTrId("help-select-all")})
- //: Help page text (keep short)
- //% "Copy"
- keycomboModel2.append({"key1": "Ctrl", "key2": "C", "key3": "", "name": qsTrId("help-copy")})
- //: Help page text (keep short)
- //% "Cut"
- keycomboModel2.append({"key1": "Ctrl", "key2": "X", "key3": "", "name": qsTrId("help-cut")})
- //: Help page text (keep short)
- //% "Paste"
- keycomboModel2.append({"key1": "Ctrl", "key2": "V", "key3": "", "name": qsTrId("help-paste")})
- //: Help page text (keep short)
- //% "Undo"
- keycomboModel2.append({"key1": "Ctrl", "key2": "Z", "key3": "", "name": qsTrId("help-undo")})
- //: Help page text (keep short)
- //% "Redo"
- keycomboModel2.append({"key1": "Ctrl", "key2": "Shift", "key3": "Z", "name": qsTrId("help-redo")})
- //: Help page text (keep short)
- //% "Delete word"
- keycomboModel2.append({"key1": "Ctrl", "key2": "Backspace", "key3": "", "name": qsTrId("help-delete-word")})
-
- //: Section header for list of TOHKBD daemon provided key combinations
- //% "TOHKBD-only commands"
- keycomboTopModel.append({"name": qsTrId("key-combinations"), "keycomboModel": keycomboModel1})
-
- //: Section header for list of key combinations provided by os (text edits mostly)
- //% "Text edit key combinations"
- keycomboTopModel.append({"name": qsTrId("sys-key-combinations"), "keycomboModel": keycomboModel2})
- }
-
- ListModel
- {
- id: modifierModes
- }
-
- ListModel
- {
- id: modifiers
- }
-
- function updateModifiers()
- {
- modifierModes.clear()
- modifiers.clear()
-
- //% "Normal"
- modifierModes.append({ "name": qsTrId("mod-mode-normal"), "code": "Normal" })
- //% "Sticky"
- modifierModes.append({ "name": qsTrId("mod-mode-sticky"), "code": "Sticky" })
- //% "Lock"
- modifierModes.append({ "name": qsTrId("mod-mode-lock"), "code": "Lock" })
- //% "Cycle"
- modifierModes.append({ "name": qsTrId("mod-mode-cycle"), "code": "Cycle" })
-
- //: Modifier Shift mode selector combo-box label
- //% "Shift mode"
- modifiers.append({ "combolabel": qsTrId("mod-shift-mode"), "key": "modifierShiftMode" })
- //: Modifier Ctrl mode selector combo-box label
- //% "Ctrl mode"
- modifiers.append({ "combolabel": qsTrId("mod-ctrl-mode"), "key": "modifierCtrlMode" })
- //: Modifier Alt mode selector combo-box label
- //% "Alt mode"
- modifiers.append({ "combolabel": qsTrId("mod-alt-mode"), "key": "modifierAltMode" })
- //: Modifier Sym mode selector combo-box label
- //% "Sym mode"
- modifiers.append({ "combolabel": qsTrId("mod-sym-mode"), "key": "modifierSymMode" })
- }
-
- ListModel
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/settings-ui.pro
^
|
@@ -8,33 +8,25 @@
CONFIG += sailfishapp
CONFIG += link_pkgconfig
-PKGCONFIG += mlite5 Qt5SystemInfo sailfishapp
+PKGCONFIG += mlite5 sailfishapp
DEFINES += "APPVERSION=\\\"$${SPECVERSION}\\\""
-system(lupdate src qml -no-obsolete -ts $$PWD/i18n/engineering_en.ts)
-system(lrelease -idbased $$PWD/i18n/*.ts)
+#system(lupdate src -ts $$PWD/i18n/*.ts)
+system(lrelease $$PWD/i18n/*.ts)
translations.path = /usr/share/$${TARGET}/i18n
-translations.files = i18n/*.qm
+translations.files = i18n/translations_*.qm
INSTALLS += translations
message($${DEFINES})
SOURCES += src/tohkbd2-settingsui.cpp \
- src/settingsui.cpp \
- src/consolemodel.cpp \
- ../dbus/src/settingsuiAdaptor.cpp \
- ../dbus/src/daemonInterface.cpp \
- ../dbus/src/userdaemonInterface.cpp
+ src/settingsui.cpp
HEADERS += src/settingsui.h \
- src/IconProvider.h \
- src/consolemodel.h \
- ../dbus/src/settingsuiAdaptor.h \
- ../dbus/src/daemonInterface.h \
- ../dbus/src/userdaemonInterface.h
+ src/IconProvider.h
OTHER_FILES += qml/tohkbd2-settingsui.qml \
qml/cover/CoverPage.qml \
@@ -42,17 +34,22 @@
qml/pages/AboutPage.qml \
qml/pages/ApplicationSelectionPage.qml \
qml/pages/Shortcuts.qml \
+ qml/pages/KeyboardLayout.qml \
+ qml/pages/CustomizeKeys.qml \
qml/pages/BugReporter.qml \
qml/pages/GeneralSettings.qml \
qml/icons/icon-m-test.png \
+ qml/images/layout_qwertz.png \
+ qml/images/layout_qwertz.png \
+ qml/images/layout_qwerty.png \
+ qml/images/layout_nordic.png \
+ qml/images/layout_cyrillic.png \
+ qml/images/layout_azerty.png \
qml/icons/icon-m-keyframe.png \
harbour-tohkbd2-settingsui.desktop \
harbour-tohkbd2-settingsui.png \
- i18n/*.ts \
+ i18n/translations_fi.ts \
qml/icons/kimmoli.png \
qml/icons/wazd.png \
- qml/icons/dirkvl.png \
- qml/components/KeyboardHandler.qml \
- qml/pages/Help.qml \
- qml/cover/HelpCoverPage.qml \
- qml/pages/LayoutSwitcher.qml
+ qml/icons/dirkvl.png
+
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/src/settingsui.cpp
^
|
@@ -6,94 +6,27 @@
#include <QDir>
#include <QVariantMap>
#include <QVariantList>
+#include <QProcess>
#include <QThread>
#include <QSettings>
#include <QDebug>
#include <QtDBus/QtDBus>
-#include <QtSystemInfo/QDeviceInfo>
-#include <QtAlgorithms>
-#include <mlite5/MDesktopEntry>
-#include <linux/input.h>
-#include "../../daemon/src/defaultSettings.h"
-#include "../dbus/src/settingsuiAdaptor.h"
+#include <algorithm>
-static const char *SERVICE = SERVICE_NAME;
-static const char *PATH = "/";
+#include <mlite5/MDesktopEntry>
+#include <linux/input.h>
SettingsUi::SettingsUi(QObject *parent) :
QObject(parent)
{
- m_dbusRegistered = false;
-
- new Tohkbd2settingsuiAdaptor(this);
-
- registerDBus();
-
- tohkbd2daemon = new ComKimmoliTohkbd2Interface("com.kimmoli.tohkbd2", "/", QDBusConnection::systemBus(), this);
- tohkbd2daemon->setTimeout(2000);
- tohkbd2user = new ComKimmoliTohkbd2userInterface("com.kimmoli.tohkbd2user", "/", QDBusConnection::sessionBus(), this);
- tohkbd2user->setTimeout(2000);
-
- connect(tohkbd2user, SIGNAL(physicalLayoutChanged(QString)), this, SLOT(handlePhysicalLayoutChange(QString)));
-
- layoutToLanguage.insert("cz" ,"Čeština");
- layoutToLanguage.insert("dk" ,"Dansk");
- layoutToLanguage.insert("de" ,"Deutsch");
- layoutToLanguage.insert("ee" ,"Eesti");
- layoutToLanguage.insert("us" ,"English");
- layoutToLanguage.insert("es" ,"Español");
- layoutToLanguage.insert("fr" ,"Français");
- layoutToLanguage.insert("it" ,"Italiano");
- layoutToLanguage.insert("nl" ,"Nederlands");
- layoutToLanguage.insert("no" ,"Norsk");
- layoutToLanguage.insert("pl" ,"Polski");
- layoutToLanguage.insert("pt" ,"Português");
- layoutToLanguage.insert("fi" ,"Suomi");
- layoutToLanguage.insert("se" ,"Svenska");
- layoutToLanguage.insert("tr" ,"Türkçe");
- layoutToLanguage.insert("kz" ,"Қазақ");
- layoutToLanguage.insert("ru" ,"Русский");
-
emit versionChanged();
}
SettingsUi::~SettingsUi()
{
- if (m_dbusRegistered)
- {
- QDBusConnection connection = QDBusConnection::sessionBus();
- connection.unregisterObject(PATH);
- connection.unregisterService(SERVICE);
-
- printf("tohkbd2-settingsui: unregistered from dbus sessionBus\n");
- }
}
-void SettingsUi::registerDBus()
-{
- if (!m_dbusRegistered)
- {
- // DBus
- QDBusConnection connection = QDBusConnection::sessionBus();
- if (!connection.registerService(SERVICE))
- {
- QCoreApplication::quit();
- return;
- }
-
- if (!connection.registerObject(PATH, this))
- {
- QCoreApplication::quit();
- return;
- }
- m_dbusRegistered = true;
-
- printf("tohkbd2-settingsui: succesfully registered to dbus sessionBus \"%s\"\n", SERVICE);
- }
-}
-
-
QString SettingsUi::readVersion()
{
return APPVERSION;
@@ -122,7 +55,7 @@
{
MDesktopEntry app(list.at(i).absoluteFilePath());
- if (!app.hidden() && !app.icon().isEmpty() && !app.noDisplay() && !app.notShowIn().contains("X-Meego", Qt::CaseInsensitive))
+ if (!app.hidden() && !app.icon().isEmpty() && !app.noDisplay() && !app.notShowIn().contains("X-Meego"))
{
map.clear();
map.insert("filePath", list.at(i).absoluteFilePath());
@@ -141,7 +74,7 @@
}
// sort them by application name
- qSort(tmp.begin(), tmp.end(), appNameLessThan);
+ std::sort(tmp.begin(), tmp.end(), appNameLessThan);
return tmp;
}
@@ -151,32 +84,28 @@
QVariantMap map;
QSettings settings("harbour-tohkbd2", "tohkbd2");
-
settings.beginGroup("generalsettings");
- map.insert("backlightTimeout", settings.value("backlightTimeout", BACKLIGHT_TIMEOUT).toInt());
- map.insert("backlightLuxThreshold", settings.value("backlightLuxThreshold", BACKLIGHT_LUXTHRESHOLD).toInt());
- map.insert("keyRepeatDelay", settings.value("keyRepeatDelay", KEYREPEAT_DELAY).toInt());
- map.insert("keyRepeatRate", settings.value("keyRepeatRate", KEYREPEAT_RATE).toInt());
- map.insert("backlightEnabled", settings.value("backlightEnabled", BACKLIGHT_ENABLED).toBool());
- map.insert("forceLandscapeOrientation", settings.value("forceLandscapeOrientation", FORCE_LANDSCAPE_ORIENTATION).toBool());
- map.insert("forceBacklightOn", settings.value("forceBacklightOn", FORCE_BACKLIGHT_ON).toBool());
- map.insert("modifierShiftMode", settings.value("modifierShiftMode", MODIFIER_SHIFT_MODE).toString());
- map.insert("modifierCtrlMode", settings.value("modifierCtrlMode", MODIFIER_CTRL_MODE).toString());
- map.insert("modifierAltMode", settings.value("modifierAltMode", MODIFIER_ALT_MODE).toString());
- map.insert("modifierSymMode", settings.value("modifierSymMode", MODIFIER_SYM_MODE).toString());
- map.insert("turnDisplayOffWhenRemoved", settings.value("turnDisplayOffWhenRemoved", TURN_DISPLAY_OFF_WHEN_REMOVED).toBool());
- map.insert("keepDisplayOnWhenConnected", settings.value("keepDisplayOnWhenConnected", KEEP_DISPLAY_ON_WHEN_CONNECTED).toBool());
- map.insert("verboseMode", settings.value("verboseMode", VERBOSE_MODE_ENABLED).toBool());
- map.insert("showNotifications", settings.value("showNotifications", SHOW_NOTIFICATIONS).toBool());
- settings.endGroup();
- QString layout = QString(tohkbd2user->getActivePhysicalLayout());
+ map.insert("backlightTimeout", settings.value("backlightTimeout", 2000).toInt());
- map.insert("physicalLayout", layoutToLanguage.value(layout));
+ map.insert("backlightLuxThreshold", settings.value("backlightLuxThreshold", 5).toInt());
+ map.insert("keyRepeatDelay", settings.value("keyRepeatDelay", 250).toInt());
+ map.insert("keyRepeatRate", settings.value("keyRepeatRate", 25).toInt());
+ map.insert("backlightEnabled", settings.value("backlightEnabled", true).toBool());
+
+ settings.endGroup();
return map;
}
+void SettingsUi::startApplication(QString appname)
+{
+ QProcess proc;
+ proc.startDetached("/usr/bin/xdg-open" , QStringList() << appname);
+
+ QThread::msleep(100);
+}
+
QVariantList SettingsUi::getCurrentShortcuts()
{
QVariantList tmp;
@@ -187,7 +116,7 @@
for (int i = KEY_1 ; i<=KEY_EQUAL ; i++)
{
- QString appPath = settings.value(QString("KEY_F%1").arg((i-KEY_1)+1), "" ).toString();
+ QString appPath = settings.value(QString("KEY_F%1").arg((i-KEY_1)+1), "none" ).toString();
map.clear();
map.insert("key", QString("F%1").arg((i-KEY_1)+1));
map.insert("filePath", appPath);
@@ -195,26 +124,18 @@
MDesktopEntry app(appPath);
if (app.isValid())
- {
map.insert("name", app.name());
+ else
+ map.insert("name", "Not configured");
- if (app.icon().startsWith("icon-launcher-") || app.icon().startsWith("icon-l-") || app.icon().startsWith("icons-Applications"))
- map.insert("iconId", QString("image://theme/%1").arg(app.icon()));
- else if (app.icon().startsWith("/"))
- map.insert("iconId", QString("%1").arg(app.icon()));
- else
- map.insert("iconId", QString("/usr/share/icons/hicolor/86x86/apps/%1.png").arg(app.icon()));
-
- map.insert("isAndroid", app.exec().contains("apkd-launcher"));
- }
+ if (app.icon().startsWith("icon-launcher-") || app.icon().startsWith("icon-l-") || app.icon().startsWith("icons-Applications"))
+ map.insert("iconId", QString("image://theme/%1").arg(app.icon()));
+ else if (app.icon().startsWith("/"))
+ map.insert("iconId", QString("%1").arg(app.icon()));
else
- {
- //: Label shown instead of application name if Fn is not configured
- //% "Not configured"
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/src/settingsui.h
^
|
@@ -6,61 +6,34 @@
#define SETTINGSUI_H
#include <QObject>
#include <QVariantList>
-#include <QTimer>
-#include <QMap>
-#include "../dbus/src/daemonInterface.h"
-#include "../dbus/src/userdaemonInterface.h"
-
-#define SERVICE_NAME "com.kimmoli.tohkbd2settingsui"
-
-class QDBusInterface;
class SettingsUi : public QObject
{
Q_OBJECT
- Q_CLASSINFO("D-Bus Interface", SERVICE_NAME)
Q_PROPERTY(QString version READ readVersion NOTIFY versionChanged())
public:
explicit SettingsUi(QObject *parent = 0);
~SettingsUi();
- void registerDBus();
QString readVersion();
Q_INVOKABLE QVariantList getApplications();
Q_INVOKABLE QVariantList getCurrentShortcuts();
Q_INVOKABLE QVariantMap getCurrentSettings();
- Q_INVOKABLE QVariantList getCurrentLayouts();
+ Q_INVOKABLE void startApplication(QString appname);
Q_INVOKABLE void setShortcut(QString key, QString appPath);
Q_INVOKABLE QString readDaemonVersion();
Q_INVOKABLE QString readUserDaemonVersion();
- Q_INVOKABLE QString readSailfishVersion();
Q_INVOKABLE void setShortcutsToDefault();
- Q_INVOKABLE void setSettingsToDefault();
- Q_INVOKABLE void setSetting(QString key, QVariant value);
- Q_INVOKABLE void forceKeymapReload();
- Q_INVOKABLE void restoreOriginalKeymaps();
- Q_INVOKABLE void quitDaemon();
-
-public slots:
- void showHelp() { emit showHelpPage(); }
+ Q_INVOKABLE void setSettingInt(QString key, int value);
signals:
void versionChanged();
void shortcutsChanged();
void settingsChanged();
- void showHelpPage();
-
-private slots:
- void handlePhysicalLayoutChange(QString layout);
-
-private:
- ComKimmoliTohkbd2Interface *tohkbd2daemon;
- ComKimmoliTohkbd2userInterface *tohkbd2user;
+ //private:
- bool m_dbusRegistered;
- QMap<QString, QString> layoutToLanguage;
};
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/settings-ui/src/tohkbd2-settingsui.cpp
^
|
@@ -2,6 +2,11 @@
tohkbd2-settings-u, The Otherhalf Keyboard 2 settings UI
*/
+
+#ifdef QT_QML_DEBUG
+#include <QtQuick>
+#endif
+
#include <sailfishapp.h>
#include <QtQml>
#include <QScopedPointer>
@@ -12,22 +17,16 @@
#include <QCoreApplication>
#include "settingsui.h"
#include "IconProvider.h"
-#include "consolemodel.h"
int main(int argc, char *argv[])
{
qmlRegisterType<SettingsUi>("harbour.tohkbd2.settingsui", 1, 0, "SettingsUi");
- qmlRegisterType<ConsoleModel>("harbour.tohkbd2.ConsoleModel", 1, 0, "ConsoleModel");
QScopedPointer<QGuiApplication> app(SailfishApp::application(argc, argv));
- QTranslator engineeringTranslator;
- engineeringTranslator.load("engineering_en", SailfishApp::pathTo("i18n").toLocalFile());
- app->installTranslator(&engineeringTranslator);
-
QTranslator translator;
- translator.load(QLocale::system().name(), SailfishApp::pathTo("i18n").toLocalFile());
+ translator.load("translations_" + QLocale::system().name(), "/usr/share/harbour-tohkbd2-settingsui/i18n");
app->installTranslator(&translator);
QScopedPointer<QQuickView> view(SailfishApp::createView());
@@ -35,21 +34,9 @@
QQmlEngine *engine = view->engine();
engine->addImageProvider(QLatin1String("tohkbd2"), new IconProvider);
- QString viewMode;
-
- if (argc > 1)
- viewMode = QString(argv[1]);
-
- if (!viewMode.startsWith("--"))
- viewMode = QString();
-
- view->rootContext()->setContextProperty("viewMode", viewMode);
-
view->setSource(SailfishApp::pathTo("qml/tohkbd2-settingsui.qml"));
view->show();
- QObject::connect(engine, SIGNAL(quit()), app.data(), SLOT(quit()));
-
return app->exec();
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/config/com.kimmoli.tohkbd2user.service
^
|
(renamed from dbus/com.kimmoli.tohkbd2user.service)
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/config/com.kimmoli.tohkbd2user.xml
^
|
@@ -0,0 +1,30 @@
+<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
+<node>
+ <interface name="com.kimmoli.tohkbd2user">
+ <method name="getActiveLayout">
+ <arg name="value" type="s" direction="out" />
+ </method>
+ <method name="setActiveLayout">
+ <arg name="value" type="s" direction="in" />
+ </method>
+ <method name="getOrientationLock">
+ <arg name="value" type="s" direction="out" />
+ </method>
+ <method name="setOrientationLock">
+ <arg name="value" type="s" direction="in" />
+ </method>
+ <method name="launchApplication">
+ <arg name="desktopFilename" type="s" direction="in" />
+ </method>
+ <method name="showKeyboardConnectionNotification">
+ <arg name="connected" type="b" direction="in" />
+ </method>
+ <method name="showTaskSwitcher" />
+ <method name="nextAppTaskSwitcher" />
+ <method name="hideTaskSwitcher" />
+ <method name="getVersion">
+ <arg name="value" type="s" direction="out" />
+ </method>
+ <method name="quit" />
+ </interface>
+</node>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_da.ts
^
|
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.0">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Starter %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Tastatur tilsluttet</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Tastatur frakoblet</translation>
+ </message>
+</context>
+</TS>
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_de.ts
^
|
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="de_DE">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Starte %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Tastatur vorhanden</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Tastatur entfernt</translation>
+ </message>
+</context>
+</TS>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_en.ts
^
|
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="en_US">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Launching %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Keyboard connected</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Keyboard removed</translation>
+ </message>
+</context>
+</TS>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_es.ts
^
|
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.0">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Iniciando %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Teclado conectado</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Teclado desconectado</translation>
+ </message>
+</context>
+</TS>
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_fi.ts
^
|
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="fi_FI">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Käynnistetään %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Näppäimistö liitetty</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Näppäimistö irroitettu</translation>
+ </message>
+</context>
+</TS>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_fr.ts
^
|
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.0">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Lancement %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Clavier connecté</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Clavier retiré</translation>
+ </message>
+</context>
+</TS>
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_it.ts
^
|
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.0">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Inizio %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Tastiera collegata</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Tastiera rimosso</translation>
+ </message>
+</context>
+</TS>
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_nl.ts
^
|
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="nl_NL">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>%1 starten</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Toetsenbord verbonden</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Toetsenbord verwijderd</translation>
+ </message>
+</context>
+</TS>
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_no.ts
^
|
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS language="no" version="2.0">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Starter %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Tastatur tilkoblet</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Tastatur fjernet</translation>
+ </message>
+</context>
+</TS>
\ No newline at end of file
|
[-]
[+]
|
Added |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/i18n/translations_sv.ts
^
|
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?><!DOCTYPE TS><TS language="sv" version="2.0">
+<context>
+ <name>UserDaemon</name>
+ <message>
+ <source>Starting %1...</source>
+ <translation>Startar %1...</translation>
+ </message>
+ <message>
+ <source>Keyboard connected</source>
+ <translation>Tangentbord anslutet</translation>
+ </message>
+ <message>
+ <source>Keyboard removed</source>
+ <translation>Tangentbord avlägsnades</translation>
+ </message>
+</context>
+</TS>
\ No newline at end of file
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/qml/taskswitcher.qml
^
|
@@ -1,6 +1,5 @@
import QtQuick 2.1
import Sailfish.Silica 1.0
-import QtSensors 5.0 as Sensors
Item
{
@@ -8,52 +7,24 @@
width: Screen.width
height: Screen.height
- rotation: 0
- Connections
- {
- target: viewHelper
-
- onCurrentAppChanged:
- {
- appName.text = appsModel.get(viewHelper.currentApp).name
- }
+ property int currentApp: viewHelper.currentApp
+ property int numberOfApps: viewHelper.numberOfApps
- onNumberOfAppsChanged:
- {
- if (viewHelper.numberOfApps > 0)
- {
- updateAppsModel()
- appName.text = appsModel.get(viewHelper.currentApp).name
-
- viewHelper.setTouchRegion(Qt.rect(taskSwitchBackground.x,
- taskSwitchBackground.y,
- taskSwitchBackground.width,
- taskSwitchBackground.height))
- }
- }
-
- onStartRemorse:
- {
- remorseTimer.execute(remorsePlaceholder, viewHelper.remorseText)
-
- /* Block all other touches */
- viewHelper.setTouchRegion(Qt.rect(0,0,root.width, root.height))
- }
+ onCurrentAppChanged:
+ {
+ appName.text = appsModel.get(viewHelper.currentApp).name
}
- Sensors.OrientationSensor
+ onNumberOfAppsChanged:
{
- id: rotationSensor
- active: viewHelper.visible || remorseTimer.visible
- property int angle: active ? reading.orientation : 0
- onAngleChanged:
- {
- if (reading.orientation === 3) /* Landscape inverted */
- root.rotation = 180
- else if (reading.orientation === 4) /* Landscape */
- root.rotation = 0
- }
+ updateAppsModel()
+ appName.text = appsModel.get(viewHelper.currentApp).name
+
+ viewHelper.setTouchRegion(Qt.rect(taskSwitchBackground.x,
+ taskSwitchBackground.y,
+ taskSwitchBackground.width,
+ taskSwitchBackground.height))
}
function updateAppsModel()
@@ -82,31 +53,9 @@
opacity: 0.5
}
- Item
- {
- anchors.centerIn: root
- rotation: 90
- width: root.height
- height: Theme.itemSizeLarge
-
- Item
- {
- id: remorsePlaceholder
- anchors.fill: parent
- }
- }
-
- RemorseItem
- {
- id: remorseTimer
- onTriggered: viewHelper.remorseTriggered()
- onCanceled: viewHelper.remorseCancelled()
- }
-
Rectangle
{
id: taskSwitchBackground
- visible: viewHelper.visible
anchors.centerIn: root
anchors.horizontalCenterOffset: Theme.paddingLarge
color: Theme.rgba(Theme.highlightBackgroundColor, Theme.highlightBackgroundOpacity)
@@ -114,66 +63,66 @@
width: Theme.itemSizeLarge * taskSwitchGrid.rows + 2 * Theme.paddingLarge
height: Theme.itemSizeLarge * taskSwitchGrid.columns + Theme.paddingLarge
clip: true
+ }
- Label
- {
- id: appName
- rotation: 90
- anchors.centerIn: taskSwitchBackground
- anchors.horizontalCenterOffset: Theme.paddingSmall + (Theme.itemSizeLarge * (taskSwitchGrid.rows/2))
- text: "???"
- font.pixelSize: Theme.fontSizeSmall
- color: Theme.primaryColor
- }
+ Label
+ {
+ id: appName
+ rotation: 90
+ anchors.centerIn: taskSwitchBackground
+ anchors.horizontalCenterOffset: Theme.paddingSmall + (Theme.itemSizeLarge * (taskSwitchGrid.rows/2))
+ text: "???"
+ font.pixelSize: Theme.fontSizeSmall
+ color: Theme.primaryColor
+ }
+
+ Grid
+ {
+ id: taskSwitchGrid
+ anchors.centerIn: taskSwitchBackground
+ anchors.horizontalCenterOffset: -Theme.paddingLarge/2
+ rotation: 90
+ property int i : appsModel.count
+ columns: (i<6) ? i : ((i<12) ? ((i%2 == 0) ? i/2 : i/2 +1) : ((i%3 == 0) ? i/3 : i/3 +1))
+ rows: (i<6) ? 1 : ((i<12) ? 2 : 3)
- Grid
+ Repeater
{
- id: taskSwitchGrid
- anchors.centerIn: taskSwitchBackground
- anchors.horizontalCenterOffset: -Theme.paddingLarge/2
- rotation: 90
- property int i : appsModel.count
- columns: (i<6) ? i : ((i<12) ? ((i%2 == 0) ? i/2 : i/2 +1) : ((i%3 == 0) ? i/3 : i/3 +1))
- rows: (i<6) ? 1 : ((i<12) ? 2 : 3)
+ id: appIconRepeater
+ model: appsModel
- Repeater
+ Item
{
- id: appIconRepeater
- model: appsModel
+ width: Theme.itemSizeLarge
+ height: Theme.itemSizeLarge
- Item
+ Rectangle
{
- width: Theme.itemSizeLarge
- height: Theme.itemSizeLarge
+ id: appIconBackground
+ anchors.fill: parent
+ color: viewHelper.currentApp === index ? Theme.highlightColor : "transparent"
+ opacity: 0.7
+ radius: Theme.paddingSmall
+ }
- Rectangle
- {
- id: appIconBackground
- anchors.fill: parent
- color: viewHelper.currentApp === index ? Theme.highlightColor : "transparent"
- opacity: 0.7
- radius: Theme.paddingSmall
- }
-
- Image
- {
- id: appIcon
- anchors.centerIn: appIconBackground
- source: iconId
- property real size: Theme.iconSizeLauncher
-
- sourceSize.width: size
- sourceSize.height: size
- width: size
- height: size
- }
-
- MouseArea
- {
- anchors.fill: parent
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/src/tohkbd2user.cpp
^
|
@@ -16,23 +16,16 @@
#include <QQmlContext>
#include <QScopedPointer>
#include <QTimer>
-#include <QDir>
-#include <QFile>
-#include <QResource>
#include <sailfishapp.h>
#include "userdaemon.h"
-#include "../dbus/src/userdaemonAdaptor.h"
+#include "adaptor.h"
#include "viewhelper.h"
-#include "applauncher.h"
-#include "screenshot.h"
+
int main(int argc, char **argv)
{
- /* To make remorse timer run without steroids */
- setenv("QSG_RENDER_LOOP", "basic", 1);
-
QScopedPointer<QGuiApplication> app(SailfishApp::application(argc, argv));
QScopedPointer<QQuickView> view(SailfishApp::createView());
QObject::connect(view->engine(), SIGNAL(quit()), app.data(), SLOT(quit()));
@@ -48,14 +41,6 @@
view->setClearBeforeRendering(true);
- QTranslator engineeringTranslator;
- engineeringTranslator.load("engineering_en", SailfishApp::pathTo("i18n").toLocalFile());
- app->installTranslator(&engineeringTranslator);
-
- QTranslator translator;
- translator.load(QLocale::system().name(), SailfishApp::pathTo("i18n").toLocalFile());
- app->installTranslator(&translator);
-
view->setSource(SailfishApp::pathTo("qml/taskswitcher.qml"));
QTimer::singleShot(1, helper.data(), SLOT(detachWindow()));
@@ -75,21 +60,10 @@
QObject::connect(&rw, SIGNAL(_showTaskSwitcher()), helper.data(), SLOT(showWindow()));
QObject::connect(&rw, SIGNAL(_hideTaskSwitcher()), helper.data(), SLOT(hideWindow()));
QObject::connect(&rw, SIGNAL(_nextAppTaskSwitcher()), helper.data(), SLOT(nextApp()));
- QObject::connect(&rw, SIGNAL(_requestActionWithRemorse(QString)), helper.data(), SLOT(requestActionWithRemorse(QString)));
- AppLauncher al;
-
- QObject::connect(&al, SIGNAL(launchSuccess(QString)), &rw, SLOT(launchSuccess(QString)));
- QObject::connect(&al, SIGNAL(launchFailed()), &rw, SLOT(launchFailed()));
- QObject::connect(&rw, SIGNAL(_lauchApplication(QString)), &al, SLOT(launchApplication(QString)));
- QObject::connect(helper.data(), SIGNAL(_launchApplication(QString)), &al, SLOT(launchApplication(QString)));
-
- ScreenShot ss;
-
- QObject::connect(&rw, SIGNAL(_takeScreenShot()), &ss, SLOT(takeScreenShot()));
-
- QDBusConnection::sessionBus().connect("org.freedesktop.Notifications", "/org/freedesktop/Notifications", "org.freedesktop.Notifications", "ActionInvoked",
- &ss, SLOT(handleNotificationActionInvoked(const QDBusMessage&)));
+ QTranslator translator;
+ translator.load("translations_" + QLocale::system().name(), "/usr/share/harbour-tohkbd2-user/i18n");
+ app->installTranslator(&translator);
return app->exec();
}
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/src/userdaemon.cpp
^
|
@@ -1,8 +1,5 @@
#include <stdio.h>
#include <sailfishapp.h>
-#include <QHostAddress>
-#include <QtSystemInfo/QDeviceInfo>
-
#include "userdaemon.h"
static const char *SERVICE = SERVICE_NAME;
@@ -12,30 +9,6 @@
QObject(parent)
{
m_dbusRegistered = false;
- m_launchPending = false;
-
- installKeymaps(false);
-
- physicalLayout = new MGConfItem("/desktop/lipstick-jolla-home/layout");
- connect(physicalLayout, SIGNAL(valueChanged()), this, SLOT(handlePhysicalLayout()));
-
- unsupportedLayoutNotificationBlocker = new QTimer(this);
- unsupportedLayoutNotificationBlocker->setSingleShot(true);
- unsupportedLayoutNotificationBlocker->setInterval(15000);
-
- /* Remove tohkbd from enabled layouts if vkb is hidden by maliit.
- * The related PR is merged in maliit-framework and should be in 2.0 */
- if (checkSailfishVersion("2.0.0.0"))
- {
- QString tohlayout("harbour-tohkbd2.qml");
- MGConfItem el("/sailfish/text_input/enabled_layouts");
- QStringList list = el.value().toStringList();
- if (list.contains(tohlayout))
- {
- list.removeAll(tohlayout);
- el.set(list);
- }
- }
}
UserDaemon::~UserDaemon()
@@ -87,22 +60,6 @@
MGConfItem ci("/sailfish/text_input/active_layout");
ci.set(value);
-
- QString tohlayout("harbour-tohkbd2.qml");
- MGConfItem el("/sailfish/text_input/enabled_layouts");
- QStringList list = el.value().toStringList();
- if (value.compare(tohlayout) == 0) {
- if (!list.contains(tohlayout)) {
- list.append(tohlayout);
- el.set(list);
- }
- }
- else {
- if (list.contains(tohlayout)) {
- list.removeAll(tohlayout);
- el.set(list);
- }
- }
}
else
{
@@ -138,38 +95,31 @@
{
MGConfItem ci("/lipstick/orientationLock");
- QString orientation = ci.value().toString();
-
- /* Assume orientation to be "dynamic" if returns empty */
-
- if (orientation.isEmpty())
- orientation = "dynamic";
+ printf("tohkbd2-user: orientation lock is \"%s\"\n", qPrintable(ci.value().toString()));
- printf("tohkbd2-user: orientation lock is \"%s\"\n", qPrintable(orientation));
-
- return orientation;
+ return ci.value().toString();
}
void UserDaemon::launchApplication(const QString &desktopFilename)
{
- m_launchPending = true;
- emit _lauchApplication(desktopFilename);
+ MDesktopEntry app(desktopFilename);
+
+ printf("tohkbd2-user: starting \"%s\"\n" ,qPrintable(app.name()));
+
+ showNotification(tr("Starting %1...").arg(app.name()));
+
+ QProcess proc;
+ proc.startDetached("/usr/bin/xdg-open" , QStringList() << desktopFilename);
+
+ QThread::msleep(100);
}
void UserDaemon::showKeyboardConnectionNotification(const bool &connected)
{
if (connected)
- {
- //: Notification shown when keyboard is connected
- //% "Keyboard connected"
- showNotification(qtTrId("keyb-connected"));
- }
+ showNotification(tr("Keyboard connected"));
else
- {
- //: Notification shown when keyboard is removed
- //% "Keyboard removed"
- showNotification(qtTrId("keyb-removed"));
- }
+ showNotification(tr("Keyboard removed"));
}
QString UserDaemon::getVersion()
@@ -177,134 +127,14 @@
return QString(APPVERSION);
}
-void UserDaemon::launchSuccess(const QString &appName)
-{
- if (m_launchPending)
- {
- //: Notification shown when application is started by pressing shortcut key
- //% "Starting %1..."
- showNotification(qtTrId("starting-app").arg(appName));
- }
- m_launchPending = false;
-}
-
-void UserDaemon::launchFailed()
-{
- m_launchPending = false;
-}
+/******** PRIV *********/
/* show notification
*/
-void UserDaemon::showNotification(const QString &text)
-{
- Notification notif;
-
- notif.setPreviewBody(text);
- notif.setCategory("x-harbour.tohkbd2");
- notif.publish();
-}
-
-void UserDaemon::actionWithRemorse(const QString &action)
-{
- printf("tohkbd2-user: requested %s.\n", qPrintable(action));
-
- emit _requestActionWithRemorse(action);
-}
-
-void UserDaemon::handlePhysicalLayout()
+void UserDaemon::showNotification(QString text)
{
- emit physicalLayoutChanged(getActivePhysicalLayout());
-}
-
-QString UserDaemon::getActivePhysicalLayout()
-{
- return physicalLayout->value().toString();
-}
-
-QString UserDaemon::getPathTo(const QString &filename)
-{
- if (filename == "keymaplocation")
- {
- return QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + KEYMAP_FOLDER;
- }
-
- return SailfishApp::pathTo(filename).toLocalFile();
-}
-
-void UserDaemon::showUnsupportedLayoutNotification()
-{
- /* Do not spam with notifications */
- if (unsupportedLayoutNotificationBlocker->isActive())
- return;
-
- //: Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.
- //% "The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing."
- showNotification(qtTrId("layout-unsupported"));
-
- unsupportedLayoutNotificationBlocker->start();
-}
-
-void UserDaemon::installKeymaps(const bool &overwrite)
-{
- QDir keymapfolder(QStandardPaths::writableLocation(QStandardPaths::ConfigLocation) + KEYMAP_FOLDER);
- keymapfolder.mkpath(".");
-
- QDir keymapRes(":/layouts/");
- QFileInfoList list = keymapRes.entryInfoList();
-
- int i;
- for (i=0 ; i < list.size() ; i++)
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/src/userdaemon.h
^
|
@@ -4,11 +4,10 @@
#include <QObject>
#include <QtDBus/QtDBus>
#include <mlite5/MGConfItem>
-#include <nemonotifications-qt5/notification.h>
+#include <mlite5/MNotification>
#include <mlite5/MDesktopEntry>
#define SERVICE_NAME "com.kimmoli.tohkbd2user"
-#define KEYMAP_FOLDER "/harbour-tohkbd2"
class QDBusInterface;
class UserDaemon : public QObject
@@ -25,10 +24,6 @@
void _showTaskSwitcher();
void _nextAppTaskSwitcher();
void _hideTaskSwitcher();
- void _lauchApplication(const QString &desktoFilename);
- void _requestActionWithRemorse(const QString &action);
- void _takeScreenShot();
- void physicalLayoutChanged(QString layout);
public slots:
QString getActiveLayout();
@@ -41,27 +36,12 @@
void showTaskSwitcher() { emit _showTaskSwitcher(); }
void nextAppTaskSwitcher() { emit _nextAppTaskSwitcher(); }
void hideTaskSwitcher() { emit _hideTaskSwitcher(); }
- void actionWithRemorse(const QString &action);
- void takeScreenShot() { emit _takeScreenShot(); }
- QString getActivePhysicalLayout();
- QString getPathTo(const QString &filename);
- void showUnsupportedLayoutNotification();
- void installKeymaps(const bool &overwrite);
- void setKeymapLayout(const QString &value);
- void setKeymapVariant(const QString &value);
void quit();
- void launchSuccess(const QString &appName);
- void launchFailed();
- void handlePhysicalLayout();
-
private:
- void showNotification(const QString &text);
- bool checkSailfishVersion(QString versionToCompare);
bool m_dbusRegistered;
- bool m_launchPending;
- MGConfItem *physicalLayout;
- QTimer *unsupportedLayoutNotificationBlocker;
+ void showNotification(QString text);
+
};
#endif // UserDaemon_H
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/src/viewhelper.cpp
^
|
@@ -6,7 +6,6 @@
#include <QDir>
#include <qpa/qplatformnativeinterface.h>
#include <QFileInfo>
-#include "../daemon/src/defaultSettings.h"
ViewHelper::ViewHelper(QQuickView *parent) :
QObject(parent),
@@ -14,16 +13,12 @@
{
m_currentApp = 0;
m_numberOfApps = 0;
- m_visible = false;
-
- mruList.clear();
apps.clear();
appsDesktopFiles.clear();
emit currentAppChanged();
emit numberOfAppsChanged();
- emit visibleChanged();
}
void ViewHelper::detachWindow()
@@ -54,8 +49,6 @@
void ViewHelper::hideWindow()
{
- m_visible = false;
- emit visibleChanged();
launchApplication(m_currentApp);
}
@@ -74,8 +67,7 @@
{
if ((pr.at(i).contains("invoker") && pr.at(i).contains("silica")) ||
pr.at(i).contains("jolla-") ||
- pr.at(i).contains("sailfish-") ||
- (pr.at(i).contains("invoker") && pr.at(i).contains("fingerterm")))
+ pr.at(i).contains("sailfish-"))
{
cmd << pr.at(i);
}
@@ -105,7 +97,9 @@
QFileInfoList list;
QDir dir;
QStringList desktops;
- QStringList runningApps;
+
+ apps.clear();
+ appsDesktopFiles.clear();
dir.setPath("/usr/share/applications/");
dir.setFilter(QDir::Files | QDir::NoDotAndDotDot | QDir::NoSymLinks);
@@ -125,68 +119,36 @@
for (int m = 0 ; m < exec.count() ; m++)
{
- if (app.exec().contains(exec.at(m)) && app.isValid() && !app.hidden() && !app.noDisplay() && desktops.at(i).contains(exec.at(m).split("/").last()))
+ if (app.exec().contains(exec.at(m)) && app.isValid() && !app.hidden() && !app.noDisplay())
{
- /* This is newly started app, not in our list. it goes to first */
- if (!appsDesktopFiles.contains(desktops.at(i)))
- {
- printf("tohkbd2-user: new app found %s\n", qPrintable(desktops.at(i)));
+ map.clear();
+ map.insert("name", app.name());
+ if (app.icon().startsWith("icon-launcher-") || app.icon().startsWith("icon-l-") || app.icon().startsWith("icons-Applications"))
+ map.insert("iconId", QString("image://theme/%1").arg(app.icon()));
+ else if (app.icon().startsWith("/"))
+ map.insert("iconId", QString("%1").arg(app.icon()));
+ else
+ map.insert("iconId", QString("/usr/share/icons/hicolor/86x86/apps/%1.png").arg(app.icon()));
- map.clear();
- map.insert("name", app.name());
- if (app.icon().startsWith("icon-launcher-") || app.icon().startsWith("icon-l-") || app.icon().startsWith("icons-Applications"))
- map.insert("iconId", QString("image://theme/%1").arg(app.icon()));
- else if (app.icon().startsWith("/"))
- map.insert("iconId", QString("%1").arg(app.icon()));
- else
- map.insert("iconId", QString("/usr/share/icons/hicolor/86x86/apps/%1.png").arg(app.icon()));
-
- apps.prepend(map);
- appsDesktopFiles.prepend(desktops.at(i));
- runningApps.prepend(desktops.at(i));
- }
- else /* It is already there, nothing to do */
- {
- printf("tohkbd2-user: existing app %s\n", qPrintable(desktops.at(i)));
- runningApps.append(desktops.at(i));
- }
+ apps.append(map);
+ appsDesktopFiles.append(desktops.at(i));
- exec.removeAt(m);
+ printf("tohkbd2-user: %s\n", qPrintable(desktops.at(i)));
- if (runningApps.count() > 15)
+ if (apps.count() > 15)
break;
}
}
- if (runningApps.count() > 15)
+ if (apps.count() > 15)
break;
}
- for (int i = 0 ; i < appsDesktopFiles.count() ; i++)
- {
- if (!runningApps.contains(appsDesktopFiles.at(i)))
- {
- printf("tohkbd2-user: removing app %s\n", qPrintable(appsDesktopFiles.at(i)));
- appsDesktopFiles.removeAt(i);
- apps.removeAt(i);
- }
- }
+ m_numberOfApps = apps.count();
- /* Force updating the model in QML */
- m_numberOfApps = 0;
- emit numberOfAppsChanged();
-
- m_numberOfApps = appsDesktopFiles.count();
emit numberOfAppsChanged();
if (m_numberOfApps > 1)
- {
- m_currentApp = 1;
- emit currentAppChanged();
-
view->showFullScreen();
- m_visible = true;
- emit visibleChanged();
- }
}
void ViewHelper::nextApp()
@@ -207,11 +169,6 @@
return m_numberOfApps;
}
-bool ViewHelper::getVisible()
-{
- return m_visible;
-}
-
/* Testing */
void ViewHelper::setNumberOfApps(int n)
{
@@ -224,6 +181,7 @@
}
emit numberOfAppsChanged();
+
}
void ViewHelper::setCurrentApp(int n)
@@ -234,79 +192,16 @@
void ViewHelper::launchApplication(int n)
{
- QString desktopFile = appsDesktopFiles.at(n);
-
- printf("tohkbd2-user: Starting %s\n", qPrintable(desktopFile));
+ printf("tohkbd2-user: Starting %s\n", qPrintable(appsDesktopFiles.at(n)));
view->hide();
- /* Put this launched app to first of the list */
- appsDesktopFiles.prepend(appsDesktopFiles.takeAt(n));
- apps.prepend(apps.takeAt(n));
-
- emit _launchApplication(desktopFile);
+ QProcess proc;
+ proc.startDetached("/usr/bin/xdg-open" , QStringList() << appsDesktopFiles.at(n));
+ QThread::msleep(100);
}
QVariantList ViewHelper::getCurrentApps()
{
return apps;
}
-
-/*
- * Reboot related stuff
- */
-void ViewHelper::requestActionWithRemorse(const QString &action)
-{
- m_remorseAction = action;
-
- if (m_remorseAction == ACTION_REBOOT_REMORSE)
- {
- view->showFullScreen();
-
- //: Remorse timer text, "Rebooting" in 5 seconds
- //% "Rebooting"
- m_remorseText = qtTrId("reboot-remorse");
- emit remorseTextChanged();
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/src/viewhelper.h
^
|
@@ -14,8 +14,6 @@
Q_OBJECT
Q_PROPERTY(int currentApp READ getCurrentApp NOTIFY currentAppChanged())
Q_PROPERTY(int numberOfApps READ getNumberOfApps NOTIFY numberOfAppsChanged())
- Q_PROPERTY(bool visible READ getVisible NOTIFY visibleChanged)
- Q_PROPERTY(QString remorseText READ getRemorseText NOTIFY remorseTextChanged)
public:
explicit ViewHelper(QQuickView *parent = 0);
@@ -25,23 +23,16 @@
Q_INVOKABLE void setCurrentApp(int n);
Q_INVOKABLE void setNumberOfApps(int n);
Q_INVOKABLE void setTouchRegion(const QRect &rect);
- Q_INVOKABLE void remorseTriggered();
- Q_INVOKABLE void remorseCancelled();
signals:
void currentAppChanged();
void numberOfAppsChanged();
- void visibleChanged();
- void _launchApplication(const QString &desktopFilename);
- void startRemorse();
- void remorseTextChanged();
public slots:
void detachWindow();
void hideWindow();
void showWindow();
void nextApp();
- void requestActionWithRemorse(const QString &action);
private:
void setMouseRegion(const QRegion ®ion);
@@ -49,20 +40,11 @@
int getCurrentApp();
int getNumberOfApps();
- bool getVisible();
- QString getRemorseText() { return m_remorseText; }
-
int m_numberOfApps;
int m_currentApp;
- bool m_visible;
-
QVariantList apps;
QStringList appsDesktopFiles;
- QStringList mruList;
-
- QString m_remorseAction;
- QString m_remorseText;
};
#endif // VIEWHELPER_H
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-ambience-tohkbd2-0.1.0.tar.bz2/user-daemon/user-daemon.pro
^
|
@@ -1,58 +1,57 @@
TARGET = harbour-tohkbd2-user
CONFIG += sailfishapp link_pkgconfig
-PKGCONFIG += sailfishapp mlite5 nemonotifications-qt5
-PKGCONFIG += Qt5SystemInfo
+PKGCONFIG += sailfishapp mlite5
-QT += dbus network gui-private
+QT += dbus gui-private
+
+# DBus
+system(qdbusxml2cpp config/com.kimmoli.tohkbd2user.xml -i src/userdaemon.h -a src/adaptor)
+
+#system(lupdate src -ts $$PWD/i18n/*.ts)
+system(lrelease $$PWD/i18n/*.ts)
-system(lupdate src qml -no-obsolete -ts $$PWD/i18n/engineering_en.ts)
-system(lrelease -idbased $$PWD/i18n/*.ts)
DEFINES += "APPVERSION=\\\"$${SPECVERSION}\\\""
+dbusService.files = config/com.kimmoli.tohkbd2user.service
+dbusService.path = /usr/share/dbus-1/services/
+
+dbusInterface.files = config/com.kimmoli.tohkbd2user.xml
+dbusInterface.path = /usr/share/dbus-1/interfaces/
+
translations.path = /usr/share/$${TARGET}/i18n
-translations.files = i18n/*.qm
+translations.files = i18n/translations_*.qm
icons.path = /usr/share/$${TARGET}
-icons.files = config/icon-system-keyboard.png \
- config/icon-lock-tohkbd2.png
-
-notificationCategories.path = /usr/share/lipstick/notificationcategories
-notificationCategories.files = config/x-harbour.tohkbd2.conf \
- config/x-harbour.tohkbd2.screenshot.conf
+icons.files = config/icon-system-keyboard.png
-INSTALLS += translations icons notificationCategories
+INSTALLS += dbusService dbusInterface translations icons
message($${DEFINES})
SOURCES += \
src/tohkbd2user.cpp \
- ../dbus/src/userdaemonAdaptor.cpp \
+ src/adaptor.cpp \
src/userdaemon.cpp \
- src/viewhelper.cpp \
- src/applauncher.cpp \
- src/screenshot.cpp
-
-HEADERS += \
- ../dbus/src/userdaemonAdaptor.h \
- src/userdaemon.h \
- src/viewhelper.h \
- src/applauncher.h \
- src/screenshot.h
-
-RESOURCES += \
- config/keymaps.qrc
+ src/viewhelper.cpp
OTHER_FILES += \
- harbour-tohkbd2-user.desktop \
+ config/com.kimmoli.tohkbd2user.service \
+ config/com.kimmoli.tohkbd2user.xml \
config/icon-system-keyboard.png \
- config/icon-lock-tohkbd2.png \
- config/x-harbour.tohkbd2.conf \
- config/x-harbour.tohkbd2.screenshot.conf \
- i18n/*.ts \
- qml/taskswitcher.qml \
- config/layouts/*.tohkbdmap \
- config/x-harbour.tohkbd2.conf \
- config/x-harbour.tohkbd2.screenshot.conf
+ i18n/translations_en.ts \
+ i18n/translations_fi.ts \
+ i18n/translations_nl.ts \
+ i18n/translations_de.ts \
+ i18n/translations_da.ts \
+ i18n/translations_fr.ts \
+ i18n/translations_it.ts \
+ i18n/translations_no.ts \
+ i18n/translations_sv.ts \
+ qml/taskswitcher.qml
+HEADERS += \
+ src/adaptor.h \
+ src/userdaemon.h \
+ src/viewhelper.h
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/daemon/src/modifierhandler.cpp
^
|
@@ -1,136 +0,0 @@
-#include <stdio.h>
-#include "modifierhandler.h"
-
-QStringList modifierHandler::KeyModeNames = QStringList()
- << "Normal" << "Sticky" << "Lock" << "Cycle";
-
-modifierHandler::modifierHandler(QString name, QObject *parent) :
- QObject(parent)
-{
- _name = name;
-
- mode = Normal;
- pressed = false;
- down = false;
- locked = false;
-
- _wasHeldDown = false;
- _lockCount = 0;
-
- verboseMode = false;
-
- printf("modifierHandler for \"%s\"\n", qPrintable(_name));
-}
-
-void modifierHandler::set(bool state, bool alone)
-{
- bool newPressed = pressed;
-
- /* In normal mode, just follow the state */
- if (mode == Normal)
- {
- newPressed = state;
- }
- else
- {
- /* sticky or lock, but held while another key is being presed */
- if ((mode == Sticky || mode == Lock || mode == Cycle) && state && down && !alone)
- {
- _wasHeldDown = true;
- }
-
- /* If something was pressed while held, release when released */
- if ((mode == Sticky || mode == Lock || mode == Cycle) && !state && _wasHeldDown)
- {
- _wasHeldDown = false;
- _lockCount = 0;
- locked = false;
- newPressed = false;
- }
- /* Just pressing toggles if sticky */
- else if (mode == Sticky && state && alone && !_wasHeldDown)
- {
- newPressed = !pressed;
- }
- /* Reset lock count if anything else pressed */
- else if ((mode == Lock || mode == Cycle) && !locked && !alone && _lockCount != 3)
- {
- _lockCount = 0;
- }
- /* If just modifier key is pressed */
- else if ((mode == Lock || mode == Cycle) && alone)
- {
- if (!down && state && (_lockCount == 0))
- {
- newPressed = true;
- _lockCount = 1;
- }
- else if (down && !state && (_lockCount == 1))
- {
- newPressed = (mode == Cycle);
- _lockCount = 2;
- }
- else if (!down && state && (_lockCount == 2))
- {
- _lockCount = 3;
- newPressed = true;
- locked = true;
- }
- else if (!down && state && (_lockCount == 3))
- {
- _lockCount = 0;
- newPressed = true;
- locked = false;
- }
- else if (down && !state && (_lockCount == 0))
- {
- newPressed = false;
- }
- }
- }
-
- down = state;
-
- /* So, was the pressed -state actually to be changed? */
- if (newPressed != pressed)
- {
- pressed = newPressed;
-
- if (verboseMode)
- printf("%s changed to %s\n", qPrintable(_name), pressed ? "down" : "up");
-
- emit changed();
- }
-}
-
-void modifierHandler::clear(bool force)
-{
- /* If there is something to clear, clear */
- if ((pressed && !down && !locked) || force)
- {
- locked = false;
- _lockCount = 0;
- _wasHeldDown = false;
-
- pressed = false;
- emit changed();
- }
-}
-
-void modifierHandler::setMode(KeyMode newMode)
-{
- /* Change mode and clear states */
- if (newMode != mode)
- {
- mode = newMode;
- clear(true);
-
- if (verboseMode)
- printf("%s mode set to %s\n", qPrintable(_name), qPrintable(KeyModeNames.at(mode)));
- }
-}
-
-modifierHandler::KeyMode modifierHandler::toKeyMode(const QString &modename)
-{
- return (KeyMode)KeyModeNames.indexOf(modename);
-}
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/daemon/src/modifierhandler.h
^
|
@@ -1,47 +0,0 @@
-#ifndef MODIFIERHANDLER_H
-#define MODIFIERHANDLER_H
-
-#include <QObject>
-#include <QStringList>
-
-class modifierHandler : public QObject
-{
- Q_OBJECT
-public:
- explicit modifierHandler(QString name, QObject *parent = 0);
-
- typedef enum KeyMode
- {
- Normal = 0,
- Sticky,
- Lock,
- Cycle
- } KeyMode;
-
- static QStringList KeyModeNames;
- static KeyMode toKeyMode(const QString &modename);
-
- void setMode(KeyMode newMode);
- KeyMode mode;
-
- void set(bool state, bool alone);
- void clear(bool force = false);
-
- bool pressed;
- bool down;
- bool locked;
-
- bool verboseMode;
-
-signals:
- void changed();
-
-public slots:
-
-private:
- QString _name;
- bool _wasHeldDown;
- int _lockCount;
-};
-
-#endif // MODIFIERHANDLER_H
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/daemon/src/uinputevpoll.cpp
^
|
@@ -1,127 +0,0 @@
-#include "uinputevpoll.h"
-#include <stdio.h>
-#include <sys/epoll.h>
-#include <unistd.h>
-#include <errno.h>
-#include <linux/input.h>
-
-UinputEvPoll::UinputEvPoll(QObject *parent) :
- QObject(parent)
-{
- _polling = false;
- _abort = false;
- _uinputfd = -1;
-}
-
-void UinputEvPoll::abort()
-{
- mutex.lock();
- if (_polling)
- {
- _abort = true;
- }
- mutex.unlock();
-}
-
-void UinputEvPoll::requestPolling(int fd)
-{
- mutex.lock();
- _polling = true;
- _abort = false;
- _uinputfd = fd;
- mutex.unlock();
-
- emit pollingRequested();
-}
-
-void UinputEvPoll::doPoll()
-{
- int epfd;
- int ret;
- int i;
- struct epoll_event ev;
- struct epoll_event evs[16];
-
- epfd = epoll_create1(0);
-
- if (epfd < 0)
- {
- printf("failed to create epoll instance\n");
-
- emit finished();
- return;
- }
-
- memset(&ev, 0, sizeof(ev));
- ev.events = EPOLLIN;
- ev.data.fd = _uinputfd;
-
- ret = epoll_ctl(epfd, EPOLL_CTL_ADD, _uinputfd, &ev);
- if (ret)
- {
- printf("Couldn't add to epoll\n");
- close(epfd);
-
- emit finished();
- return;
- }
-
- printf("starting caps lock led polling.\n");
-
- for (;;)
- {
- // Checks if the process should be aborted
- mutex.lock();
- bool abort = _abort;
- mutex.unlock();
-
- if (abort)
- {
- break;
- }
-
- ret = epoll_wait(epfd, evs, 16, -1);
-
- if (ret < 0)
- {
- if (errno == EINTR)
- continue;
- else
- break;
- }
-
- for (i = 0 ; i<ret ; i++)
- {
- readKeyboard(evs[i].data.fd);
- }
- }
-
- close(epfd);
-
- emit finished();
-}
-
-void UinputEvPoll::readKeyboard(int fd)
-{
- ssize_t len;
- struct input_event evs[16];
-
- while ((len = read(fd, &evs, sizeof(evs))) > 0)
- {
- const size_t nevs = len / sizeof(struct input_event);
- size_t i;
- for (i = 0; i < nevs; i++)
- {
- if (evs[i].type == EV_LED && evs[i].code == LED_CAPSL)
- {
- emit capsLockLedChanged(evs[i].value == 1);
- }
- }
- }
-
- if (len < 0 && errno != EWOULDBLOCK)
- {
- printf("Couldn't read, %s\n", strerror(errno));
- return;
- }
-}
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/daemon/src/uinputevpoll.h
^
|
@@ -1,35 +0,0 @@
-#ifndef UINPUTEVPOLL_H
-#define UINPUTEVPOLL_H
-
-#include <QObject>
-#include <QMutex>
-
-class UinputEvPoll : public QObject
-{
- Q_OBJECT
-public:
- explicit UinputEvPoll(QObject *parent = 0);
-
- void requestPolling(int fd);
- void abort();
-
-signals:
- void capsLockLedChanged(bool state);
- void pollingRequested();
- void finished();
-
-public slots:
- void doPoll();
-
-private:
- bool _polling;
- bool _abort;
- int _uinputfd;
-
- QMutex mutex;
-
- void readKeyboard(int fd);
-
-};
-
-#endif // UINPUTEVPOLL_H
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/dbus/com.kimmoli.tohkbd2.xml
^
|
@@ -1,24 +0,0 @@
-<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
-<node>
- <interface name="com.kimmoli.tohkbd2">
- <method name="getVersion">
- <arg name="value" type="s" direction="out" />
- </method>
- <method name="quit" />
- <method name="setShortcut">
- <arg name="key" type="s" direction="in" />
- <arg name="appPath" type="s" direction="in" />
- </method>
- <method name="setShortcutsToDefault" />
- <method name="setSetting">
- <arg name="key" type="s" direction="in" />
- <arg name="value" type="v" direction="in" />
- </method>
- <method name="forceKeymapReload">
- <arg name="layout" type="s" direction="in" />
- </method>
- <signal name="keyboardConnectedChanged">
- <arg name="connected" type="b" direction="out" />
- </signal>
- </interface>
-</node>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/dbus/com.kimmoli.tohkbd2settingsui.service
^
|
@@ -1,3 +0,0 @@
-[D-BUS Service]
-Name=com.kimmoli.tohkbd2settingsui
-Exec=/usr/bin/invoker --type=silica-qt5 -s -n -d 5 /usr/bin/harbour-tohkbd2-settingsui --showhelp
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/dbus/com.kimmoli.tohkbd2settingsui.xml
^
|
@@ -1,6 +0,0 @@
-<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
-<node>
- <interface name="com.kimmoli.tohkbd2settingsui">
- <method name="showHelp" />
- </interface>
-</node>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/dbus/com.kimmoli.tohkbd2user.xml
^
|
@@ -1,54 +0,0 @@
-<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
-<node>
- <interface name="com.kimmoli.tohkbd2user">
- <method name="getActiveLayout">
- <arg name="value" type="s" direction="out" />
- </method>
- <method name="setActiveLayout">
- <arg name="value" type="s" direction="in" />
- </method>
- <method name="getOrientationLock">
- <arg name="value" type="s" direction="out" />
- </method>
- <method name="setOrientationLock">
- <arg name="value" type="s" direction="in" />
- </method>
- <method name="launchApplication">
- <arg name="desktopFilename" type="s" direction="in" />
- </method>
- <method name="showKeyboardConnectionNotification">
- <arg name="connected" type="b" direction="in" />
- </method>
- <method name="showTaskSwitcher" />
- <method name="nextAppTaskSwitcher" />
- <method name="hideTaskSwitcher" />
- <method name="actionWithRemorse">
- <arg name="action" type="s" direction="in" />
- </method>
- <method name="getVersion">
- <arg name="value" type="s" direction="out" />
- </method>
- <method name="takeScreenShot" />
- <method name="getActivePhysicalLayout">
- <arg name="value" type="s" direction="out" />
- </method>
- <method name="getPathTo">
- <arg name="file" type="s" direction="in" />
- <arg name="path" type="s" direction="out" />
- </method>
- <method name="showUnsupportedLayoutNotification" />
- <method name="installKeymaps">
- <arg name="overwrite" type="b" direction="in" />
- </method>
- <method name="setKeymapLayout">
- <arg name="value" type="s" direction="in" />
- </method>
- <method name="setKeymapVariant">
- <arg name="value" type="s" direction="in" />
- </method>
- <method name="quit" />
- <signal name="physicalLayoutChanged">
- <arg name="layout" type="s" direction="out" />
- </signal>
- </interface>
-</node>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/dbus/dbus.pro
^
|
@@ -1,49 +0,0 @@
-# tohkbd2 D-Bus related stuff
-#
-# kimmoli 2015
-
-TEMPLATE = aux
-
-# generate dbus interface and adaptor sources from xml templates
-
-# user-daemon
-system(qdbusxml2cpp com.kimmoli.tohkbd2user.xml -i ../user-daemon/src/userdaemon.h -a ../dbus/src/userdaemonAdaptor)
-system(qdbusxml2cpp com.kimmoli.tohkbd2user.xml -p ../dbus/src/userdaemonInterface)
-
-# daemom
-system(qdbusxml2cpp com.kimmoli.tohkbd2.xml -i ../daemon/src/tohkeyboard.h -a ../dbus/src/daemonAdaptor)
-system(qdbusxml2cpp com.kimmoli.tohkbd2.xml -p ../dbus/src/daemonInterface)
-
-# settings-ui
-system(qdbusxml2cpp com.kimmoli.tohkbd2settingsui.xml -i ../settings-ui/src/settingsui.h -a ../dbus/src/settingsuiAdaptor)
-system(qdbusxml2cpp com.kimmoli.tohkbd2settingsui.xml -p ../dbus/src/settingsuiInterface)
-
-# Install dbus related files
-
-dbus_services.path = /usr/share/dbus-1/services/
-dbus_services.files = com.kimmoli.tohkbd2settingsui.service \
- com.kimmoli.tohkbd2user.service
-
-interfaces.path = /usr/share/dbus-1/interfaces/
-interfaces.files = com.kimmoli.tohkbd2settingsui.xml \
- com.kimmoli.tohkbd2user.xml
-
-systemd_services.path = /lib/systemd/system/
-systemd_services.files = harbour-tohkbd2.service
-
-busconfig.path = /etc/dbus-1/system.d/
-busconfig.files = harbour-tohkbd2.conf
-
-INSTALLS = dbus_services \
- interfaces \
- systemd_services \
- busconfig
-
-OTHER_FILES += \
- com.kimmoli.tohkbd2.xml \
- com.kimmoli.tohkbd2settingsui.xml \
- com.kimmoli.tohkbd2user.xml \
- com.kimmoli.tohkbd2settingsui.service \
- com.kimmoli.tohkbd2user.service \
- harbour-tohkbd2.conf \
- harbour-tohkbd2.service
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/dbus/src/README
^
|
@@ -1 +0,0 @@
-Files in this folder are created during build.
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/ca.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>Configuració de TOHKBD</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Quant a...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>L'equip de TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Configuració IU v.</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Dimoni v.</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Dimoni d'usuari v.</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Sailfish v.</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Seleccioneu l'aplicació</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>S'està llançant l'aplicació externa...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Informeu d'un error</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Feu una ullada a la pàgina de FAQ a https://together.jolla.com. Premeu el botó aquí sota per obrir l'enllaç al navegador.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Obre les FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>En cas de no rebre cap resposta a una incidència, podeu informar-ne via correu electrònic. Premeu el botó aquí sota per llançar el client d'email.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Configuració general</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Restableix els valors per defecte</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Dreceres</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>No està configurat</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Res, utilitza-ho com a %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Ajuda</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation>Ordres de només-TOHKBD</translation>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation>Probablement aquesta llista no és completa del tot donat que el sistema operatiu/Qt pot oferir moltes més combinacions de teclat.</translation>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Commutador aplicacions</translation>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Captura de pantalla</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>LED de selfie</translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Commutador llum teclat</translation>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Baixa el volum</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Puja el volum</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Nou correu</translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Commutador BloqMaj</translation>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Selecció de text</translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Selecciona-ho tot</translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Copia</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Retalla</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Enganxa</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Desfés</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Refés</translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Elimina paraula</translation>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Reinicia el telèfon</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Reinicia lipstick</translation>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/cs_CZ.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs_CZ" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>Nastavení TOHKBD</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>O programu...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>Tým TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Verze uživatelského rozhraní nastavení: </translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Verze démona: </translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Verze uživatelského démona:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Verze Sailfish:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Zvolit aplikaci</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Otevírání externí aplikace...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Nahlásit chybu</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Nejprve si prosím přečtěte Nejčastější dotazy k TOHKBD na https://together.jolla.com. Tlačítko níže otevře daný odkaz ve webovém prohlížeči.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Otevřít nejčastější dotazy</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Pokud ani tam nenajdete odpověď na váš problém, nahlašte ho. Tlačítko níže otevře e-mailového klienta.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Obecné nastavení</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Vynulovat do výchozího nastavení</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Zkratky</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Není nakonfigurováno</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Nic, použijte jako %1 klávesou</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Nápověda</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation>TOHKBD příkazy</translation>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation>Tento seznam pravděpodobně není kompletní, neboť operační systém/Qt může nabízet více kombinací kláves.</translation>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Přepínat aplikace</translation>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Snímek obrazovky</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Selfie světlo</translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Přepnout podsvícení</translation>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Snížit hlasitost</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Zvýšit hlasitost</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Nový e-mail</translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Přepnout CapsLock</translation>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Vybrat text</translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Označit vše</translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Kopírovat</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Vyjmout</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Vložit</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Zpět</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Znovu</translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Smazat slovo</translation>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Restartovat telefon</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Restartovat prostředí lipstick</translation>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/da.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>TOHKBD2-indstillinger</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Om...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>Holdet bag TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Version for indstillingsbrugerflade:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Version for dæmon:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Version for brugerdæmon:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Version af Sailfish: </translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Vælg applikation</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Starter ekstern applikation...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Rapporter en fejl</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Tjek venligst siden med FAQ for TOHKBD på https://together.jolla.com. Knappen nedenfor åbner dette link i browseren.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Åbn FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Hvis der ikke er noget svar på dit problem, bedes du rapportere det. Knappen nedenfor starter din mail-klient.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Generelle indstillinger</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Nulstil alle indstillinger</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Genveje</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Ikke konfigureret</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Ingen, brug som %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/de.ts
^
|
@@ -1,411 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="de" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>TOHKBD Einstellungen</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Über...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>Das TOHKBD2-Team</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Einstellungsoberflächen-Version:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Dienst-Version:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Benutzer-Dienst-Version:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Sailfish OS-Version:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Programm auswählen</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Starte externes Programm...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Einen Fehler melden</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Bitte lesen sie zuerst die TOHKBD FAQ Seite unter https://together.jolla.com.
-Die Schaltfläche unten öffnet diesen Link im Browser.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>FAQ öffnen</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Bitte melden sie, falls es keine Antwort oder Lösung für ihr Problem gibt. Die Schaltfläche unten startet das E-Mail Programm.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Allgemeine Einstellungen</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Alles zurücksetzen</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Tastenkürzel</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Nicht konfiguriert</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Nichts, benutze wie %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Hilfe</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation>exklusive TOHKBD Kommandos</translation>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation>Diese Liste ist sehr wahrscheinlich nicht vollständig da das OS/Qt mehr Tastenkombinationen anbietet.</translation>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Apps umschalten</translation>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Screenshot</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Selfie LED</translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Hintergrundbeleuchtung umschalten</translation>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Lautstärke vermindern</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Lautstärke erhöhen</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Neue Email</translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>CapsLock umschalten</translation>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Text auswählen</translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Alles auswählen</translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Kopieren</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Ausschneiden</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Einfügen</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Rückgängig</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Wiederholen</translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Wort löschen</translation>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Telefon neustarten</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/engineering_en.ts
^
|
@@ -1,437 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.1">
-<context>
- <name></name>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/es.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>Configuración de TOHKBD2</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Acerca de...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>El equipo de TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Versión del UI de configuración:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Versión del demonio:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Versión del demonio de usuario:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Versión de Sailfish:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Elegir aplicación</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Lanzando aplicación externa...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Informar de un error</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Por favor, primero comprueba la página del FAQ de TOHKBD en https://together.jolla.com . El botón de debajo abre este enlace en el navegador. </translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Abrir el FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Si no hay respuesta a tu problema, por favor repórtalo. El botón de debajo lanza el cliente de correo.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Configuración general</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Volver a predeterminadas</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Accesos rápidos</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Sin configurar</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Nada, usar como %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/fi.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>TOHKBD Asetukset</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Tietoja...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>TOHKBD2-tiimi</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Asetusten versio: </translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Taustaprosessin versio: </translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Käyttäjä-taustaprosessin versio: </translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Sailfish -versio: </translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Valitse sovellus</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Käynnistetään sovellusta...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Ilmoita ongelmasta</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Katso ensin TOHKBD UKK sivua osoitteessa https://together.jolla.com. Allaoleva painike avaa linkin selaimeen.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Avaa UKK</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Jos et löydä vastausta ongelmaasi UKK:stä, allaolevasta napista voit kertoa ongelmastasi sähköpostilla.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Yleiset asetukset</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Palauta oletukset</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Oikopolut</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Ei määritetty</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Ei mitään, käytä %1 näppäimenä</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Ohje</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation>TOHKBD komennot</translation>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation>Käyttöjärjestelmä tai Qt saattaa tarjota myös näppäintoimintoja joita ei tässä luettelossa ole esitetty.</translation>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Vaihda sovelluksia</translation>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Ruudunkaappaus</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Selfie LED</translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Taustavalo</translation>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Laske äänenvoimakkuutta</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Nosta äänenvoimakkuutta</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Uusi sähköposti</translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Caps Lock</translation>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Valitse tekstiä</translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Valitse kaikki</translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Kopioi</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Leikkaa</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Liitä</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Kumoa</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Tee uudelleen</translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Poista sana</translation>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Käynnistä puhelin uudelleen</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Käynnistä Lipstick uudelleen</translation>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/fr.ts
^
|
@@ -1,412 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>Paramètres TOHKBD2</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>À propos...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>L'équipe TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Version IHM des paramètres :</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Version du service :</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Version du service utilisateur :</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Version Sailfish :</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Applications</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Lancement d'une application externe</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Rapport d'erreur</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Merci de vérifier la FAQ TOHKBD sur https://together.jolla.com. Le bouton ci-dessous ouvrira le lien dans le navigateur.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Ouvrir la FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Si vous ne trouvez pas de réponse à votre problème, merci de le rapporter. Le bouton ci-dessous lance votre application mail.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Paramètres généraux</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Réinitialisation des paramètres par défaut</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Raccourcis</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Non configuré</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Vide, utiliser pour %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Aide</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Capture d'écran</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Éclairage autoportrait</translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Baisser le volume</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Augmenter le volume</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Tout sélectionner </translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Copier</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Couper</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Coller</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Annuler</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Refaire</translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/it.ts
^
|
@@ -1,412 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>Impostazioni TOHBKD2</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Informazioni</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>Il team TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Versione Settings UI:
-</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Versione demone:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Versione demone utente:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Versione Sailfish:
-</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Seleziona applicazione</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Lancio applicazione esterna...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Segnala un errore</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Leggi innanzitutto la FAQ di TOHKBD su https://together.jolla.com. Il bottone qui sotto apre la pagina nel browser</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Apri la FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Se non trovi una risposta al tuo problema, per favore segnalalo. Il bottone sotto lancia il client di posta.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Impostazioni generali</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Riporta tutto ai valori predefiniti</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Scorciatoie</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Non configurato</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Nessuno, usa come %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Aiuto</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Riavvia telefono</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/ja.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="ja" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>TOHKBDの設定</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>TOHKBDについて...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>TOHKBD2チーム</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>設定UIのバージョン:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>デーモンのバージョン:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>ユーザーデーモンのバージョン:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Sailfish OSバージョン:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>アプリケーションを選択</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>外部アプリケーションを起動</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>バグを報告</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>はじめにTOHKBD FAQ 'https://together.jolla.com' をチェックしてください。下のボタンを押すとブラウザが起動します</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>FAQを開く</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>あなたの問題に対する答えがない場合は報告してください。下のボタンを押すとメールクライアントが起動します。</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>一般</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>すべてデフォルトにリセット</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>ショートカット</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>設定されていません</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>なし。 %1 として使用します</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/nb.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>TOHKBD-innstillinger</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Om...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>TOHKBD2-laget</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Versjon:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Nisseversjon:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Brukernisseversjon:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Sailfish-versjon:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Velg program</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Starter eksternt program...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Meld fra om en feil</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Se OSS for TOHKBD på https://together.jolla.com først. Knappen nedenfor åpner denne lenka i nettleseren.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Åpne OSS</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Hvis spørsmålet ditt ikke er besvart, rapporter det. Knappen nedenfor starter epostklienten.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Generelle innstillinger</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Tilbakestill alle til standardverdier</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Snarveier</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Ikke satt opp</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Ingen, bruk som %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/nl_NL.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="nl_NL" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>TOHKBD-instellingen</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Over...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>Het TOHKBD2-team</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Instellingen-app-versie:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Daemon-versie:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Gebruikersdaemon-versie:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>SailfishOS-versie:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Selecteer een applicatie</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Bezig met het starten van de externe applicatie...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Een bug rapporteren</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Kijk eerst op de TOHKBD FAQ-pagina op https://together.jolla.com. De knop hieronder opent deze link in de webbrowser.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>De FAQ openen</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Als er geen antwoord is voor uw probleem, rapporteer het dan. De knop hieronder opent de e-mailapp.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Algemene instellingen</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Alles herstellen naar standaardwaarden</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Sneltoetsen</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Niet ingesteld</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Niets; gebruiken als %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Hulp</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation>TOHKBD-specifieke commando's</translation>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation>Deze lijst is mogelijk incompleet omdat het besturingssysteem/Qt meer toetsencombinaties aankan.</translation>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Tussen apps schakelen</translation>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Schermafdruk</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Selfie-LED</translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Achtergrondverlichting schakelen</translation>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Volume verlagen</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Volume verhogen</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Nieuw e-mailbericht</translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>CapsLock schakelen</translation>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Tekst selecteren</translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Alles selecteren</translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Kopiëren</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Knippen</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Plakken</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Ongedaan maken</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Herhalen</translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Woord verwijderen</translation>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Telefoon herstarten</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Lipstick herstarten</translation>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/pl.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>Ustawienia TOHKBD</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Na temat...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>Zespół TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Wersja interfejsu ustawień:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Wersja demona:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Wersja demona użytkownika:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Wersja Sailfish:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Wybierz aplikację</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Uruchamianie zewnętrznej aplikacji...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Zgłoś błąd</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Proszę sprawdź najpierw TOHKBD FAQ na stronie https://together.jolla.com. Przycisk poniżej otwiera ten link w przeglądarce.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Otwórz FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Jeśli brakuje rozwiązania twojego problemu, proszę zgłoś go. Przycisk poniżej uruchamia klienta poczty e-mail.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Ustawienia ogólne</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Przywróć ustawienia domyślne</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Skróty</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Nie ustawiony</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Nic, używaj jako %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Pomoc</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Zrzut ekranu</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Przycisz</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Pogłośnij</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Nowy email</translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Zaznacz tekst</translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Zaznacz wszystko</translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Kopiuj</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Wytnij</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Wklej</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Cofnij</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Zrestartuj telefon</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Zrestartuj lipstick</translation>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/ru_RU.ts
^
|
@@ -1,411 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru_RU" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>Настройки TOHKBD</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>О программе</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>Команда TOHKBD2</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Версия приложения: </translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Версия демона клавиатуры (Root Daemon): </translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Версия пользовательсткого демона клавиатуры (User Daemon): </translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Версия SailfishOS: </translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Выберите приложение</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Запуск внешнего приложения...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Сообщить об ошибке</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Пожалуйста, сначала посетите FAQ-страницу проекта TOHKBD2 на https://together.jolla.com.
-Кнопка ниже откроет данную ссылку в окне браузера.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Перейти в FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Когда вы не найдете решения своей проблемы, пожалуйста сообщите об этом. Кнопка снизу откроет почтовый клиент.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Основные настройки</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Сбросить все к настройкам по-умолчанию</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Ярлыки</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Не настроено</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Ничего, использовать как %1</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation>Справка</translation>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation>Глобальные сочетания клавиш</translation>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation>Данный список может быть не полным, так как операционная система/Qt может получить поддержку новых сочетаний клавиш.</translation>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Переключение задач</translation>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Снимок экрана</translation>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Светодиод подсветки</translation>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Управление подсветкой клавиатуры</translation>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Уменьшить громкость</translation>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Увеличить громкость</translation>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Создать новый e-mail</translation>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Переключить Caps Lock</translation>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Выделить текст</translation>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Выделить все</translation>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Копировать</translation>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Вырезать</translation>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Вставить</translation>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Отменить</translation>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Повторить</translation>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Удалить слово</translation>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation>Перезагрузить телефон</translation>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/i18n/sv.ts
^
|
@@ -1,410 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="sv" version="2.1">
-<context>
- <name/>
- <message id="tohkbd2-settings-app-name">
- <source>TOHKBD Settings</source>
- <extracomment>Application name</extracomment>
- <translation>TOHKBD inställningar</translation>
- </message>
- <message id="about">
- <source>About...</source>
- <extracomment>Menu option and header for about page</extracomment>
- <translation>Om...</translation>
- </message>
- <message id="team-header">
- <source>The TOHKBD2 Team</source>
- <extracomment>header label for the team presentation</extracomment>
- <translation>TOHKBD2-teamet</translation>
- </message>
- <message id="version-settings-ui">
- <source>Settings UI version: </source>
- <extracomment>Version information field, for Settings UI application version</extracomment>
- <translation>Inställnings UI -version:</translation>
- </message>
- <message id="version-daemon">
- <source>Daemon version: </source>
- <extracomment>Version information field, for daemon version (which runs as root)</extracomment>
- <translation>Bakgrundsprocessens version:</translation>
- </message>
- <message id="version-user-daemon">
- <source>User Daemon version: </source>
- <extracomment>Version information field, for user daemon version (which runs as nemo)</extracomment>
- <translation>Användar-bakgrundsprocessens version:</translation>
- </message>
- <message id="version-sailfish">
- <source>Sailfish version: </source>
- <extracomment>Version information field, for Sailfish OS version</extracomment>
- <translation>Sailfish-version:</translation>
- </message>
- <message id="select-application">
- <source>Select application</source>
- <extracomment>Application shortcut selector page header</extracomment>
- <translation>Välj program</translation>
- </message>
- <message id="launch-ext-app">
- <source>Launching external application...</source>
- <extracomment>Text shown with busyindicator when starting external application</extracomment>
- <translation>Startar externt program...</translation>
- </message>
- <message id="report-a-bug">
- <source>Report a bug</source>
- <extracomment>Main menu selection for FAQ and reporting an issue, page header for bug reporter page. button text for triggering email app.</extracomment>
- <translation>Rapportera ett fel</translation>
- </message>
- <message id="faq-text">
- <source>Please first check TOHKBD FAQ page at https://together.jolla.com. Button below opens this link in browser.</source>
- <extracomment>Description above open faq -button</extracomment>
- <translation>Vänligen kolla TOHKBD-FAQen på https://together.jolla.com först. Knappen nedan öppnar denna länk i webbläsaren.</translation>
- </message>
- <message id="faq-button">
- <source>Open FAQ</source>
- <extracomment>Button text, clicking this will open url showing FAQ</extracomment>
- <translation>Öppna FAQ</translation>
- </message>
- <message id="report-text">
- <source>If there is no answer to your issue, please report it. Button below launches email client.</source>
- <extracomment>Description above report issue -button</extracomment>
- <translation>Om det inte finns någon lösning på ditt problem, vänligen rapportera det. Knappen nedan öppnar email-klienten.</translation>
- </message>
- <message id="general-settings">
- <source>General settings</source>
- <extracomment>Main menu selection for general settings</extracomment>
- <translation>Allmäna inställningar</translation>
- </message>
- <message id="reset-to-defaults">
- <source>Reset all to defaults</source>
- <extracomment>Pulldown menu optiion to reset default values</extracomment>
- <translation>Återställ till standardinställningar</translation>
- </message>
- <message id="shortcuts">
- <source>Shortcuts</source>
- <extracomment>Main menu selection for shortcuts configurations</extracomment>
- <translation>Genvägar</translation>
- </message>
- <message id="shortcut-not-configured">
- <source>Not configured</source>
- <extracomment>Label shown instead of application name if Fn is not configured</extracomment>
- <translation>Inte inställd</translation>
- </message>
- <message id="shortcut-nothing">
- <source>Nothing, use as %1</source>
- <extracomment>Pulldown menu option clear shortcut. Allows using Fn as Fn</extracomment>
- <translation>Ingenting, använd %1 som tangent</translation>
- </message>
- <message id="help">
- <source>Help</source>
- <extracomment>Main menu selection for Help page with keyboard shortcuts etc.</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="key-combinations">
- <source>TOHKBD-only commands</source>
- <oldsource>TOHKBD key combinations</oldsource>
- <extracomment>Section header for list of TOHKBD daemon provided key combinations</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="more-desc">
- <source>This list is most propably not complete as the operating system/Qt can offer more key combinations.</source>
- <extracomment>Description text saying there can be more combinations by the OS</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-switch-app">
- <source>Switch apps</source>
- <oldsource>Switch between apps</oldsource>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-screeshot">
- <source>Screenshot</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-selfie-led">
- <source>Selfie LED</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-toggle-backlight">
- <source>Toggle backlight</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-dec-volume">
- <source>Decrease volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-inc-volume">
- <source>Increase volume</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-new-email">
- <source>New Email</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-capslock">
- <source>Toggle CapsLock</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select">
- <source>Select text</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-select-all">
- <source>Select all</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-copy">
- <source>Copy</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-cut">
- <source>Cut</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-paste">
- <source>Paste</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-undo">
- <source>Undo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-redo">
- <source>Redo</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-delete-word">
- <source>Delete word</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-reboot-phone">
- <source>Reboot phone</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
- </message>
- <message id="help-restart-lipstick">
- <source>Restart lipstick</source>
- <extracomment>Help page text (keep short)</extracomment>
- <translation type="unfinished"/>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/qml/components/KeyboardHandler.qml
^
|
@@ -1,90 +0,0 @@
-import QtQuick 2.0
-import Sailfish.Silica 1.0
-
-Item
-{
- id: kbdif
- anchors.fill: parent
- focus: true
-
- property int upDownItemCount: 0
- property int leftRightItemCount: 0
- property int upDownSelection: -1
- property int leftRightSelection: -1
-
- signal keyUpPressed
- signal keyDownPressed
- signal keyLeftPressed
- signal keyRightPressed
- signal keyEnterPressed
- signal keyBackspacePressed
-
- Keys.onPressed:
- {
- if (event.key === Qt.Key_Down)
- {
- if (upDownSelection+1 >= upDownItemCount)
- upDownSelection = 0
- else
- upDownSelection++
- keyUpPressed()
- event.accepted = true
- }
- else if (event.key === Qt.Key_Up)
- {
- if (upDownSelection <= 0)
- upDownSelection = upDownItemCount
- upDownSelection--
- keyDownPressed()
- event.accepted = true
- }
- else if (event.key === Qt.Key_Right)
- {
- if (leftRightSelection+1 >= leftRightItemCount)
- leftRightSelection = 0
- else
- leftRightSelection++
- keyRightPressed()
- event.accepted = true
- }
- else if (event.key === Qt.Key_Left)
- {
- if (leftRightSelection <= 0)
- leftRightSelection = leftRightItemCount
- leftRightSelection--
- keyLeftPressed()
- event.accepted = true
- }
- else if (event.key === Qt.Key_Return)
- {
- if (upDownItemCount > 0 && upDownSelection >= 0 && upDownSelection < upDownItemCount)
- {
- keyEnterPressed()
- }
- if (leftRightItemCount > 0 && leftRightSelection >= 0 && leftRightSelection < leftRightItemCount)
- {
- keyEnterPressed()
- }
- event.accepted = true
- }
- else if (event.key === Qt.Key_Backspace)
- {
- keyBackspacePressed()
- event.accepted = true
- }
- }
-
- /* When using SilicaFlickable and Repeater in Column, this moves flickable so selected item should be visible.
- * For softer movement, add e.g. following to SilicaFlickable
- * Behavior on contentY { NumberAnimation { duration: 200 } }
- *
- * Thanks for refractoring, xkr47
- */
- function flickRepeaterMover(flick, repeater)
- {
- var itm = repeater.itemAt(upDownSelection)
- var minY = itm.y + itm.height - flick.height
- var maxY = itm.y - repeater.itemAt(0).y
- flick.contentY = Math.min(maxY, Math.max(minY, flick.contentY))
- }
-}
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/qml/cover/HelpCoverPage.qml
^
|
@@ -1,16 +0,0 @@
-/*
- tohkbd2-settings-u, The Otherhalf Keyboard 2 settings UI
-*/
-
-import QtQuick 2.0
-import Sailfish.Silica 1.0
-
-CoverBackground
-{
- Image
- {
- anchors.centerIn: parent
- scale: 3.0
- source: "image://theme/icon-m-question"
- }
-}
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/qml/pages/Help.qml
^
|
@@ -1,229 +0,0 @@
-/*
- tohkbd2-settings-u, The Otherhalf Keyboard 2 settings UI
-*/
-
-import QtQuick 2.0
-import Sailfish.Silica 1.0
-import "../components"
-
-Page
-{
- id: page
-
- KeyboardHandler
- {
- id: kbdif
- onKeyUpPressed: flick.flick(0, -1000)
- onKeyDownPressed: flick.flick(0, 1000)
- onKeyBackspacePressed: pageStack.pop()
- }
-
- Component.onCompleted: helpPageOpen = true
- Component.onDestruction: helpPageOpen = false
-
- SilicaFlickable
- {
- id: flick
- anchors.fill: parent
-
- contentHeight: column.height
-
- Column
- {
- id: column
-
- width: page.width
-
- PageHeader
- {
- title: qsTrId("help")
- }
-
- Repeater
- {
- id: r
- model: keycomboTopModel
-
- Column
- {
- SectionHeader
- {
- text: name
- }
-
- Grid
- {
- id: keycomboGrid
- columns: (page.orientation === Orientation.Landscape || page.orientation === Orientation.LandscapeInverted) ? 2 : 1
- width: page.width - Theme.paddingLarge
- x: Theme.paddingLarge
-
- Repeater
- {
- id: kcRepeater
- model: keycomboModel
-
- ListItem
- {
- id: kcItem
- width: keycomboGrid.width / keycomboGrid.columns
- height: Theme.itemSizeExtraSmall
- enabled: false
-
- Label
- {
- id: key1Name
- anchors.left: parent.left
- //anchors.leftMargin: Theme.paddingSmall
- anchors.verticalCenter: parent.verticalCenter
- font.pixelSize: Theme.fontSizeSmall
- font.bold: true
- text: key1
- color: Theme.primaryColor
- }
-
- Label
- {
- id: key2Name
- anchors.left: key1Name.right
- anchors.verticalCenter: parent.verticalCenter
- font.pixelSize: Theme.fontSizeSmall
- font.bold: true
- text: "+" + key2
- color: Theme.primaryColor
- }
-
- Label
- {
- id: key3Name
- anchors.left: key2Name.right
- anchors.verticalCenter: parent.verticalCenter
- font.pixelSize: Theme.fontSizeSmall
- font.bold: true
- text: "+" + key3
- color: Theme.primaryColor
- visible: key3.length > 0
- }
-
- Label
- {
- anchors.verticalCenter: parent.verticalCenter
- anchors.left: parent.horizontalCenter
- color: Theme.primaryColor
- font.pixelSize: Theme.fontSizeMedium
- truncationMode: TruncationMode.Fade
- text: name
- }
- }
- }
- }
- }
- }
-
- Label
- {
- //: Description text saying there can be more combinations by the OS
- //% "This list is most propably not complete as the operating system/Qt can offer more key combinations."
- text: qsTrId("more-desc")
- x: Theme.paddingLarge
- wrapMode: Text.Wrap
- font.pixelSize: Theme.fontSizeSmall
- color: Theme.secondaryColor
- width: parent.width - 2*Theme.paddingLarge
- }
-
- SectionHeader
- {
- text: qsTrId("shortcuts")
- }
-
- Grid
- {
- id: shortcutsGrid
- columns: (page.orientation === Orientation.Landscape || page.orientation === Orientation.LandscapeInverted) ? 2 : 1
-
- Repeater
- {
- id: repeater
- model: shortcutsModel
-
- ListItem
- {
- id: shortcutItem
- width: page.width / shortcutsGrid.columns
- height: Theme.itemSizeSmall
- enabled: false
-
- Image
- {
- id: keyFrame
- source: "image://tohkbd2/icon-m-keyframe"
- anchors
- {
- left: parent.left
- leftMargin: Theme.paddingMedium
- verticalCenter: parent.verticalCenter
- }
- scale: 0.8
-
- Label
- {
- id: keyName
- anchors.centerIn: parent
- font.pixelSize: Theme.fontSizeMedium
- font.bold: true
- text: key
- color: Theme.primaryColor
- scale: 0.85
- }
- }
-
- Image
- {
- id: appIcon
- source: iconId
- y: Math.round((parent.height - height) / 2)
- property real size: Theme.itemSizeSmall * 0.6
-
- sourceSize.width: size
- sourceSize.height: size
- width: size
- height: size
-
- anchors
- {
- left: keyFrame.right
- leftMargin: Theme.paddingMedium
- verticalCenter: parent.verticalCenter
- }
- }
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/qml/pages/LayoutSwitcher.qml
^
|
@@ -1,99 +0,0 @@
-/*
- tohkbd2-settings-u, The Otherhalf Keyboard 2 settings UI
-*/
-
-import QtQuick 2.0
-import Sailfish.Silica 1.0
-import org.nemomobile.configuration 1.0
-import "../components"
-
-Page
-{
- id: page
-
- function getIndexOfCurrentLayout()
- {
- for (var i = 0; i < layoutsModel.count; ++i)
- {
- if (layoutsModel.get(i).name === settings["physicalLayout"])
- {
- return i
- }
- }
- return -1
- }
-
- property int indexOfCurrentLayout: -1
-
- Component.onCompleted:
- {
- indexOfCurrentLayout = getIndexOfCurrentLayout()
- listView.positionViewAtIndex(indexOfCurrentLayout, ListView.Center)
- kbdif.upDownSelection = indexOfCurrentLayout
- }
-
- KeyboardHandler
- {
- id: kbdif
- upDownItemCount: layoutsModel.count
- onKeyUpPressed: listView.positionViewAtIndex(upDownSelection, ListView.Contain)
- onKeyDownPressed: listView.positionViewAtIndex(upDownSelection, ListView.Contain)
-
- onKeyEnterPressed:
- {
- keymapLayout.value = layoutsModel.get(upDownSelection).key
- pageStack.pop()
- }
- onKeyBackspacePressed: pageStack.pop()
-
- Connections
- {
- target: page
- onOrientationTransitionRunningChanged: if (!orientationTransitionRunning) listView.positionViewAtIndex(kbdif.upDownSelection, ListView.Contain)
- }
-
- }
-
- SilicaListView
- {
- id: listView
- model: layoutsModel
- anchors.fill: parent
-
- VerticalScrollDecorator {}
-
- header: PageHeader
- {
- title: qsTrId("kbd-layout")
- }
-
- delegate: BackgroundItem
- {
- id: delegate
- highlighted: index === kbdif.upDownSelection
- height: Theme.itemSizeSmall
- onDownChanged: kbdif.upDownSelection = index
-
- Label
- {
- x: Theme.paddingLarge
- text: name
- anchors.verticalCenter: parent.verticalCenter
- color: (delegate.highlighted || index == indexOfCurrentLayout) ? Theme.highlightColor : Theme.primaryColor
- opacity: supported ? 1.0 : 0.65
- }
- onClicked:
- {
- keymapLayout.value = key
- pageStack.pop()
- }
- }
- }
-
- ConfigurationValue
- {
- id: keymapLayout
- key: "/desktop/lipstick-jolla-home/layout"
- onValueChanged: indexOfCurrentLayout = getIndexOfCurrentLayout()
- }
-}
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/src/consolemodel.cpp
^
|
@@ -1,144 +0,0 @@
-/*
-
-ConsoleModel is courtesy of Harbour FileBrowser
-https://github.com/karip/harbour-file-browser
-
-This is free and unencumbered software released into the public domain.
-
-Anyone is free to copy, modify, publish, use, compile, sell, or
-distribute this software, either in source code form or as a compiled
-binary, for any purpose, commercial or non-commercial, and by any
-means.
-
-In jurisdictions that recognize copyright laws, the author or authors
-of this software dedicate any and all copyright interest in the
-software to the public domain. We make this dedication for the benefit
-of the public at large and to the detriment of our heirs and
-successors. We intend this dedication to be an overt act of
-relinquishment in perpetuity of all present and future rights to this
-software under copyright law.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-For more information, please refer to <http://unlicense.org>
-*/
-
-#include "consolemodel.h"
-
-enum {
- ModelDataRole = Qt::UserRole + 1
-};
-
-ConsoleModel::ConsoleModel(QObject *parent) :
- QAbstractListModel(parent), m_process(0)
-{
-}
-
-ConsoleModel::~ConsoleModel()
-{
-}
-
-int ConsoleModel::rowCount(const QModelIndex &parent) const
-{
- Q_UNUSED(parent);
- return m_lines.count();
-}
-
-QVariant ConsoleModel::data(const QModelIndex &index, int role) const
-{
- Q_UNUSED(role);
- if (!index.isValid() || index.row() > m_lines.count()-1)
- return QVariant();
-
- QString line = m_lines.at(index.row());
- return line;
-}
-
-QHash<int, QByteArray> ConsoleModel::roleNames() const
-{
- QHash<int, QByteArray> roles = QAbstractListModel::roleNames();
- roles.insert(ModelDataRole, QByteArray("modelData"));
- return roles;
-}
-
-void ConsoleModel::setLines(QStringList lines)
-{
- if (m_lines == lines)
- return;
-
- beginResetModel();
- m_lines = lines;
- endResetModel();
-
- emit linesChanged();
-}
-
-void ConsoleModel::setLines(QString lines)
-{
- beginResetModel();
- m_lines = lines.split(QRegExp("[\n\r]"));
- endResetModel();
- emit linesChanged();
-}
-
-void ConsoleModel::appendLine(QString line)
-{
- beginInsertRows(QModelIndex(), m_lines.count(), m_lines.count());
- m_lines.append(line);
- endInsertRows();
-}
-
-bool ConsoleModel::executeCommand(QString command, QStringList arguments)
-{
- // don't execute the command if an old command is still running
- if (m_process && m_process->state() != QProcess::NotRunning) {
- // if the old process doesn't stop in 1/2 secs, then don't run the new command
- if (!m_process->waitForFinished(500))
- return false;
- }
- setLines(QStringList());
- m_process = new QProcess(this);
- m_process->setReadChannel(QProcess::StandardOutput);
- m_process->setProcessChannelMode(QProcess::MergedChannels); // merged stderr channel with stdout channel
- connect(m_process, SIGNAL(readyReadStandardOutput()), this, SLOT(readProcessChannels()));
- connect(m_process, SIGNAL(finished(int, QProcess::ExitStatus)), this, SLOT(handleProcessFinish(int, QProcess::ExitStatus)));
- connect(m_process, SIGNAL(error(QProcess::ProcessError)), this, SLOT(handleProcessError(QProcess::ProcessError)));
- m_process->start(command, arguments);
- // the process is killed when ConsoleModel is destroyed (usually when Page is closed)
- // should we run the process in bg thread to allow the command to finish(?)
-
- return true;
-}
-
-void ConsoleModel::readProcessChannels()
-{
- while (m_process->canReadLine()) {
- QString line = m_process->readLine();
- appendLine(line);
- }
-}
-
-void ConsoleModel::handleProcessFinish(int exitCode, QProcess::ExitStatus status)
-{
- if (status == QProcess::CrashExit) { // if it crashed, then use some error exit code
- exitCode = -99999;
- appendLine("** crashed");
-
- } else if (exitCode != 0) {
- appendLine(QString("** error: %1").arg(exitCode));
- }
- emit processExited(exitCode);
-}
-
-void ConsoleModel::handleProcessError(QProcess::ProcessError error)
-{
- Q_UNUSED(error);
- emit processExited(-88888); // if error, then use some error exit code
- appendLine("** error");
-}
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/settings-ui/src/consolemodel.h
^
|
@@ -1,79 +0,0 @@
-/*
-
-ConsoleModel is courtesy of Harbour FileBrowser
-https://github.com/karip/harbour-file-browser
-
-This is free and unencumbered software released into the public domain.
-
-Anyone is free to copy, modify, publish, use, compile, sell, or
-distribute this software, either in source code form or as a compiled
-binary, for any purpose, commercial or non-commercial, and by any
-means.
-
-In jurisdictions that recognize copyright laws, the author or authors
-of this software dedicate any and all copyright interest in the
-software to the public domain. We make this dedication for the benefit
-of the public at large and to the detriment of our heirs and
-successors. We intend this dedication to be an overt act of
-relinquishment in perpetuity of all present and future rights to this
-software under copyright law.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
-
-For more information, please refer to <http://unlicense.org>
-*/
-
-#ifndef CONSOLEMODEL_H
-#define CONSOLEMODEL_H
-
-#include <QAbstractListModel>
-#include <QStringList>
-#include <QProcess>
-
-/**
- * @brief The ConsoleModel class holds a list of strings for a QML list model.
- */
-class ConsoleModel : public QAbstractListModel
-{
- Q_OBJECT
- Q_PROPERTY(QStringList lines READ lines() WRITE setLines(QString) NOTIFY linesChanged())
-
-public:
- explicit ConsoleModel(QObject *parent = 0);
- ~ConsoleModel();
-
- // methods needed by ListView
- int rowCount(const QModelIndex &parent = QModelIndex()) const;
- QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
- QHash<int, QByteArray> roleNames() const;
-
- // property accessors
- QStringList lines() const { return m_lines; }
- void setLines(QStringList lines);
- void setLines(QString lines);
-
- void appendLine(QString line);
-
- Q_INVOKABLE bool executeCommand(QString command, QStringList arguments);
-
-signals:
- void linesChanged();
- void processExited(int exitCode);
-
-private slots:
- void readProcessChannels();
- void handleProcessFinish(int exitCode, QProcess::ExitStatus status);
- void handleProcessError(QProcess::ProcessError error);
-
-private:
- QProcess *m_process;
- QStringList m_lines;
-};
-
-#endif // CONSOLEMODEL_H
|
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/icon-lock-tohkbd2.png
^
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/keymaps.qrc
^
|
@@ -1,13 +0,0 @@
-<RCC>
- <qresource prefix="/">
- <file>layouts/fi.tohkbdmap</file>
- <file>layouts/us.tohkbdmap</file>
- <file>layouts/de.tohkbdmap</file>
- <file>layouts/README</file>
- <file>layouts/ru.tohkbdmap</file>
- <file>layouts/no.tohkbdmap</file>
- <file>layouts/pl.tohkbdmap</file>
- <file>layouts/fr.tohkbdmap</file>
- <file>layouts/se.tohkbdmap</file>
- </qresource>
-</RCC>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/README
^
|
@@ -1,63 +0,0 @@
-TOHKBD2 Keyboard mapping files
-------------------------------
-
-Scancodes: (scandic qwerty keyboard shown)
-
- +-------------+------+----+----+----+----+----+----+----+----+----+----+----+-----------+
- | ESC | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | - | = | Backspace |
- | A1 | A3 | A4 | A5 | A6 | A7 | A8 | A9 | AA | AB | AC | AD | AE | AF |
- +------+------+------+----+----+----+----+----+----+----+----+----+----+----+-----------+
- | Del | Up | Ins | q | w | e | r | t | y | u | i | o | p | å | Ctrl |
- | B1 | B2 | B3 | B4 | B5 | B6 | B7 | B8 | B9 | BA | BB | BC | BD | BE | |
- +------+------+------+----+----+----+----+----+----+----+----+----+----+----+-----------+
- | Left | | Right| a | s | d | f | g | h | j | k | l | ö | ä | Alt |
- | C1 | | C3 | C4 | C5 | C6 | C7 | C8 | C9 | CA | CB | CC | CD | CE | |
- +------+------+------+----+----+----+----+----+----+----+----+----+----+----+-----------+
- | Home | Down | End | z | x | c | v | b | n | m | ? | ! | , | . | |
- | D1 | D2 | D3 | D4 | D5 | D6 | D7 | D8 | D9 | DA | DB | DC | DD | DE | |
- +------+------+------+----+----+----+----+----+----+----+----+----+----+----+ Return |
- | Sym | Ctrl | Shift | Space | Shift | @ | Sym | EF |
- | | | | E9 | | EC | | |
- +-------------+------+---------+-------------------+---------+----+---------+-----------+
-
-Ctrl, Alt, Shift or Sym keys can not be remapped.
-
-Mapping file format is one scancode for each row, followed by key names and modifiers
-for plain key and key with Sym pressed separated with space(s):
-
-Scancode PlainKeyName PlainKeyModifier SymKeyname SymKeyModifier
-C6 KEY_D 0 KEY_3 RALT
-
-Supported KeyNames are first 127 keys defined in linux/input.h:
-
-KEY_ESC, KEY_1, KEY_2, KEY_3, KEY_4, KEY_5, KEY_6, KEY_7, KEY_8, KEY_9,
-KEY_0, KEY_MINUS, KEY_EQUAL, KEY_BACKSPACE, KEY_TAB, KEY_Q, KEY_W, KEY_E, KEY_R, KEY_T,
-KEY_Y, KEY_U, KEY_I, KEY_O, KEY_P, KEY_LEFTBRACE, KEY_RIGHTBRACE, KEY_ENTER, KEY_LEFTCTRL,
-KEY_A, KEY_S, KEY_D, KEY_F, KEY_G, KEY_H, KEY_J, KEY_K, KEY_L, KEY_SEMICOLON, KEY_APOSTROPHE,
-KEY_GRAVE, KEY_LEFTSHIFT, KEY_BACKSLASH, KEY_Z, KEY_X, KEY_C, KEY_V, KEY_B, KEY_N, KEY_M,
-KEY_COMMA, KEY_DOT, KEY_SLASH, KEY_RIGHTSHIFT, KEY_KPASTERISK, KEY_LEFTALT, KEY_SPACE, KEY_CAPSLOCK,
-KEY_F1, KEY_F2, KEY_F3, KEY_F4, KEY_F5, KEY_F6, KEY_F7, KEY_F8, KEY_F9, KEY_F10, KEY_NUMLOCK,
-KEY_SCROLLLOCK, KEY_KP7, KEY_KP8, KEY_KP9, KEY_KPMINUS, KEY_KP4, KEY_KP5, KEY_KP6, KEY_KPPLUS,
-KEY_KP1, KEY_KP2, KEY_KP3, KEY_KP0, KEY_KPDOT, KEY_ZENKAKUHANKAKU, KEY_102ND, KEY_F11, KEY_F12,
-KEY_RO, KEY_KATAKANA, KEY_HIRAGANA, KEY_HENKAN, KEY_KATAKANAHIRAGANA, KEY_MUHENKAN, KEY_KPJPCOMMA,
-KEY_KPENTER, KEY_RIGHTCTRL, KEY_KPSLASH, KEY_SYSRQ, KEY_RIGHTALT, KEY_LINEFEED, KEY_HOME, KEY_UP,
-KEY_PAGEUP, KEY_LEFT, KEY_RIGHT, KEY_END, KEY_DOWN, KEY_PAGEDOWN, KEY_INSERT, KEY_DELETE, KEY_MACRO,
-KEY_MUTE, KEY_VOLUMEDOWN, KEY_VOLUMEUP, KEY_POWER, KEY_KPEQUAL, KEY_KPPLUSMINUS, KEY_PAUSE, KEY_SCALE,
-KEY_KPCOMMA, KEY_HANGEUL, KEY_HANJA, KEY_YEN, KEY_LEFTMETA, KEY_RIGHTMETA, KEY_COMPOSE
-
-And a few custom keys:
-
-KEY_TOH_SCREENSHOT, KEY_TOH_SELFIE, KEY_TOH_NEWEMAIL, KEY_TOH_BACKLIGHT
-
-For non-mapped key, use KEY_TOH_NONE
-
-Supported modifiers:
-
-0 No modifier
-SHIFT Shift
-RALT Right Alt or AltGr
-LALT Left Alt
-CTRL Ctrl
-
-If a combination is needed, just write them together, or separate them with a | e.g. RALT|SHIFT (not with space)
-
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/de.tohkbdmap
^
|
@@ -1,65 +0,0 @@
-# TOHKBD2 Key mapping file
-# Deutch QWERTZ (de)
-#
-variant nodeadkeys
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 0 KEY_F1 0
-A4 KEY_2 0 KEY_F2 0
-A5 KEY_3 0 KEY_F3 0
-A6 KEY_4 0 KEY_F4 0
-A7 KEY_5 0 KEY_F5 0
-A8 KEY_6 0 KEY_F6 0
-A9 KEY_7 0 KEY_F7 0
-AA KEY_8 0 KEY_F8 0
-AB KEY_9 0 KEY_F9 0
-AC KEY_0 0 KEY_F10 0
-AD KEY_SLASH 0 KEY_F11 0
-AE KEY_0 SHIFT KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_RIGHTBRACE RALT
-B5 KEY_W 0 KEY_BACKSLASH 0
-B6 KEY_E 0 KEY_4 SHIFT
-B7 KEY_R 0 KEY_5 SHIFT
-B8 KEY_T 0 KEY_GRAVE 0
-B9 KEY_Y 0 KEY_6 SHIFT
-BA KEY_U 0 KEY_RIGHTBRACE SHIFT
-BB KEY_I 0 KEY_7 RALT
-BC KEY_O 0 KEY_0 RALT
-BD KEY_P 0 KEY_SLASH SHIFT
-BE KEY_LEFTBRACE 0 KEY_RIGHTBRACE 0
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_COMMA SHIFT
-C5 KEY_S 0 KEY_BACKSLASH SHIFT
-C6 KEY_D 0 KEY_3 RALT
-C7 KEY_F 0 KEY_EQUAL SHIFT
-C8 KEY_G 0 KEY_EQUAL 0
-C9 KEY_H 0 KEY_TOH_NONE 0
-CA KEY_J 0 KEY_TOH_NONE 0
-CB KEY_K 0 KEY_8 RALT
-CC KEY_L 0 KEY_9 RALT
-CD KEY_SEMICOLON 0 KEY_8 SHIFT
-CE KEY_APOSTROPHE 0 KEY_9 SHIFT
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_DOT SHIFT
-D5 KEY_X 0 KEY_2 SHIFT
-D6 KEY_C 0 KEY_E RALT
-D7 KEY_V 0 KEY_7 SHIFT
-D8 KEY_B 0 KEY_102ND RALT
-D9 KEY_N 0 KEY_MINUS RALT
-DA KEY_M 0 KEY_M RALT
-DB KEY_MINUS SHIFT KEY_MINUS SHIFT
-DC KEY_1 SHIFT KEY_1 SHIFT
-DD KEY_COMMA 0 KEY_102ND 0
-DE KEY_DOT 0 KEY_102ND SHIFT
-EC KEY_MINUS 0 KEY_Q RALT
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/fi.tohkbdmap
^
|
@@ -1,65 +0,0 @@
-# TOHKBD2 Key mapping file
-# Finnish (fi)
-#
-variant nodeadkeys
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 0 KEY_F1 0
-A4 KEY_2 0 KEY_F2 0
-A5 KEY_3 0 KEY_F3 0
-A6 KEY_4 0 KEY_F4 0
-A7 KEY_5 0 KEY_F5 0
-A8 KEY_6 0 KEY_F6 0
-A9 KEY_7 0 KEY_F7 0
-AA KEY_8 0 KEY_F8 0
-AB KEY_9 0 KEY_F9 0
-AC KEY_0 0 KEY_F10 0
-AD KEY_SLASH 0 KEY_F11 0
-AE KEY_0 SHIFT KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_RIGHTBRACE RALT
-B5 KEY_W 0 KEY_3 SHIFT
-B6 KEY_E 0 KEY_4 RALT
-B7 KEY_R 0 KEY_5 SHIFT
-B8 KEY_T 0 KEY_RIGHTBRACE SHIFT
-B9 KEY_Y 0 KEY_6 SHIFT
-BA KEY_U 0 KEY_BACKSLASH SHIFT
-BB KEY_I 0 KEY_7 RALT
-BC KEY_O 0 KEY_0 RALT
-BD KEY_P 0 KEY_SLASH SHIFT
-BE KEY_LEFTBRACE 0 KEY_MINUS 0
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_COMMA SHIFT
-C5 KEY_S 0 KEY_BACKSLASH 0
-C6 KEY_D 0 KEY_3 RALT
-C7 KEY_F 0 KEY_EQUAL SHIFT
-C8 KEY_G 0 KEY_EQUAL 0
-C9 KEY_H 0 KEY_H 0
-CA KEY_J 0 KEY_J 0
-CB KEY_K 0 KEY_8 RALT
-CC KEY_L 0 KEY_9 RALT
-CD KEY_SEMICOLON 0 KEY_8 SHIFT
-CE KEY_APOSTROPHE 0 KEY_9 SHIFT
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_DOT SHIFT
-D5 KEY_X 0 KEY_2 SHIFT
-D6 KEY_C 0 KEY_E RALT
-D7 KEY_V 0 KEY_7 SHIFT
-D8 KEY_B 0 KEY_102ND RALT
-D9 KEY_N 0 KEY_MINUS RALT
-DA KEY_M 0 KEY_M RALT
-DB KEY_MINUS SHIFT KEY_MINUS SHIFT
-DC KEY_1 SHIFT KEY_1 SHIFT
-DD KEY_COMMA 0 KEY_102ND 0
-DE KEY_DOT 0 KEY_102ND SHIFT
-EC KEY_2 RALT KEY_TOH_NEWEMAIL 0
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/fr.tohkbdmap
^
|
@@ -1,65 +0,0 @@
-# TOHKBD2 Key mapping file
-# French AZERTY (fr)
-#
-variant nodeadkeys
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 SHIFT KEY_F1 0
-A4 KEY_2 SHIFT KEY_F2 0
-A5 KEY_3 SHIFT KEY_F3 0
-A6 KEY_4 SHIFT KEY_F4 0
-A7 KEY_5 SHIFT KEY_F5 0
-A8 KEY_6 SHIFT KEY_F6 0
-A9 KEY_7 SHIFT KEY_F7 0
-AA KEY_8 SHIFT KEY_F8 0
-AB KEY_9 SHIFT KEY_F9 0
-AC KEY_0 SHIFT KEY_F10 0
-AD KEY_6 0 KEY_F11 0
-AE KEY_EQUAL 0 KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_2 RALT
-B5 KEY_W 0 KEY_3 RALT
-B6 KEY_E 0 KEY_RIGHTBRACE 0
-B7 KEY_R 0 KEY_APOSTROPHE SHIFT
-B8 KEY_T 0 KEY_0 RALT
-B9 KEY_Y 0 KEY_1 0
-BA KEY_U 0 KEY_BACKSLASH 0
-BB KEY_I 0 KEY_4 RALT
-BC KEY_O 0 KEY_EQUAL RALT
-BD KEY_P 0 KEY_8 0
-BE KEY_7 0 KEY_EQUAL SHIFT
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_COMMA 0
-C5 KEY_S 0 KEY_4 0
-C6 KEY_D 0 KEY_D 0
-C7 KEY_F 0 KEY_7 RALT
-C8 KEY_G 0 KEY_G 0
-C9 KEY_H 0 KEY_H 0
-CA KEY_J 0 KEY_J 0
-CB KEY_K 0 KEY_5 RALT
-CC KEY_L 0 KEY_MINUS RALT
-CD KEY_SEMICOLON 0 KEY_5 0
-CE KEY_2 0 KEY_MINUS 0
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_DOT 0
-D5 KEY_X 0 KEY_3 0
-D6 KEY_C 0 KEY_E RALT
-D7 KEY_V 0 KEY_DOT SHIFT
-D8 KEY_B 0 KEY_6 RALT
-D9 KEY_N 0 KEY_8 RALT
-DA KEY_9 0 KEY_BACKSLASH SHIFT
-DB KEY_0 0 KEY_M SHIFT
-DC KEY_APOSTROPHE 0 KEY_SLASH 0
-DD KEY_M 0 KEY_102ND 0
-DE KEY_COMMA SHIFT KEY_102ND SHIFT
-EC KEY_LEFTBRACE 0 KEY_LEFTBRACE SHIFT
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/no.tohkbdmap
^
|
@@ -1,65 +0,0 @@
-# TOHKBD2 Key mapping file
-# Norsk (no)
-#
-variant nodeadkeys
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 0 KEY_F1 0
-A4 KEY_2 0 KEY_F2 0
-A5 KEY_3 0 KEY_F3 0
-A6 KEY_4 0 KEY_F4 0
-A7 KEY_5 0 KEY_F5 0
-A8 KEY_6 0 KEY_F6 0
-A9 KEY_7 0 KEY_F7 0
-AA KEY_8 0 KEY_F8 0
-AB KEY_9 0 KEY_F9 0
-AC KEY_0 0 KEY_F10 0
-AD KEY_SLASH 0 KEY_F11 0
-AE KEY_0 SHIFT KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_RIGHTBRACE RALT
-B5 KEY_W 0 KEY_3 SHIFT
-B6 KEY_E 0 KEY_4 RALT
-B7 KEY_R 0 KEY_5 SHIFT
-B8 KEY_T 0 KEY_RIGHTBRACE SHIFT
-B9 KEY_Y 0 KEY_6 SHIFT
-BA KEY_U 0 KEY_BACKSLASH SHIFT
-BB KEY_I 0 KEY_7 RALT
-BC KEY_O 0 KEY_0 RALT
-BD KEY_P 0 KEY_SLASH SHIFT
-BE KEY_LEFTBRACE 0 KEY_MINUS 0
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_COMMA SHIFT
-C5 KEY_S 0 KEY_BACKSLASH 0
-C6 KEY_D 0 KEY_3 RALT
-C7 KEY_F 0 KEY_EQUAL SHIFT
-C8 KEY_G 0 KEY_EQUAL RALT
-C9 KEY_H 0 KEY_H 0
-CA KEY_J 0 KEY_J 0
-CB KEY_K 0 KEY_8 RALT
-CC KEY_L 0 KEY_9 RALT
-CD KEY_SEMICOLON 0 KEY_8 SHIFT
-CE KEY_APOSTROPHE 0 KEY_9 SHIFT
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_DOT SHIFT
-D5 KEY_X 0 KEY_2 SHIFT
-D6 KEY_C 0 KEY_E RALT
-D7 KEY_V 0 KEY_7 SHIFT
-D8 KEY_B 0 KEY_GRAVE 0
-D9 KEY_N 0 KEY_EQUAL 0
-DA KEY_M 0 KEY_M RALT
-DB KEY_MINUS SHIFT KEY_MINUS SHIFT
-DC KEY_1 SHIFT KEY_1 SHIFT
-DD KEY_COMMA 0 KEY_102ND 0
-DE KEY_DOT 0 KEY_102ND SHIFT
-EC KEY_2 RALT KEY_TOH_NEWEMAIL 0
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/pl.tohkbdmap
^
|
@@ -1,82 +0,0 @@
-# TOHKBD2 Key mapping file
-# Polish (pl)
-#
-# TL;DR - polish programmers + most symbols as drawn. You'll find the curly brackets as
-# sym+h and sym+j, square brackets as symbols between L and Alt (old round brackets)
-#
-# The layout is based on the US layout (as the PL programmers keyboard is)
-# All the local characters are symbol+character, like sym+a gives ą etc.
-# Shift+symbol+character gives respective capital letter, like shift+sym+a gives Ą.
-# For this to happen, though, the pre-carved symbol characters needed to be moved.
-# Where possible, I tried to put them where they sit on a US keyboard, but the keys
-# left of the Ctrl key. There's too few of them (1), unlike 3 as you get on a full
-# keyboard. I used the only key as the backslash/pipe sign. The square brackets
-# are placed as the hw hor intended, on sym+k and sym+l, so these are still available,
-# but I needed to move the curly brackets as the right curly bracket (sym+o ) is now ó.
-# As there was no character drawn as sym+h and sym+j, I used them for the curly brackets.
-# I replaced the round brackets with square brackets - round brackets are normally as
-# shift+9 and shift+0, so no need to have them there.
-# The other lost symbols are like on a US keyboard - $ is shift+4, ; is just next to l,
-# apostrophe follows ;.
-variant nodeadkeys
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 0 KEY_F1 0
-A4 KEY_2 0 KEY_F2 0
-A5 KEY_3 0 KEY_F3 0
-A6 KEY_4 0 KEY_F4 0
-A7 KEY_5 0 KEY_F5 0
-A8 KEY_6 0 KEY_F6 0
-A9 KEY_7 0 KEY_F7 0
-AA KEY_8 0 KEY_F8 0
-AB KEY_9 0 KEY_F9 0
-AC KEY_0 0 KEY_F10 0
-AD KEY_MINUS 0 KEY_F11 0
-AE KEY_EQUAL 0 KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_GRAVE SHIFT
-B5 KEY_W 0 KEY_3 SHIFT
-B6 KEY_E 0 KEY_E RALT
-B7 KEY_R 0 KEY_5 SHIFT
-B8 KEY_T 0 KEY_6 SHIFT
-B9 KEY_Y 0 KEY_7 SHIFT
-BA KEY_U 0 KEY_8 SHIFT
-BB KEY_I 0 KEY_LEFTBRACE SHIFT
-BC KEY_O 0 KEY_O RALT
-BD KEY_P 0 KEY_MINUS SHIFT
-BE KEY_BACKSLASH 0 KEY_BACKSLASH SHIFT
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_A RALT
-C5 KEY_S 0 KEY_S RALT
-C6 KEY_D 0 KEY_D 0
-C7 KEY_F 0 KEY_GRAVE 0
-C8 KEY_G 0 KEY_G 0
-C9 KEY_H 0 KEY_LEFTBRACE SHIFT
-CA KEY_J 0 KEY_RIGHTBRACE SHIFT
-CB KEY_K 0 KEY_LEFTBRACE 0
-CC KEY_L 0 KEY_L RALT
-CD KEY_SEMICOLON 0 KEY_LEFTBRACE 0
-CE KEY_APOSTROPHE 0 KEY_RIGHTBRACE 0
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_Z RALT
-D5 KEY_X 0 KEY_X RALT
-D6 KEY_C 0 KEY_C RALT
-D7 KEY_V 0 KEY_SLASH 0
-D8 KEY_B 0 KEY_BACKSLASH SHIFT
-D9 KEY_N 0 KEY_N RALT
-DA KEY_M 0 KEY_M 0
-DB KEY_SLASH 0 KEY_SLASH SHIFT
-DC KEY_1 SHIFT KEY_1 SHIFT
-DD KEY_COMMA 0 KEY_102ND 0
-DE KEY_DOT 0 KEY_102ND SHIFT
-EC KEY_2 SHIFT KEY_TOH_NEWEMAIL 0
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/ru.tohkbdmap
^
|
@@ -1,68 +0,0 @@
-# TOHKBD2 Key mapping file
-# Russian (ru)
-#
-variant none
-#
-# Alternative layout can be toggled with Sym-Alt
-alternative us
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 0 KEY_F1 0
-A4 KEY_2 0 KEY_F2 0
-A5 KEY_3 0 KEY_F3 0
-A6 KEY_4 0 KEY_F4 0
-A7 KEY_5 0 KEY_F5 0
-A8 KEY_6 0 KEY_F6 0
-A9 KEY_7 0 KEY_F7 0
-AA KEY_8 0 KEY_F8 0
-AB KEY_9 0 KEY_F9 0
-AC KEY_0 0 KEY_F10 0
-AD KEY_MINUS 0 KEY_F11 0
-AE KEY_EQUAL 0 KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_GRAVE SHIFT
-B5 KEY_W 0 KEY_3 SHIFT
-B6 KEY_E 0 KEY_4 SHIFT
-B7 KEY_R 0 KEY_5 SHIFT
-B8 KEY_T 0 KEY_6 SHIFT
-B9 KEY_Y 0 KEY_7 SHIFT
-BA KEY_U 0 KEY_8 SHIFT
-BB KEY_I 0 KEY_LEFTBRACE SHIFT
-BC KEY_O 0 KEY_RIGHTBRACE SHIFT
-BD KEY_P 0 KEY_MINUS SHIFT
-BE KEY_LEFTBRACE 0 KEY_EQUAL SHIFT
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_SEMICOLON 0
-C5 KEY_S 0 KEY_APOSTROPHE 0
-C6 KEY_D 0 KEY_D 0
-C7 KEY_F 0 KEY_GRAVE 0
-C8 KEY_G 0 KEY_G 0
-C9 KEY_H 0 KEY_H 0
-CA KEY_J 0 KEY_J 0
-CB KEY_K 0 KEY_LEFTBRACE 0
-CC KEY_L 0 KEY_RIGHTBRACE 0
-CD KEY_SEMICOLON 0 KEY_9 SHIFT
-CE KEY_APOSTROPHE 0 KEY_0 SHIFT
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_SEMICOLON SHIFT
-D5 KEY_X 0 KEY_APOSTROPHE SHIFT
-D6 KEY_C 0 KEY_C 0
-D7 KEY_V 0 KEY_SLASH 0
-D8 KEY_B 0 KEY_BACKSLASH SHIFT
-D9 KEY_N 0 KEY_BACKSLASH 0
-DA KEY_M 0 KEY_M 0
-DB KEY_COMMA 0 KEY_102ND 0
-DC KEY_DOT 0 KEY_102ND SHIFT
-DD KEY_SLASH SHIFT KEY_SLASH SHIFT
-DE KEY_SLASH 0 KEY_1 SHIFT
-EC KEY_2 SHIFT KEY_TOH_NEWEMAIL 0
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/se.tohkbdmap
^
|
@@ -1,65 +0,0 @@
-# TOHKBD2 Key mapping file
-# Swedish (se)
-#
-variant nodeadkeys
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 0 KEY_F1 0
-A4 KEY_2 0 KEY_F2 0
-A5 KEY_3 0 KEY_F3 0
-A6 KEY_4 0 KEY_F4 0
-A7 KEY_5 0 KEY_F5 0
-A8 KEY_6 0 KEY_F6 0
-A9 KEY_7 0 KEY_F7 0
-AA KEY_8 0 KEY_F8 0
-AB KEY_9 0 KEY_F9 0
-AC KEY_0 0 KEY_F10 0
-AD KEY_SLASH 0 KEY_F11 0
-AE KEY_0 SHIFT KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_RIGHTBRACE RALT
-B5 KEY_W 0 KEY_3 SHIFT
-B6 KEY_E 0 KEY_4 RALT
-B7 KEY_R 0 KEY_5 SHIFT
-B8 KEY_T 0 KEY_RIGHTBRACE SHIFT
-B9 KEY_Y 0 KEY_6 SHIFT
-BA KEY_U 0 KEY_BACKSLASH SHIFT
-BB KEY_I 0 KEY_7 RALT
-BC KEY_O 0 KEY_0 RALT
-BD KEY_P 0 KEY_SLASH SHIFT
-BE KEY_LEFTBRACE 0 KEY_MINUS 0
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_COMMA SHIFT
-C5 KEY_S 0 KEY_BACKSLASH 0
-C6 KEY_D 0 KEY_3 RALT
-C7 KEY_F 0 KEY_EQUAL SHIFT
-C8 KEY_G 0 KEY_EQUAL 0
-C9 KEY_H 0 KEY_H 0
-CA KEY_J 0 KEY_J 0
-CB KEY_K 0 KEY_8 RALT
-CC KEY_L 0 KEY_9 RALT
-CD KEY_SEMICOLON 0 KEY_8 SHIFT
-CE KEY_APOSTROPHE 0 KEY_9 SHIFT
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_DOT SHIFT
-D5 KEY_X 0 KEY_2 SHIFT
-D6 KEY_C 0 KEY_E RALT
-D7 KEY_V 0 KEY_7 SHIFT
-D8 KEY_B 0 KEY_102ND RALT
-D9 KEY_N 0 KEY_MINUS RALT
-DA KEY_M 0 KEY_M RALT
-DB KEY_MINUS SHIFT KEY_MINUS SHIFT
-DC KEY_1 SHIFT KEY_1 SHIFT
-DD KEY_COMMA 0 KEY_102ND 0
-DE KEY_DOT 0 KEY_102ND SHIFT
-EC KEY_2 RALT KEY_TOH_NEWEMAIL 0
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/layouts/us.tohkbdmap
^
|
@@ -1,65 +0,0 @@
-# TOHKBD2 Key mapping file
-# English (us)
-#
-variant none
-#
-#Code Plain key Plain mod Sym key Sym mod
-#
-A1 KEY_TAB 0 KEY_ESC 0
-A3 KEY_1 0 KEY_F1 0
-A4 KEY_2 0 KEY_F2 0
-A5 KEY_3 0 KEY_F3 0
-A6 KEY_4 0 KEY_F4 0
-A7 KEY_5 0 KEY_F5 0
-A8 KEY_6 0 KEY_F6 0
-A9 KEY_7 0 KEY_F7 0
-AA KEY_8 0 KEY_F8 0
-AB KEY_9 0 KEY_F9 0
-AC KEY_0 0 KEY_F10 0
-AD KEY_MINUS 0 KEY_F11 0
-AE KEY_EQUAL 0 KEY_F12 0
-AF KEY_BACKSPACE 0 KEY_BACKSPACE 0
-B1 KEY_DELETE 0 KEY_TOH_SELFIE 0
-B2 KEY_UP 0 KEY_PAGEUP 0
-B3 KEY_INSERT 0 KEY_TOH_SCREENSHOT 0
-B4 KEY_Q 0 KEY_GRAVE SHIFT
-B5 KEY_W 0 KEY_3 SHIFT
-B6 KEY_E 0 KEY_4 SHIFT
-B7 KEY_R 0 KEY_5 SHIFT
-B8 KEY_T 0 KEY_6 SHIFT
-B9 KEY_Y 0 KEY_7 SHIFT
-BA KEY_U 0 KEY_8 SHIFT
-BB KEY_I 0 KEY_LEFTBRACE SHIFT
-BC KEY_O 0 KEY_RIGHTBRACE SHIFT
-BD KEY_P 0 KEY_MINUS SHIFT
-BE KEY_LEFTBRACE 0 KEY_EQUAL SHIFT
-C1 KEY_LEFT 0 KEY_VOLUMEDOWN 0
-C3 KEY_RIGHT 0 KEY_VOLUMEUP 0
-C4 KEY_A 0 KEY_SEMICOLON 0
-C5 KEY_S 0 KEY_APOSTROPHE 0
-C6 KEY_D 0 KEY_D 0
-C7 KEY_F 0 KEY_GRAVE 0
-C8 KEY_G 0 KEY_G 0
-C9 KEY_H 0 KEY_H 0
-CA KEY_J 0 KEY_J 0
-CB KEY_K 0 KEY_LEFTBRACE 0
-CC KEY_L 0 KEY_RIGHTBRACE 0
-CD KEY_SEMICOLON 0 KEY_9 SHIFT
-CE KEY_APOSTROPHE 0 KEY_0 SHIFT
-D1 KEY_HOME 0 KEY_TOH_BACKLIGHT 0
-D2 KEY_DOWN 0 KEY_PAGEDOWN 0
-D3 KEY_END 0 KEY_END 0
-D4 KEY_Z 0 KEY_SEMICOLON SHIFT
-D5 KEY_X 0 KEY_APOSTROPHE SHIFT
-D6 KEY_C 0 KEY_C 0
-D7 KEY_V 0 KEY_SLASH 0
-D8 KEY_B 0 KEY_BACKSLASH SHIFT
-D9 KEY_N 0 KEY_BACKSLASH 0
-DA KEY_M 0 KEY_M 0
-DB KEY_SLASH SHIFT KEY_SLASH SHIFT
-DC KEY_1 SHIFT KEY_1 SHIFT
-DD KEY_COMMA 0 KEY_102ND 0
-DE KEY_DOT 0 KEY_102ND SHIFT
-EC KEY_2 SHIFT KEY_TOH_NEWEMAIL 0
-EF KEY_ENTER 0 KEY_ENTER 0
-E9 KEY_SPACE 0 KEY_SPACE 0
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/x-harbour.tohkbd2.conf
^
|
@@ -1,3 +0,0 @@
-x-nemo-icon=/usr/share/harbour-tohkbd2-user/icon-system-keyboard.png
-urgency=0
-transient=true
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/config/x-harbour.tohkbd2.screenshot.conf
^
|
@@ -1,4 +0,0 @@
-appIcon=/usr/share/harbour-tohkbd2-user/icon-lock-tohkbd2.png
-x-nemo-icon=/usr/share/harbour-tohkbd2-user/icon-lock-tohkbd2.png
-x-nemo-preview-/usr/share/harbour-tohkbd2-user/icon-lock-tohkbd2.png
-x-nemo-priority=60
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/harbour-tohkbd2-user.desktop
^
|
@@ -1,6 +0,0 @@
-[Desktop Entry]
-Type=Application
-NoDisplay=true
-Name=TOHKBD2 User Daemon
-Icon=icon-launcher-dummy
-Exec=/usr/bin/harbour-tohkbd2-user
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/ca.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="ca" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>S'ha desat la captura de pantalla</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>S'ha connectat el teclat</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>S'ha desconnectat el teclat</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>S'està iniciant %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>S'està reiniciant</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>S'està reiniciant Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation>El teclat físic seleccionat no està suportat per TOHKBD2, o bé manca el fitxer de configuració o és invàlid.</translation>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/cs_CZ.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="cs_CZ" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Uložit snímek obrazovky</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Klávesnice byla připojena</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Klávesnice byla odpojena</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Spouští se %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Restartování telefonu</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Restartování Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/da.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="da" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Skærmbillede gemt</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Tastatur tilsluttet</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Tastatur frakoblet</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Starter %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Genstarter</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Genstarter Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/de.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="de" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Bildschirmfoto gespeichert</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Tastatur verbunden</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Tastatur entfernt</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Starte %1 ...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Reboote</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Starte Lipstick neu</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation>Das ausgewählte physikalische Tastaturlayout wird von TOHKBD2 nicht unterstützt. Die Konfigurationsdatei könnte auch fehlen oder fehlerhaft sein.</translation>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/engineering_en.ts
^
|
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.1">
-<context>
- <name></name>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation type="unfinished"></translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"></translation>
- </message>
-</context>
-</TS>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/es.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="es" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Captura de pantalla guardada</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Teclado conectado</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Teclado desconectado</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Iniciando %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Reiniciando</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Reiniciando Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/fi.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="fi" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Ruudunkaappaus tallennettu</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Näppäimistö liitetty</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Näppäimistö irrotettu</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Käynnistetään %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Puhelin käynnistyy uudelleen</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Lipstick käynnistyy uudelleen</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation>TOHKBD2 ei tue valittua näppäimistöasettelua, tai määritystiedosto saattaa sisältää virheitä.</translation>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/fr.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="fr" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Capture d'écran sauvegardée</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Clavier connecté</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Clavier retiré</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Lancement %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Redémarrage</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Redémarrage de Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/it.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="it" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Schermata salvata</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Tastiera connessa</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Tastiera scollegata</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Avvio %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Riavvio</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Rilancio di Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/ja.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="ja" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>スクリーンショットを保存しました</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>キーボードが接続されました</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>キーボードが取り外されました</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>%1を開始しています...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>再起動しています</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Lipstickを再起動しています</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/nb.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="nb" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Skjermbilde lagret</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Tastatur tilkoblet</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Tastatur frakoblet</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Starter %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Starter om</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Omstart av Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/nl_NL.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="nl_NL" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Het screenshot is opgeslagen</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Het toetsenbord is verbonden</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Het toetsenbord is verwijderd</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Bezig met het starten van %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Bezig met herstarten</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Bezig met het herstarten van Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation>De geselecteerde, fysieke indeling wordt niet ondersteund door TOHKBD2. Het kan ook zijn dat het configuratiebestand ongeldig is of ontbreekt.</translation>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/pl.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="pl" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Zrzut ekranu zapisany</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Klawiatura podłączona</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Klawiatura odłączona</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Uruchamianie %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Restartowanie systemu</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Restartowanie Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/ru_RU.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="ru_RU" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Скриншот сохранен</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Клавиатура подключена</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Клавиатура отключена</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>%1 запускается...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Перезагрузка</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Перезапуск домашнего экрана</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation>Выбранная раскладка клавиатуры не поддерживается TOHKBD2. Или файл конфигурации содержит ошибки. Или его вообще нет. Или еще что-нибудь.</translation>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/i18n/sv.ts
^
|
@@ -1,41 +0,0 @@
-<?xml version="1.0" ?><!DOCTYPE TS><TS language="sv" version="2.1">
-<context>
- <name/>
- <message id="screenshot-saved">
- <source>Screenshot saved</source>
- <extracomment>Notification shown after screenshot is taken</extracomment>
- <translation>Skärmdump sparad</translation>
- </message>
- <message id="keyb-connected">
- <source>Keyboard connected</source>
- <extracomment>Notification shown when keyboard is connected</extracomment>
- <translation>Tangentbordet anslutet</translation>
- </message>
- <message id="keyb-removed">
- <source>Keyboard removed</source>
- <extracomment>Notification shown when keyboard is removed</extracomment>
- <translation>Tangentbordet frånkopplat</translation>
- </message>
- <message id="starting-app">
- <source>Starting %1...</source>
- <extracomment>Notification shown when application is started by pressing shortcut key</extracomment>
- <translation>Startar %1...</translation>
- </message>
- <message id="reboot-remorse">
- <source>Rebooting</source>
- <extracomment>Remorse timer text, "Rebooting" in 5 seconds</extracomment>
- <translation>Startar om telefonen</translation>
- </message>
- <message id="restart-lipstick-remorse">
- <source>Restarting Lipstick</source>
- <extracomment>Remorse timer text, "Restarting Lipstick" in 5 seconds</extracomment>
- <translation>Startar om Lipstick</translation>
- </message>
- <message id="layout-unsupported">
- <source>The selected physical layout is not supported by TOHKBD2. Config file can also be invalid or missing.</source>
- <oldsource>The selected physical layout is not supported by TOHKBD2</oldsource>
- <extracomment>Notification shown when a physical layout is not supported or the config file has an error. Notification text will scroll.</extracomment>
- <translation type="unfinished"/>
- </message>
-</context>
-</TS>
\ No newline at end of file
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/src/applauncher.cpp
^
|
@@ -1,36 +0,0 @@
-#include <stdio.h>
-#include "applauncher.h"
-#include <mlite5/MDesktopEntry>
-#include <QSharedPointer>
-
-#include <QThread>
-#include <QProcess>
-
-AppLauncher::AppLauncher(QObject *parent) :
- QObject(parent)
-{
-}
-
-void AppLauncher::launchApplication(const QString &desktopFilename)
-{
- QSharedPointer<MDesktopEntry> app;
-
- app = QSharedPointer<MDesktopEntry>(new MDesktopEntry(desktopFilename));
-
- if (!app->isValid())
- {
- printf("tohkbd2-user: AppLauncher: invalid application: %s\n", qPrintable(desktopFilename));
- emit launchFailed();
- return;
- }
-
- printf("tohkbd2-user: AppLauncher: starting: %s\n" ,qPrintable(app->name()));
-
- emit launchSuccess(app->name());
-
- QProcess proc;
- proc.startDetached("/usr/bin/xdg-open" , QStringList() << desktopFilename);
-
- QThread::msleep(100);
-}
-
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/src/applauncher.h
^
|
@@ -1,21 +0,0 @@
-#ifndef APPLAUNCHER_H
-#define APPLAUNCHER_H
-
-#include <QObject>
-
-class AppLauncher : public QObject
-{
- Q_OBJECT
-public:
- explicit AppLauncher(QObject *parent = 0);
-
-
-public slots:
- void launchApplication(const QString &desktopFilename);
-
-signals:
- void launchSuccess(const QString &appName);
- void launchFailed();
-};
-
-#endif // APPLAUNCHER_H
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/src/screenshot.cpp
^
|
@@ -1,57 +0,0 @@
-#include <stdio.h>
-#include <QVariantHash>
-
-#include "screenshot.h"
-
-ScreenShot::ScreenShot(QObject *parent) :
- QObject(parent)
-{
-}
-
-void ScreenShot::takeScreenShot()
-{
- QString ssFilename = QString("%1/ss%2.png")
- .arg(QStandardPaths::writableLocation(QStandardPaths::PicturesLocation))
- .arg(QDateTime::currentDateTime().toString("yyyyMMdd-hhmmss-zzz"));
-
- QDBusMessage m = QDBusMessage::createMethodCall("org.nemomobile.lipstick",
- "/org/nemomobile/lipstick/screenshot",
- "",
- "saveScreenshot" );
-
- QList<QVariant> args;
- args.append(ssFilename);
- m.setArguments(args);
-
- if (QDBusConnection::sessionBus().send(m))
- printf("tohkbd2-user: Screenshot success to %s\n", qPrintable(ssFilename));
- else
- printf("tohkbd2-user: Screenshot failed\n");
-
- notif.setAppName("TOHKBD");
- //: Notification shown after screenshot is taken
- //% "Screenshot saved"
- notif.setSummary(qtTrId("screenshot-saved"));
- notif.setPreviewSummary(qtTrId("screenshot-saved"));
- notif.setBody(ssFilename.split("/").last());
- notif.setPreviewBody(ssFilename.split("/").last());
- notif.setCategory("x-harbour.tohkbd2.screenshot");
- notif.setReplacesId(0);
-
- args.clear();
- args.append((QStringList() << ssFilename));
-
- notif.setRemoteAction(Notification::remoteAction("default",
- QString(),
- "com.jolla.gallery",
- "/com/jolla/gallery/ui",
- "com.jolla.gallery.ui",
- "showImages",
- args));
-
- notif.publish();
-
- printf("tohkbd2-user: Notification sent\n");
-}
-
-
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-ambience-tohkbd2-0.5.26.tar.bz2/user-daemon/src/screenshot.h
^
|
@@ -1,25 +0,0 @@
-#ifndef SCREENSHOT_H
-#define SCREENSHOT_H
-
-#include <QObject>
-#include <QtDBus/QtDBus>
-#include <QDateTime>
-#include <QDBusMessage>
-#include <nemonotifications-qt5/notification.h>
-
-class ScreenShot : public QObject
-{
- Q_OBJECT
-public:
- explicit ScreenShot(QObject *parent = 0);
-
-signals:
-
-public slots:
- void takeScreenShot();
-
-private:
- Notification notif;
-};
-
-#endif // SCREENSHOT_H
|