Skip to content

Commit

Permalink
Renamed to harbour-prefix for Jolla store, removed old qt components …
Browse files Browse the repository at this point in the history
…files.
  • Loading branch information
vranki committed Dec 20, 2013
1 parent 925b717 commit 73788ec
Show file tree
Hide file tree
Showing 32 changed files with 18 additions and 1,190 deletions.
Empty file modified debian/rules 100755 → 100644
Empty file.
4 changes: 2 additions & 2 deletions siilihai-mobile.desktop → harbour-siilihai-mobile.desktop
Expand Up @@ -2,5 +2,5 @@
Type=Application
X-Nemo-Application-Type=no-invoker
Name=Siilihai
Icon=siilihai-mobile
Exec=siilihai-mobile
Icon=harbour-siilihai-mobile
Exec=harbour-siilihai-mobile
File renamed without changes
7 changes: 2 additions & 5 deletions main.cpp
Expand Up @@ -17,23 +17,20 @@ Q_DECL_EXPORT int main(int argc, char *argv[])
app.setQuitOnLastWindowClosed(false);
app.connect(&viewer, SIGNAL(closing(QQuickCloseEvent*)), &shm, SLOT(haltSiilihai()));

#ifdef use_components
viewer.setMainQmlFile(QStringLiteral("qrc:/qml/siilihai-mobile/main.qml"));
#else
// Find the main.qml to use..
QFile mainQml("../siilihai-mobile/qml/siilihai-mobile-nocomponents/main.qml");
if(mainQml.exists()) {
viewer.setMainQmlFile(mainQml.fileName());
} else {
mainQml.setFileName("/usr/share/siilihai-mobile/qml/siilihai-mobile-nocomponents/main.qml");
mainQml.setFileName("/usr/share/harbour-siilihai-mobile/qml/siilihai-mobile-nocomponents/main.qml");
if(mainQml.exists()) {
viewer.setMainQmlFile(mainQml.fileName());
} else {
qDebug() << Q_FUNC_INFO << "Cannot open main.qml!";
return -1;
}
}
#endif

// viewer.setOrientation(QmlApplicationViewer::ScreenOrientationAuto);
shm.setContextProperties(); // Root ctx may change when loading, so redo this
//viewer.showExpanded();
Expand Down
8 changes: 7 additions & 1 deletion qml/siilihai-mobile-nocomponents/HideEffect.qml
@@ -1,6 +1,11 @@
import QtQuick 2.0
import QtGraphicalEffects 1.0
// Disabled until QGE are allowed
//import QtGraphicalEffects 1.0

Item {

}
/*
RecursiveBlur {
anchors.fill: parent
source: parent
Expand All @@ -10,3 +15,4 @@ RecursiveBlur {
visible: opacity > 0
Behavior on opacity { SmoothedAnimation { velocity: 5 } }
}
*/
2 changes: 1 addition & 1 deletion qml/siilihai-mobile-nocomponents/widgets/BusyIndicator.qml
Expand Up @@ -11,7 +11,7 @@ Rectangle {
height: parent.height
width: height*2
SequentialAnimation on x {
running: enabled
running: enabled && Qt.application.active
loops: Animation.Infinite
NumberAnimation { from: 0; to: busyindicator.width; duration: 500; easing.type: Easing.InOutQuad }
NumberAnimation { from: busyindicator.width; to: 0; duration: 500; easing.type: Easing.InOutQuad }
Expand Down
25 changes: 0 additions & 25 deletions qml/siilihai-mobile/AccountlessRegistration.qml

This file was deleted.

89 changes: 0 additions & 89 deletions qml/siilihai-mobile/ButtonWithUnreadCount.qml

This file was deleted.

8 changes: 0 additions & 8 deletions qml/siilihai-mobile/ConfirmUnsubscribe.qml

This file was deleted.

57 changes: 0 additions & 57 deletions qml/siilihai-mobile/CredentialsDialogPage.qml

This file was deleted.

84 changes: 0 additions & 84 deletions qml/siilihai-mobile/ForumCredentialsPage.qml

This file was deleted.

0 comments on commit 73788ec

Please sign in to comment.