Compare commits
7 commits
2c037793a7
...
51227c1323
Author | SHA1 | Date | |
---|---|---|---|
51227c1323 | |||
aac7fd7328 | |||
f3dd33c4ca | |||
|
83f0c54f8b | ||
71d1831ed3 | |||
|
0b91948141 | ||
|
9d37635500 |
|
@ -6,6 +6,6 @@ Exec=harbour-fernschreiber
|
|||
Name=Fernschreiber
|
||||
|
||||
[X-Sailjail]
|
||||
Permissions=Audio;Contacts;Documents;Downloads;Internet;Location;MediaIndexing;Microphone;Music;Pictures;PublicDir;RemovableMedia;UserDirs;Videos
|
||||
Permissions=Audio;Documents;Downloads;Internet;Location;MediaIndexing;Microphone;Music;Pictures;PublicDir;RemovableMedia;UserDirs;Videos
|
||||
OrganizationName=de.ygriega
|
||||
ApplicationName=fernschreiber
|
||||
|
|
|
@ -140,7 +140,6 @@ DISTFILES += qml/harbour-fernschreiber.qml \
|
|||
qml/pages/VideoPage.qml \
|
||||
rpm/harbour-fernschreiber.changes \
|
||||
rpm/harbour-fernschreiber.spec \
|
||||
rpm/harbour-fernschreiber.yaml \
|
||||
translations/*.ts \
|
||||
harbour-fernschreiber.desktop
|
||||
|
||||
|
|
|
@ -17,28 +17,28 @@
|
|||
along with Fernschreiber. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import QtQuick 2.0
|
||||
import org.nemomobile.contacts 1.0
|
||||
//import org.nemomobile.contacts 1.0
|
||||
|
||||
Item {
|
||||
|
||||
signal syncError();
|
||||
// signal syncError();
|
||||
|
||||
function synchronize() {
|
||||
if (peopleModel.count === 0) {
|
||||
appNotification.show(qsTr("Could not synchronize your contacts with Telegram."));
|
||||
syncError();
|
||||
} else {
|
||||
contactsModel.startImportingContacts();
|
||||
for (var i = 0; i < peopleModel.count; i++ ) {
|
||||
contactsModel.importContact(peopleModel.get(i));
|
||||
}
|
||||
contactsModel.stopImportingContacts();
|
||||
}
|
||||
}
|
||||
// function synchronize() {
|
||||
// if (peopleModel.count === 0) {
|
||||
// appNotification.show(qsTr("Could not synchronize your contacts with Telegram."));
|
||||
// syncError();
|
||||
// } else {
|
||||
// contactsModel.startImportingContacts();
|
||||
// for (var i = 0; i < peopleModel.count; i++ ) {
|
||||
// contactsModel.importContact(peopleModel.get(i));
|
||||
// }
|
||||
// contactsModel.stopImportingContacts();
|
||||
// }
|
||||
// }
|
||||
|
||||
PeopleModel {
|
||||
id: peopleModel
|
||||
requiredProperty: PeopleModel.PhoneNumberRequired
|
||||
}
|
||||
// PeopleModel {
|
||||
// id: peopleModel
|
||||
// requiredProperty: PeopleModel.PhoneNumberRequired
|
||||
// }
|
||||
|
||||
}
|
||||
|
|
|
@ -38,7 +38,7 @@ ListItem {
|
|||
readonly property var userInformation: tdLibWrapper.getUserInformation(myMessage.sender_id.user_id)
|
||||
property QtObject precalculatedValues: ListView.view.precalculatedValues
|
||||
readonly property color textColor: isOwnMessage ? Theme.highlightColor : Theme.primaryColor
|
||||
readonly property int textAlign: isOwnMessage ? Text.AlignRight : Text.AlignLeft
|
||||
readonly property int textAlign: Text.AlignLeft
|
||||
readonly property Page page: precalculatedValues.page
|
||||
readonly property bool isSelected: messageListItem.precalculatedValues.pageIsSelecting && page.selectedMessages.some(function(existingMessage) {
|
||||
return existingMessage.id === messageId
|
||||
|
|
|
@ -95,7 +95,7 @@ MessageContentBase {
|
|||
tdLibWrapper.downloadFile(previewFileId);
|
||||
}
|
||||
} else {
|
||||
placeholderImage.source = "image://theme/icon-l-video?white";
|
||||
placeholderImage.source = "image://theme/icon-m-video?white";
|
||||
placeholderImage.width = Theme.itemSizeLarge
|
||||
placeholderImage.height = Theme.itemSizeLarge
|
||||
}
|
||||
|
|
0
qml/js/emoji/1f6dd.svg
Executable file → Normal file
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
0
qml/js/emoji/1f6de.svg
Executable file → Normal file
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
0
qml/js/emoji/1f6df.svg
Executable file → Normal file
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
0
qml/js/emoji/1f7f0.svg
Executable file → Normal file
Before Width: | Height: | Size: 221 B After Width: | Height: | Size: 221 B |
0
qml/js/emoji/1f91d-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1f91d-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1f91d-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1f91d-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1f91d-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1f979.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1f9cc.svg
Executable file → Normal file
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
qml/js/emoji/1fa7b.svg
Executable file → Normal file
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.9 KiB |
0
qml/js/emoji/1fa7c.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
0
qml/js/emoji/1faa9.svg
Executable file → Normal file
Before Width: | Height: | Size: 8.4 KiB After Width: | Height: | Size: 8.4 KiB |
0
qml/js/emoji/1faaa.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1faab.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
0
qml/js/emoji/1faac.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
0
qml/js/emoji/1fab7.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
qml/js/emoji/1fab8.svg
Executable file → Normal file
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
0
qml/js/emoji/1fab9.svg
Executable file → Normal file
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.7 KiB |
0
qml/js/emoji/1faba.svg
Executable file → Normal file
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
0
qml/js/emoji/1fac3-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac3-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac3-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac3-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac3-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac3.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac4-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac4-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac4-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac4-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac4-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac4.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
0
qml/js/emoji/1fac5-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fac5-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fac5-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fac5-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fac5-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fac5.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fad7.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fad8.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fad9.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
0
qml/js/emoji/1fae0.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1fae1.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
0
qml/js/emoji/1fae2.svg
Executable file → Normal file
Before Width: | Height: | Size: 971 B After Width: | Height: | Size: 971 B |
0
qml/js/emoji/1fae3.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
0
qml/js/emoji/1fae4.svg
Executable file → Normal file
Before Width: | Height: | Size: 422 B After Width: | Height: | Size: 422 B |
0
qml/js/emoji/1fae5.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
0
qml/js/emoji/1fae6.svg
Executable file → Normal file
Before Width: | Height: | Size: 689 B After Width: | Height: | Size: 689 B |
0
qml/js/emoji/1fae7.svg
Executable file → Normal file
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
0
qml/js/emoji/1faf0-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1faf0-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1faf0-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1faf0-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1faf0-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1faf0.svg
Executable file → Normal file
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
0
qml/js/emoji/1faf1-1f3fb-200d-1faf2-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fb-200d-1faf2-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fb-200d-1faf2-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fb-200d-1faf2-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
0
qml/js/emoji/1faf1-1f3fc-200d-1faf2-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fc-200d-1faf2-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fc-200d-1faf2-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fc-200d-1faf2-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
0
qml/js/emoji/1faf1-1f3fd-200d-1faf2-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fd-200d-1faf2-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fd-200d-1faf2-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fd-200d-1faf2-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
0
qml/js/emoji/1faf1-1f3fe-200d-1faf2-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fe-200d-1faf2-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fe-200d-1faf2-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fe-200d-1faf2-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
0
qml/js/emoji/1faf1-1f3ff-200d-1faf2-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3ff-200d-1faf2-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3ff-200d-1faf2-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3ff-200d-1faf2-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
0
qml/js/emoji/1faf1-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
0
qml/js/emoji/1faf1.svg
Executable file → Normal file
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 741 B |
0
qml/js/emoji/1faf2-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
0
qml/js/emoji/1faf2-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
0
qml/js/emoji/1faf2-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
0
qml/js/emoji/1faf2-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
0
qml/js/emoji/1faf2-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
0
qml/js/emoji/1faf2.svg
Executable file → Normal file
Before Width: | Height: | Size: 989 B After Width: | Height: | Size: 989 B |
0
qml/js/emoji/1faf3-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
qml/js/emoji/1faf3-1f3fc.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
qml/js/emoji/1faf3-1f3fd.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
qml/js/emoji/1faf3-1f3fe.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
qml/js/emoji/1faf3-1f3ff.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
qml/js/emoji/1faf3.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
0
qml/js/emoji/1faf4-1f3fb.svg
Executable file → Normal file
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |