added wwwpage and changed structure
authorTommi Asp <tomma.asp@gmail.com>
Thu, 22 Jul 2010 07:57:26 +0000 (10:57 +0300)
committerTommi Asp <tomma.asp@gmail.com>
Thu, 22 Jul 2010 07:57:26 +0000 (10:57 +0300)
87 files changed:
cuteexplorer.pro [deleted file]
cuteexplorer/cuteexplorer.pro [new file with mode: 0644]
cuteexplorer/debian/README.Debian [new file with mode: 0644]
cuteexplorer/debian/changelog [new file with mode: 0644]
cuteexplorer/debian/compat [new file with mode: 0644]
cuteexplorer/debian/control [new file with mode: 0644]
cuteexplorer/debian/copyright [new file with mode: 0644]
cuteexplorer/debian/cron.d.ex [new file with mode: 0644]
cuteexplorer/debian/cuteexplorer-default.ex [new file with mode: 0644]
cuteexplorer/debian/cuteexplorer.doc-base.EX [new file with mode: 0644]
cuteexplorer/debian/dirs [new file with mode: 0644]
cuteexplorer/debian/docs [new file with mode: 0644]
cuteexplorer/debian/emacsen-install.ex [new file with mode: 0644]
cuteexplorer/debian/emacsen-remove.ex [new file with mode: 0644]
cuteexplorer/debian/emacsen-startup.ex [new file with mode: 0644]
cuteexplorer/debian/init.d.ex [new file with mode: 0644]
cuteexplorer/debian/manpage.1.ex [new file with mode: 0644]
cuteexplorer/debian/manpage.sgml.ex [new file with mode: 0644]
cuteexplorer/debian/manpage.xml.ex [new file with mode: 0644]
cuteexplorer/debian/menu.ex [new file with mode: 0644]
cuteexplorer/debian/postinst.ex [new file with mode: 0644]
cuteexplorer/debian/postrm.ex [new file with mode: 0644]
cuteexplorer/debian/preinst.ex [new file with mode: 0644]
cuteexplorer/debian/prerm.ex [new file with mode: 0644]
cuteexplorer/debian/rules [new file with mode: 0755]
cuteexplorer/debian/watch.ex [new file with mode: 0644]
cuteexplorer/src/cuteexplorer.desktop [new file with mode: 0644]
cuteexplorer/src/cuteexplorer_icon.svg [new file with mode: 0644]
cuteexplorer/src/cuteexplorer_icon48.base64 [new file with mode: 0644]
cuteexplorer/src/cuteexplorer_icon48.png [new file with mode: 0644]
cuteexplorer/src/cuteexplorer_icon64.png [new file with mode: 0644]
cuteexplorer/src/cuteexplorertranslation_fi_FI.qm [new file with mode: 0644]
cuteexplorer/src/cuteexplorertranslation_fi_FI.ts [new file with mode: 0644]
cuteexplorer/src/filelistwidget.cpp [new file with mode: 0644]
cuteexplorer/src/filelistwidget.h [new file with mode: 0644]
cuteexplorer/src/i18n.qrc [new file with mode: 0644]
cuteexplorer/src/main.cpp [new file with mode: 0644]
cuteexplorer/src/mainwindow.cpp [new file with mode: 0644]
cuteexplorer/src/mainwindow.h [new file with mode: 0644]
cuteexplorer/src/mainwindow.ui [new file with mode: 0644]
cuteexplorer/src/searchdialog.cpp [new file with mode: 0644]
cuteexplorer/src/searchdialog.h [new file with mode: 0644]
cuteexplorer/src/searchdialog.ui [new file with mode: 0644]
cuteexplorer/src/src.pro [new file with mode: 0644]
debian/README.Debian [deleted file]
debian/changelog [deleted file]
debian/compat [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/cron.d.ex [deleted file]
debian/cuteexplorer-default.ex [deleted file]
debian/cuteexplorer.doc-base.EX [deleted file]
debian/dirs [deleted file]
debian/docs [deleted file]
debian/emacsen-install.ex [deleted file]
debian/emacsen-remove.ex [deleted file]
debian/emacsen-startup.ex [deleted file]
debian/init.d.ex [deleted file]
debian/manpage.1.ex [deleted file]
debian/manpage.sgml.ex [deleted file]
debian/manpage.xml.ex [deleted file]
debian/menu.ex [deleted file]
debian/postinst.ex [deleted file]
debian/postrm.ex [deleted file]
debian/preinst.ex [deleted file]
debian/prerm.ex [deleted file]
debian/rules [deleted file]
debian/watch.ex [deleted file]
src/cuteexplorer.desktop [deleted file]
src/cuteexplorer_icon.svg [deleted file]
src/cuteexplorer_icon48.base64 [deleted file]
src/cuteexplorer_icon48.png [deleted file]
src/cuteexplorer_icon64.png [deleted file]
src/cuteexplorertranslation_fi_FI.qm [deleted file]
src/cuteexplorertranslation_fi_FI.ts [deleted file]
src/filelistwidget.cpp [deleted file]
src/filelistwidget.h [deleted file]
src/i18n.qrc [deleted file]
src/main.cpp [deleted file]
src/mainwindow.cpp [deleted file]
src/mainwindow.h [deleted file]
src/mainwindow.ui [deleted file]
src/searchdialog.cpp [deleted file]
src/searchdialog.h [deleted file]
src/searchdialog.ui [deleted file]
src/src.pro [deleted file]
www/index.html [new file with mode: 0644]

diff --git a/cuteexplorer.pro b/cuteexplorer.pro
deleted file mode 100644 (file)
index 5e620b8..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-QMAKEVERSION = $$[QMAKE_VERSION]
-ISQT4 = $$find(QMAKEVERSION, ^[2-9])
-isEmpty( ISQT4 ) {
-error("Use the qmake include with Qt4.4 or greater");
-}
-
-TEMPLATE = subdirs
-SUBDIRS  = src
diff --git a/cuteexplorer/cuteexplorer.pro b/cuteexplorer/cuteexplorer.pro
new file mode 100644 (file)
index 0000000..5e620b8
--- /dev/null
@@ -0,0 +1,8 @@
+QMAKEVERSION = $$[QMAKE_VERSION]
+ISQT4 = $$find(QMAKEVERSION, ^[2-9])
+isEmpty( ISQT4 ) {
+error("Use the qmake include with Qt4.4 or greater");
+}
+
+TEMPLATE = subdirs
+SUBDIRS  = src
diff --git a/cuteexplorer/debian/README.Debian b/cuteexplorer/debian/README.Debian
new file mode 100644 (file)
index 0000000..8f8fa3c
--- /dev/null
@@ -0,0 +1,6 @@
+cuteexplorer for Debian
+-----------------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- unknown <tomma.asp@gmail.com>  Mon, 22 Mar 2010 15:26:30 +0200
diff --git a/cuteexplorer/debian/changelog b/cuteexplorer/debian/changelog
new file mode 100644 (file)
index 0000000..94d2c2b
--- /dev/null
@@ -0,0 +1,78 @@
+cuteexplorer (1.1.1-1) unstable; urgency=low
+
+  * release for pr 1.2
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Thu, 27 May 2010 16:42:06 +0300
+
+cuteexplorer (1.1.1) unstable; urgency=low
+
+  * fixed filelist selection bug
+  * added shortcuts for commands
+  * fixed rename failed when canceled renamedialog
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Thu,  6 May 2010 20:44:29 +0300
+
+cuteexplorer (1.1-7) unstable; urgency=low
+
+  * shlibs.local added
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 13:03:31 +0300
+
+cuteexplorer (1.1-6) unstable; urgency=low
+
+  * 4
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 12:26:19 +0300
+
+cuteexplorer (1.1-5) unstable; urgency=low
+
+  * libhildonmime dep fix try number 3
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 11:54:18 +0300
+
+cuteexplorer (1.1-4) unstable; urgency=low
+
+  * working dependies for pr 1.1
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 10:54:24 +0300
+
+cuteexplorer (1.1-3) unstable; urgency=low
+
+   * ffs... lets wait for pr 1.2 then 
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Mon, 12 Apr 2010 13:18:43 +0300
+
+cuteexplorer (1.1-2) unstable; urgency=low
+
+  * Moved back to libqt4-maemo5 because oldversions were removed
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Mon, 12 Apr 2010 12:21:10 +0300
+
+cuteexplorer (1.1-1) unstable; urgency=low
+
+  * moved to use libqt4
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Fri,  9 Apr 2010 18:37:27 +0300
+
+cuteexplorer (1.1) unstable; urgency=low
+
+  * Fixed bluetooth sending, no need to "copy" files first
+  * Added context menu for filelistwidget
+  * Actions from edit menu moved to fileslistwidgets contextmenu
+  * Check not to send directories via bluetooth
+  * Added help and about dialogs
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Fri,  9 Apr 2010 18:02:07 +0300
+
+cuteexplorer (1.0-2) unstable; urgency=low
+
+  * Fixed broken .desktop -file
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Mon, 22 Mar 2010 23:07:55 +0200
+
+cuteexplorer (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
+
+ -- Tommi Asp <tomma.asp@gmail.com>  Mon, 22 Mar 2010 14:09:49 +0200
+
diff --git a/cuteexplorer/debian/compat b/cuteexplorer/debian/compat
new file mode 100644 (file)
index 0000000..7ed6ff8
--- /dev/null
@@ -0,0 +1 @@
+5
diff --git a/cuteexplorer/debian/control b/cuteexplorer/debian/control
new file mode 100644 (file)
index 0000000..68ae33c
--- /dev/null
@@ -0,0 +1,38 @@
+Source: cuteexplorer
+Section: user/utilities
+Priority: extra
+Maintainer: Tommi Asp <tomma.asp@gmail.com>
+Build-Depends: debhelper (>= 5), libqt4-dev, libdbus-1-dev, libhildonmime-dev
+Standards-Version: 3.7.2
+
+Package: cuteexplorer
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Filemanager for maemo5 using Qt
+ Navigate in the real filesystem.
+ Send files via bluetooth.
+XSBC-Maemo-Display-Name: CuteExplorer
+XB-Maemo-Icon-26:
+ iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAA7E
+ AAAOxAGVKw4bAAADfklEQVRoge2ZTWsrVRjHf2eal5tMILdxlbYRym27cJUu
+ pCi34MZFtZvrxg/gQr+ApRuhO6nVnYLQT2AXIsJdiILbG4R7K6ISpoFSLWnv
+ hZjbppPJS3NcJGecvHfy4iSQHxwy88xzcv7/M3POzJwRUkqmGc1rAcMyM+A1
+ U29AACHgEbDgsZa7kgW+lVIWVSANyCkraWBRSoloBABKI+qhcRNs/H4npXyk
+ DHwspfzcmbWzs/NjoTynSTQxV31Z6fevWkDTiBKovahZo1Kq67q+v7//0BkT
+ QuwCnwJFKWXY14gXWitbllX658Huu3IuRPS3XQBisRjr6+tNeWdnZxiGwf33
+ 7xN+GOb5J8+pvqiOxIBlWd93CCutAQBfhwQbf+4XmAva+8VikdPT06acfD4P
+ QOn3EuKeoHZVG1zxAHQ1EAwGM/eyj7+A/waJaZqcnJx0zDefmphPzZGK8/v9
+ PTsYehjQdf3Pg4ODr0eqyCV7e3sf9cuxDQghAsA7wANAbG9vvyGEiIxRX19a
+ NGSAx605ysArwDPgNXXg4uIC4L0xa+xJBw1/AN84c5SBD4EEgKbVny6EEPa2
+ IplMsrm5ORaxR0dHXF5eNsWcGmq1GtQ7+ANnjjKQAFhZWSEajdYDiYSqZBOP
+ x9tio2JtbY2FheanGaeGfD5PJpMBeNWZ0zSIw+Fwz0ZyuRzFYrFnzqBYVu/7
+ XzdtfacpJ8lkkq2tLTdV7szh4SHn5+eu67kykEqlSKVSrhsZJ64MbGxsTPcZ
+ OD4+Jp1Ou27kLhQKbY9jd8KVgVgsxvLy8kANKTKZTNt0OQyuDEQiEZaWloZq
+ MJvNDlW/FVcGDMPAMIyRChiWqX+pnxnwmqYxYJomPl89VKlUiMfjnohSlMtl
+ bm5ubD0tvFQbXi+RDFo+UwvTP0+AGLflJyAgpcQHfAW8BbC6umpfQpNGpVJx
+ vo9/KaUsQ8sYCIVCCCHI5XJUq6NZGhkWn89HLBbr2rFt0evra0qlyVmku729
+ 5erqikik8+t52zQ6rjeuYeilaSruA0KIrsfaDOi63rPC/40QouvlA/Ux8Jfa
+ KRQKzM/Ps7i4ODGXkqZp9sTi4G+1IaifhSfA63Zwgs4AQMuX1CfAm1IFG78J
+ 4Fe8v0H1K89ofNhQRSgjQgg/8DawSv3MTBISOAF+kFI23aDE7EO3x8wMeM3M
+ gNdMvYF/Acd52O0Tf+jGAAAAAElFTkSuQmCC
+XSBC-Bugtracker: https://garage.maemo.org/tracker/?atid=5332&group_id=1469&func=browse
diff --git a/cuteexplorer/debian/copyright b/cuteexplorer/debian/copyright
new file mode 100644 (file)
index 0000000..d66a63f
--- /dev/null
@@ -0,0 +1,36 @@
+This package was debianized by unknown <tomma.asp@gmail.com> on
+Mon, 22 Mar 2010 15:26:30 +0200.
+
+It was downloaded from <fill in http/ftp site>
+
+Upstream Author: <put author(s) name and email here>
+
+Copyright: <put the year(s) of the copyright, and the names of the
+            copyright holder(s) here>
+
+License:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+
+The Debian packaging is (C) 2010, unknown <tomma.asp@gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.
diff --git a/cuteexplorer/debian/cron.d.ex b/cuteexplorer/debian/cron.d.ex
new file mode 100644 (file)
index 0000000..8d3c775
--- /dev/null
@@ -0,0 +1,4 @@
+#
+# Regular cron jobs for the cuteexplorer package
+#
+0 4    * * *   root    cuteexplorer_maintenance
diff --git a/cuteexplorer/debian/cuteexplorer-default.ex b/cuteexplorer/debian/cuteexplorer-default.ex
new file mode 100644 (file)
index 0000000..aa9d00e
--- /dev/null
@@ -0,0 +1,10 @@
+# Defaults for cuteexplorer initscript
+# sourced by /etc/init.d/cuteexplorer
+# installed at /etc/default/cuteexplorer by the maintainer scripts
+
+#
+# This is a POSIX shell fragment
+#
+
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS=""
diff --git a/cuteexplorer/debian/cuteexplorer.doc-base.EX b/cuteexplorer/debian/cuteexplorer.doc-base.EX
new file mode 100644 (file)
index 0000000..c396ff5
--- /dev/null
@@ -0,0 +1,22 @@
+Document: cuteexplorer
+Title: Debian cuteexplorer Manual
+Author: <insert document author here>
+Abstract: This manual describes what cuteexplorer is
+ and how it can be used to
+ manage online manuals on Debian systems.
+Section: unknown
+
+Format: debiandoc-sgml
+Files: /usr/share/doc/cuteexplorer/cuteexplorer.sgml.gz
+
+Format: postscript
+Files: /usr/share/doc/cuteexplorer/cuteexplorer.ps.gz
+
+Format: text
+Files: /usr/share/doc/cuteexplorer/cuteexplorer.text.gz
+
+Format: HTML
+Index: /usr/share/doc/cuteexplorer/html/index.html
+Files: /usr/share/doc/cuteexplorer/html/*.html
+
+  
diff --git a/cuteexplorer/debian/dirs b/cuteexplorer/debian/dirs
new file mode 100644 (file)
index 0000000..ca882bb
--- /dev/null
@@ -0,0 +1,2 @@
+usr/bin
+usr/sbin
diff --git a/cuteexplorer/debian/docs b/cuteexplorer/debian/docs
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/cuteexplorer/debian/emacsen-install.ex b/cuteexplorer/debian/emacsen-install.ex
new file mode 100644 (file)
index 0000000..293597c
--- /dev/null
@@ -0,0 +1,45 @@
+#! /bin/sh -e
+# /usr/lib/emacsen-common/packages/install/cuteexplorer
+
+# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily
+# from the install scripts for gettext by Santiago Vila
+# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
+
+FLAVOR=$1
+PACKAGE=cuteexplorer
+
+if [ ${FLAVOR} = emacs ]; then exit 0; fi
+
+echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
+
+#FLAVORTEST=`echo $FLAVOR | cut -c-6`
+#if [ ${FLAVORTEST} = xemacs ] ; then
+#    SITEFLAG="-no-site-file"
+#else
+#    SITEFLAG="--no-site-file"
+#fi
+FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
+
+ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
+ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+
+# Install-info-altdir does not actually exist. 
+# Maybe somebody will write it.
+if test -x /usr/sbin/install-info-altdir; then
+    echo install/${PACKAGE}: install Info links for ${FLAVOR}
+    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
+fi
+
+install -m 755 -d ${ELCDIR}
+cd ${ELDIR}
+FILES=`echo *.el`
+cp ${FILES} ${ELCDIR}
+cd ${ELCDIR}
+
+cat << EOF > path.el
+(setq load-path (cons "." load-path) byte-compile-warnings nil)
+EOF
+${FLAVOR} ${FLAGS} ${FILES}
+rm -f *.el path.el
+
+exit 0
diff --git a/cuteexplorer/debian/emacsen-remove.ex b/cuteexplorer/debian/emacsen-remove.ex
new file mode 100644 (file)
index 0000000..2955d94
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh -e
+# /usr/lib/emacsen-common/packages/remove/cuteexplorer
+
+FLAVOR=$1
+PACKAGE=cuteexplorer
+
+if [ ${FLAVOR} != emacs ]; then
+    if test -x /usr/sbin/install-info-altdir; then
+        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
+        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/cuteexplorer.info.gz
+    fi
+
+    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
+    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
+fi
diff --git a/cuteexplorer/debian/emacsen-startup.ex b/cuteexplorer/debian/emacsen-startup.ex
new file mode 100644 (file)
index 0000000..8b3d715
--- /dev/null
@@ -0,0 +1,25 @@
+;; -*-emacs-lisp-*-
+;;
+;; Emacs startup file, e.g.  /etc/emacs/site-start.d/50cuteexplorer.el
+;; for the Debian cuteexplorer package
+;;
+;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
+;; Modified by Dirk Eddelbuettel <edd@debian.org>
+;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
+
+;; The cuteexplorer package follows the Debian/GNU Linux 'emacsen' policy and
+;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
+;; xemacs19, emacs20, xemacs20...).  The compiled code is then
+;; installed in a subdirectory of the respective site-lisp directory.
+;; We have to add this to the load-path:
+(let ((package-dir (concat "/usr/share/"
+                           (symbol-name flavor)
+                           "/site-lisp/cuteexplorer")))
+;; If package-dir does not exist, the cuteexplorer package must have
+;; removed but not purged, and we should skip the setup.
+  (when (file-directory-p package-dir)
+        (setq load-path (cons package-dir load-path))
+       (autoload 'cuteexplorer-mode "cuteexplorer-mode"
+         "Major mode for editing cuteexplorer files." t)
+       (add-to-list 'auto-mode-alist '("\\.cuteexplorer$" . cuteexplorer-mode))))
+
diff --git a/cuteexplorer/debian/init.d.ex b/cuteexplorer/debian/init.d.ex
new file mode 100644 (file)
index 0000000..740c9d7
--- /dev/null
@@ -0,0 +1,81 @@
+#! /bin/sh
+#
+# skeleton     example file to build /etc/init.d/ scripts.
+#              This file should be used to construct scripts for /etc/init.d.
+#
+#              Written by Miquel van Smoorenburg <miquels@cistron.nl>.
+#              Modified for Debian 
+#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
+#
+# Version:     @(#)skeleton  1.9  26-Feb-2001  miquels@cistron.nl
+#
+
+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
+DAEMON=/usr/sbin/cuteexplorer
+NAME=cuteexplorer
+DESC=cuteexplorer
+
+test -x $DAEMON || exit 0
+
+# Include cuteexplorer defaults if available
+if [ -f /etc/default/cuteexplorer ] ; then
+       . /etc/default/cuteexplorer
+fi
+
+set -e
+
+case "$1" in
+  start)
+       echo -n "Starting $DESC: "
+       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
+               --exec $DAEMON -- $DAEMON_OPTS
+       echo "$NAME."
+       ;;
+  stop)
+       echo -n "Stopping $DESC: "
+       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
+               --exec $DAEMON
+       echo "$NAME."
+       ;;
+  #reload)
+       #
+       #       If the daemon can reload its config files on the fly
+       #       for example by sending it SIGHUP, do it here.
+       #
+       #       If the daemon responds to changes in its config file
+       #       directly anyway, make this a do-nothing entry.
+       #
+       # echo "Reloading $DESC configuration files."
+       # start-stop-daemon --stop --signal 1 --quiet --pidfile \
+       #       /var/run/$NAME.pid --exec $DAEMON
+  #;;
+  force-reload)
+       #
+       #       If the "reload" option is implemented, move the "force-reload"
+       #       option to the "reload" entry above. If not, "force-reload" is
+       #       just the same as "restart" except that it does nothing if the
+       #   daemon isn't already running.
+       # check wether $DAEMON is running. If so, restart
+       start-stop-daemon --stop --test --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON \
+       && $0 restart \
+       || exit 0
+       ;;
+  restart)
+    echo -n "Restarting $DESC: "
+       start-stop-daemon --stop --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON
+       sleep 1
+       start-stop-daemon --start --quiet --pidfile \
+               /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+       echo "$NAME."
+       ;;
+  *)
+       N=/etc/init.d/$NAME
+       # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
+       echo "Usage: $N {start|stop|restart|force-reload}" >&2
+       exit 1
+       ;;
+esac
+
+exit 0
diff --git a/cuteexplorer/debian/manpage.1.ex b/cuteexplorer/debian/manpage.1.ex
new file mode 100644 (file)
index 0000000..fee2a3b
--- /dev/null
@@ -0,0 +1,59 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH CUTEEXPLORER SECTION "March 22, 2010"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh        disable hyphenation
+.\" .hy        enable hyphenation
+.\" .ad l      left justify
+.\" .ad b      justify to both left and right margins
+.\" .nf        disable filling
+.\" .fi        enable filling
+.\" .br        insert line break
+.\" .sp <n>    insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+cuteexplorer \- program to do something
+.SH SYNOPSIS
+.B cuteexplorer
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B cuteexplorer
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
+.\" respectively.
+\fBcuteexplorer\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+cuteexplorer was written by <upstream author>.
+.PP
+This manual page was written by unknown <tomma.asp@gmail.com>,
+for the Debian project (but may be used by others).
diff --git a/cuteexplorer/debian/manpage.sgml.ex b/cuteexplorer/debian/manpage.sgml.ex
new file mode 100644 (file)
index 0000000..bb856e1
--- /dev/null
@@ -0,0 +1,156 @@
+<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+
+<!-- Process this file with docbook-to-man to generate an nroff manual
+     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
+     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
+     less'.  A typical entry in a Makefile or Makefile.am is:
+
+manpage.1: manpage.sgml
+       docbook-to-man $< > $@
+
+    
+       The docbook-to-man binary is found in the docbook-to-man package.
+       Please remember that if you create the nroff version in one of the
+       debian/rules file targets (such as build), you will need to include
+       docbook-to-man in your Build-Depends control field.
+
+  -->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>March 22, 2010</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>tomma.asp@gmail.com</email>">
+  <!ENTITY dhusername  "unknown">
+  <!ENTITY dhucpackage "<refentrytitle>CUTEEXPLORER</refentrytitle>">
+  <!ENTITY dhpackage   "cuteexplorer">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+         later version published by the Free Software Foundation.
+    </para>
+       <para>
+         On Debian systems, the complete text of the GNU General Public
+         License can be found in /usr/share/common-licenses/GPL.
+       </para>
+
+  </refsect1>
+</refentry>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:2
+sgml-indent-data:t
+sgml-parent-document:nil
+sgml-default-dtd-file:nil
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+-->
+
+
diff --git a/cuteexplorer/debian/manpage.xml.ex b/cuteexplorer/debian/manpage.xml.ex
new file mode 100644 (file)
index 0000000..78da485
--- /dev/null
@@ -0,0 +1,148 @@
+<?xml version='1.0' encoding='ISO-8859-1'?>
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
+
+<!--
+
+Process this file with an XSLT processor: `xsltproc \
+-''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl manpage.dbk'.  A manual page
+<package>.<section> will be generated.  You may view the
+manual page with: nroff -man <package>.<section> | less'.  A
+typical entry in a Makefile or Makefile.am is:
+
+DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
+manpages/docbook.xsl
+XP=xsltproc -''-nonet
+
+manpage.1: manpage.dbk
+        $(XP) $(DB2MAN) $<
+    
+The xsltproc binary is found in the xsltproc package.  The
+XSL files are in docbook-xsl.  Please remember that if you
+create the nroff version in one of the debian/rules file
+targets (such as build), you will need to include xsltproc
+and docbook-xsl in your Build-Depends control field.
+
+-->
+
+  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
+  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
+  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
+  <!-- Please adjust the date whenever revising the manpage. -->
+  <!ENTITY dhdate      "<date>March 22, 2010</date>">
+  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
+       allowed: see man(7), man(1). -->
+  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
+  <!ENTITY dhemail     "<email>tomma.asp@gmail.com</email>">
+  <!ENTITY dhusername  "unknown">
+  <!ENTITY dhucpackage "<refentrytitle>CUTEEXPLORER</refentrytitle>">
+  <!ENTITY dhpackage   "cuteexplorer">
+
+  <!ENTITY debian      "<productname>Debian</productname>">
+  <!ENTITY gnu         "<acronym>GNU</acronym>">
+  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
+]>
+
+<refentry>
+  <refentryinfo>
+    <address>
+      &dhemail;
+    </address>
+    <author>
+      &dhfirstname;
+      &dhsurname;
+    </author>
+    <copyright>
+      <year>2003</year>
+      <holder>&dhusername;</holder>
+    </copyright>
+    &dhdate;
+  </refentryinfo>
+  <refmeta>
+    &dhucpackage;
+
+    &dhsection;
+  </refmeta>
+  <refnamediv>
+    <refname>&dhpackage;</refname>
+
+    <refpurpose>program to do something</refpurpose>
+  </refnamediv>
+  <refsynopsisdiv>
+    <cmdsynopsis>
+      <command>&dhpackage;</command>
+
+      <arg><option>-e <replaceable>this</replaceable></option></arg>
+
+      <arg><option>--example <replaceable>that</replaceable></option></arg>
+    </cmdsynopsis>
+  </refsynopsisdiv>
+  <refsect1>
+    <title>DESCRIPTION</title>
+
+    <para>This manual page documents briefly the
+      <command>&dhpackage;</command> and <command>bar</command>
+      commands.</para>
+
+    <para>This manual page was written for the &debian; distribution
+      because the original program does not have a manual page.
+      Instead, it has documentation in the &gnu;
+      <application>Info</application> format; see below.</para>
+
+    <para><command>&dhpackage;</command> is a program that...</para>
+
+  </refsect1>
+  <refsect1>
+    <title>OPTIONS</title>
+
+    <para>These programs follow the usual &gnu; command line syntax,
+      with long options starting with two dashes (`-').  A summary of
+      options is included below.  For a complete description, see the
+      <application>Info</application> files.</para>
+
+    <variablelist>
+      <varlistentry>
+        <term><option>-h</option>
+          <option>--help</option>
+        </term>
+        <listitem>
+          <para>Show summary of options.</para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term><option>-v</option>
+          <option>--version</option>
+        </term>
+        <listitem>
+          <para>Show version of program.</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refsect1>
+  <refsect1>
+    <title>SEE ALSO</title>
+
+    <para>bar (1), baz (1).</para>
+
+    <para>The programs are documented fully by <citetitle>The Rise and
+      Fall of a Fooish Bar</citetitle> available via the
+      <application>Info</application> system.</para>
+  </refsect1>
+  <refsect1>
+    <title>AUTHOR</title>
+
+    <para>This manual page was written by &dhusername; &dhemail; for
+      the &debian; system (but may be used by others).  Permission is
+      granted to copy, distribute and/or modify this document under
+      the terms of the &gnu; General Public License, Version 2 any 
+         later version published by the Free Software Foundation.
+    </para>
+       <para>
+         On Debian systems, the complete text of the GNU General Public
+         License can be found in /usr/share/common-licenses/GPL.
+       </para>
+
+  </refsect1>
+</refentry>
+
diff --git a/cuteexplorer/debian/menu.ex b/cuteexplorer/debian/menu.ex
new file mode 100644 (file)
index 0000000..aab1a2c
--- /dev/null
@@ -0,0 +1,2 @@
+?package(cuteexplorer):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
+  title="cuteexplorer" command="/usr/bin/cuteexplorer"
diff --git a/cuteexplorer/debian/postinst.ex b/cuteexplorer/debian/postinst.ex
new file mode 100644 (file)
index 0000000..1453621
--- /dev/null
@@ -0,0 +1,41 @@
+#!/bin/sh
+# postinst script for cuteexplorer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/cuteexplorer/debian/postrm.ex b/cuteexplorer/debian/postrm.ex
new file mode 100644 (file)
index 0000000..b042d76
--- /dev/null
@@ -0,0 +1,39 @@
+#!/bin/sh
+# postrm script for cuteexplorer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postrm> `remove'
+#        * <postrm> `purge'
+#        * <old-postrm> `upgrade' <new-version>
+#        * <new-postrm> `failed-upgrade' <old-version>
+#        * <new-postrm> `abort-install'
+#        * <new-postrm> `abort-install' <old-version>
+#        * <new-postrm> `abort-upgrade' <old-version>
+#        * <disappearer's-postrm> `disappear' <overwriter>
+#          <overwriter-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+    ;;
+
+    *)
+        echo "postrm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/cuteexplorer/debian/preinst.ex b/cuteexplorer/debian/preinst.ex
new file mode 100644 (file)
index 0000000..98c07e9
--- /dev/null
@@ -0,0 +1,37 @@
+#!/bin/sh
+# preinst script for cuteexplorer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <new-preinst> `install'
+#        * <new-preinst> `install' <old-version>
+#        * <new-preinst> `upgrade' <old-version>
+#        * <old-preinst> `abort-upgrade' <new-version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    install|upgrade)
+    ;;
+
+    abort-upgrade)
+    ;;
+
+    *)
+        echo "preinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/cuteexplorer/debian/prerm.ex b/cuteexplorer/debian/prerm.ex
new file mode 100644 (file)
index 0000000..ee5ea81
--- /dev/null
@@ -0,0 +1,40 @@
+#!/bin/sh
+# prerm script for cuteexplorer
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <prerm> `remove'
+#        * <old-prerm> `upgrade' <new-version>
+#        * <new-prerm> `failed-upgrade' <old-version>
+#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
+#        * <deconfigured's-prerm> `deconfigure' `in-favour'
+#          <package-being-installed> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    remove|upgrade|deconfigure)
+    ;;
+
+    failed-upgrade)
+    ;;
+
+    *)
+        echo "prerm called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
diff --git a/cuteexplorer/debian/rules b/cuteexplorer/debian/rules
new file mode 100755 (executable)
index 0000000..67631fc
--- /dev/null
@@ -0,0 +1,54 @@
+#!/usr/bin/make -f
+APPNAME := cuteexplorer
+builddir:
+       mkdir -p builddir
+
+builddir/Makefile: builddir
+       cd builddir && qmake PREFIX=/usr ../$(APPNAME).pro
+
+build: build-stamp
+
+build-stamp: builddir/Makefile
+       dh_testdir
+       # Add here commands to compile the package.
+       cd builddir && $(MAKE)
+       touch $@
+
+clean:
+       dh_testdir
+       dh_testroot
+       rm -f build-stamp
+       # Add here commands to clean up after the build process.
+       rm -rf builddir
+       dh_clean
+install: build
+       dh_testdir
+       dh_testroot
+       dh_clean -k
+       dh_installdirs
+
+       # Add here commands to install the package into debian/your_appname
+       cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
+       # Build architecture-independent files here.
+binary-indep: build install
+       # We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+       dh_testdir
+       dh_testroot
+       dh_installdocs
+       dh_installexamples
+       dh_installman
+       dh_link
+       #dh_strip --dbg-package=$(APPNAME)-dbg
+       dh_compress
+       dh_fixperms
+       dh_installdeb
+       dh_shlibdeps
+       dh_gencontrol
+       dh_md5sums
+       dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/cuteexplorer/debian/watch.ex b/cuteexplorer/debian/watch.ex
new file mode 100644 (file)
index 0000000..c995601
--- /dev/null
@@ -0,0 +1,22 @@
+# Example watch control file for uscan
+# Rename this file to "watch" and then you can run the "uscan" command
+# to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+# Uncomment to examine a Webpage 
+# <Webpage URL> <string match>
+#http://www.example.com/downloads.php cuteexplorer-(.*)\.tar\.gz
+
+# Uncomment to examine a Webserver directory
+#http://www.example.com/pub/cuteexplorer-(.*)\.tar\.gz
+
+# Uncommment to examine a FTP server
+#ftp://ftp.example.com/pub/cuteexplorer-(.*)\.tar\.gz debian uupdate
+
+# Uncomment to find new files on sourceforge, for debscripts >= 2.9
+# http://sf.net/cuteexplorer/cuteexplorer-(.*)\.tar\.gz
+
+
diff --git a/cuteexplorer/src/cuteexplorer.desktop b/cuteexplorer/src/cuteexplorer.desktop
new file mode 100644 (file)
index 0000000..cf35967
--- /dev/null
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Encoding=UTF-8
+Version=1.2
+Type=Application
+Name=CuteExplorer
+Comment=Explore your maemo
+Exec=/usr/bin/cuteexplorer
+Icon=cuteexplorer_icon64
diff --git a/cuteexplorer/src/cuteexplorer_icon.svg b/cuteexplorer/src/cuteexplorer_icon.svg
new file mode 100644 (file)
index 0000000..9286d9e
--- /dev/null
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="64" height="64" id="svg2383">
+  <defs id="defs2385">
+    <linearGradient id="linearGradient3203">
+      <stop id="stop3205" style="stop-color: rgb(47, 47, 47); stop-opacity: 1;" offset="0"/>
+      <stop id="stop3207" style="stop-color: rgb(25, 25, 25); stop-opacity: 1;" offset="1"/>
+    </linearGradient>
+    <linearGradient id="linearGradient3171">
+      <stop id="stop3173" style="stop-color: rgb(81, 81, 81); stop-opacity: 1;" offset="0"/>
+      <stop id="stop3175" style="stop-color: rgb(22, 22, 22); stop-opacity: 1;" offset="1"/>
+    </linearGradient>
+    <radialGradient cx="31.643028" cy="8.0269022" r="18.113558" fx="31.643028" fy="8.0269022" id="radialGradient3177" xlink:href="#linearGradient3171" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-2.86067e-07, 1.26887, -1.16834, 0, 40.9694, -26.5322)"/>
+    <linearGradient x1="9.3691645" y1="13.265088" x2="9.3691645" y2="36.072021" id="linearGradient3209" xlink:href="#linearGradient3203" gradientUnits="userSpaceOnUse"/>
+  </defs>
+  <g id="layer1">
+    <rect width="52.38591" height="30.383835" rx="3.047076" ry="3.047076" x="5.807045" y="21.418575" id="rect2395" style="opacity: 1; fill: rgb(51, 51, 51); fill-opacity: 1; stroke: rgb(0, 0, 0); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
+    <rect width="56.568539" height="28.833637" rx="2.3849602" ry="2.3849602" x="3.7157307" y="11.497321" id="rect2393" style="opacity: 1; fill: url(&quot;#linearGradient3209&quot;) rgb(0, 0, 0); fill-opacity: 1; stroke: rgb(0, 0, 0); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
+    <rect width="46.342133" height="6.2007828" rx="2.1137414" ry="2.1137414" x="8.8289337" y="42.985096" id="rect2397" style="opacity: 1; fill: rgb(22, 22, 22); fill-opacity: 1; stroke: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
+    <rect width="41.477116" height="24.803131" rx="0" ry="0" x="11.261442" y="13.357556" id="rect3169" style="opacity: 1; fill: url(&quot;#radialGradient3177&quot;) rgb(0, 0, 0); fill-opacity: 1; stroke: rgb(128, 128, 128); stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
+    <g transform="translate(0.125, 1.625)" id="g3189">
+      <path d="M 17.6875,21.25 L 45.8125,21.25" id="path3181" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
+      <path d="M 17.6875,24.208333 L 45.8125,24.208333" id="path3183" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
+      <path d="M 17.6875,27.166667 L 45.8125,27.166667" id="path3185" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
+      <path d="M 17.6875,30.125 L 38.570012,30.125" id="path3187" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
+    </g>
+    <rect width="40.9375" height="3.8125" rx="0" ry="0" x="11.53125" y="13.625" id="rect3211" style="opacity: 1; fill: rgb(102, 102, 102); fill-opacity: 1; stroke: none; stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
+    <path d="M 17.5,15.3125 A 0.6875,0.6875 0 1 1 16.125,15.3125 A 0.6875,0.6875 0 1 1 17.5,15.3125 z" transform="matrix(1.72727, 0, 0, 1.72727, -15.6023, -11.1989)" id="path3179" style="opacity: 1; fill: rgb(85, 153, 255); fill-opacity: 1; stroke: none; stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
+    <path d="M 17.5,15.3125 A 0.6875,0.6875 0 1 1 16.125,15.3125 A 0.6875,0.6875 0 1 1 17.5,15.3125 z" transform="matrix(1.72727, 0, 0, 1.72727, -1.66477, -11.1989)" id="path3218" style="opacity: 1; fill: rgb(128, 255, 128); fill-opacity: 1; stroke: none; stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
+    <path d="M 18,15.375 L 24,15.375" id="path3220" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
+  </g>
+</svg>
\ No newline at end of file
diff --git a/cuteexplorer/src/cuteexplorer_icon48.base64 b/cuteexplorer/src/cuteexplorer_icon48.base64
new file mode 100644 (file)
index 0000000..aaff62f
--- /dev/null
@@ -0,0 +1,24 @@
+begin-base64 644 maemoexplorer_icon48.png
+iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAA7E
+AAAOxAGVKw4bAAADfklEQVRoge2ZTWsrVRjHf2eal5tMILdxlbYRym27cJUu
+pCi34MZFtZvrxg/gQr+ApRuhO6nVnYLQT2AXIsJdiILbG4R7K6ISpoFSLWnv
+hZjbppPJS3NcJGecvHfy4iSQHxwy88xzcv7/M3POzJwRUkqmGc1rAcMyM+A1
+U29AACHgEbDgsZa7kgW+lVIWVSANyCkraWBRSoloBABKI+qhcRNs/H4npXyk
+DHwspfzcmbWzs/NjoTynSTQxV31Z6fevWkDTiBKovahZo1Kq67q+v7//0BkT
+QuwCnwJFKWXY14gXWitbllX658Huu3IuRPS3XQBisRjr6+tNeWdnZxiGwf33
+7xN+GOb5J8+pvqiOxIBlWd93CCutAQBfhwQbf+4XmAva+8VikdPT06acfD4P
+QOn3EuKeoHZVG1zxAHQ1EAwGM/eyj7+A/waJaZqcnJx0zDefmphPzZGK8/v9
+PTsYehjQdf3Pg4ODr0eqyCV7e3sf9cuxDQghAsA7wANAbG9vvyGEiIxRX19a
+NGSAx605ysArwDPgNXXg4uIC4L0xa+xJBw1/AN84c5SBD4EEgKbVny6EEPa2
+IplMsrm5ORaxR0dHXF5eNsWcGmq1GtQ7+ANnjjKQAFhZWSEajdYDiYSqZBOP
+x9tio2JtbY2FheanGaeGfD5PJpMBeNWZ0zSIw+Fwz0ZyuRzFYrFnzqBYVu/7
+XzdtfacpJ8lkkq2tLTdV7szh4SHn5+eu67kykEqlSKVSrhsZJ64MbGxsTPcZ
+OD4+Jp1Ou27kLhQKbY9jd8KVgVgsxvLy8kANKTKZTNt0OQyuDEQiEZaWloZq
+MJvNDlW/FVcGDMPAMIyRChiWqX+pnxnwmqYxYJomPl89VKlUiMfjnohSlMtl
+bm5ubD0tvFQbXi+RDFo+UwvTP0+AGLflJyAgpcQHfAW8BbC6umpfQpNGpVJx
+vo9/KaUsQ8sYCIVCCCHI5XJUq6NZGhkWn89HLBbr2rFt0evra0qlyVmku729
+5erqikik8+t52zQ6rjeuYeilaSruA0KIrsfaDOi63rPC/40QouvlA/Ux8Jfa
+KRQKzM/Ps7i4ODGXkqZp9sTi4G+1IaifhSfA63Zwgs4AQMuX1CfAm1IFG78J
+4Fe8v0H1K89ofNhQRSgjQgg/8DawSv3MTBISOAF+kFI23aDE7EO3x8wMeM3M
+gNdMvYF/Acd52O0Tf+jGAAAAAElFTkSuQmCC
+====
diff --git a/cuteexplorer/src/cuteexplorer_icon48.png b/cuteexplorer/src/cuteexplorer_icon48.png
new file mode 100644 (file)
index 0000000..bd653e7
Binary files /dev/null and b/cuteexplorer/src/cuteexplorer_icon48.png differ
diff --git a/cuteexplorer/src/cuteexplorer_icon64.png b/cuteexplorer/src/cuteexplorer_icon64.png
new file mode 100644 (file)
index 0000000..6ec2c59
Binary files /dev/null and b/cuteexplorer/src/cuteexplorer_icon64.png differ
diff --git a/cuteexplorer/src/cuteexplorertranslation_fi_FI.qm b/cuteexplorer/src/cuteexplorertranslation_fi_FI.qm
new file mode 100644 (file)
index 0000000..ec31975
Binary files /dev/null and b/cuteexplorer/src/cuteexplorertranslation_fi_FI.qm differ
diff --git a/cuteexplorer/src/cuteexplorertranslation_fi_FI.ts b/cuteexplorer/src/cuteexplorertranslation_fi_FI.ts
new file mode 100644 (file)
index 0000000..423ca93
--- /dev/null
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE TS>
+<TS version="2.0" language="fi_FI">
+<context>
+    <name>FileListWidget</name>
+    <message>
+        <location filename="filelistwidget.cpp" line="72"/>
+        <source>Rename</source>
+        <translation>Uudelleen nimeä</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="72"/>
+        <source>New filename: </source>
+        <translation>Uusi tiedoston nimi:</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="78"/>
+        <location filename="filelistwidget.cpp" line="120"/>
+        <location filename="filelistwidget.cpp" line="136"/>
+        <location filename="filelistwidget.cpp" line="168"/>
+        <source>Error!</source>
+        <translation>Virhe!</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="79"/>
+        <source>Renaming file %1 failed</source>
+        <translation>Tiedoston %1 uudelleen nimeäminen epäonnistui</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="121"/>
+        <source>Copying file %1 failed</source>
+        <translation>Tiedoston %1 kopiointi epäonnistui</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="137"/>
+        <source>Moving file %1 failed</source>
+        <translation>Tiedoston %1 siirto epäonnistui</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="157"/>
+        <source>Deleting file</source>
+        <translation>Tiedoston poisto</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="158"/>
+        <source>You are about to delete %1 file(s).
+Are you sure you want to continue?</source>
+        <translation>Olet poistamassa %1 tiedostoa.\nOletko varma että tahdot jatkaa?</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="169"/>
+        <source>Deleting file %1 failed</source>
+        <translation>Tiedoston %1 poistaminen epäonnistui</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="258"/>
+        <location filename="filelistwidget.cpp" line="272"/>
+        <source>Sending files</source>
+        <translation>Tiedostojen lähetys</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="259"/>
+        <source>Sending directories not supported</source>
+        <translation>Hakemistojen lähetys ei tuettu</translation>
+    </message>
+    <message>
+        <source>To send files, select files you want to send and copy them.</source>
+        <translation type="obsolete">Lähettääksesi tiedostoja; valitse tiedostot, kopioi ja lähetä tiedostot.</translation>
+    </message>
+    <message>
+        <location filename="filelistwidget.cpp" line="273"/>
+        <source>Only in maemo5 for now</source>
+        <translation>Vain maemo5:ssä tällähetkellä</translation>
+    </message>
+</context>
+<context>
+    <name>MainWindow</name>
+    <message>
+        <location filename="mainwindow.ui" line="14"/>
+        <source>CuteExplorer</source>
+        <oldsource>Maemo Explorer</oldsource>
+        <translation>CuteExplorer</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="26"/>
+        <source>Up</source>
+        <translation>Ylös</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="29"/>
+        <source>Backspace</source>
+        <translation>Backspace</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="81"/>
+        <source>File</source>
+        <translation>Tiedosto</translation>
+    </message>
+    <message>
+        <source>Edit</source>
+        <translation type="obsolete">Muokkaa</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="74"/>
+        <source>View</source>
+        <translation>Näkymä</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="87"/>
+        <location filename="mainwindow.ui" line="149"/>
+        <location filename="mainwindow.cpp" line="76"/>
+        <location filename="mainwindow.cpp" line="80"/>
+        <source>Help</source>
+        <translation>Apua</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="98"/>
+        <source>Exit</source>
+        <translation>Lopeta</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="103"/>
+        <source>Cut</source>
+        <translation>Leikkaa</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="108"/>
+        <source>Copy</source>
+        <translation>Kopioi</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="113"/>
+        <source>Paste</source>
+        <translation>Liitä</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="118"/>
+        <source>Delete</source>
+        <translation>Poista</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="126"/>
+        <source>Icon view</source>
+        <translation>Kuvake näkymä</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="144"/>
+        <source>Send files</source>
+        <translation>Lähetä tiedostoja</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="154"/>
+        <source>About</source>
+        <translation></translation>
+    </message>
+    <message>
+        <source>Switch Mode</source>
+        <translation type="obsolete">Vaihda näkymä</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="131"/>
+        <source>Rename</source>
+        <translation>Uudelleen nimeä</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.ui" line="139"/>
+        <source>Show hidden</source>
+        <translation>Näytä piilotetut</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="77"/>
+        <source>Cut, copy, delete, rename, paste and send files</source>
+        <translation>Leikkaa, kopioi, poista, uudelleen nimeä ja lähetä tiedostoja</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="78"/>
+        <source>commands can be found from context menu (click and hold on maemo).</source>
+        <translation>komennot löytyvät context valikosta (pitkä painallus maemossa).</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="79"/>
+        <source>To select files, use ctrl and shift</source>
+        <translation>Valitaksesi tiedostoja paina ctrl tai shift pohjassa</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="87"/>
+        <source>&lt;p&gt;Version %1&lt;br/&gt;</source>
+        <translation>&lt;p&gt;Versio %1&lt;br/&gt;</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="88"/>
+        <source>Using Qt %1&lt;br/&gt;</source>
+        <oldsource>Using Qt %1
+&lt;br/&gt;</oldsource>
+        <translation>Käyttää Qt %1&lt;br/&gt;</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="89"/>
+        <source>Copyright</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="91"/>
+        <source>&lt;p&gt;CuteExplorer is file manager mainly for maemo5.&lt;br/&gt;</source>
+        <translation>&lt;p&gt;CuteExplorer on tiedosto manageri pääasiassa maemo5:lle.&lt;br/&gt;</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="92"/>
+        <source>This is still under development so please visit&lt;br/&gt;</source>
+        <translation>Tämä on vielä kehityksen alla, joten käy&lt;br/&gt;</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="93"/>
+        <source>&lt;a href=http://cuteexplorer.garage.maemo.org&gt;http://cuteexplorer.garage.maemo.org&lt;/a&gt;&lt;br/&gt;</source>
+        <translation></translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="94"/>
+        <source>to report bugs or leave feature requests. Thanks!&lt;/p&gt;</source>
+        <translation>ilmoittaaksesi bugeista. Kiitos! &lt;/p&gt;</translation>
+    </message>
+    <message>
+        <location filename="mainwindow.cpp" line="96"/>
+        <source>About CuteExplorer</source>
+        <translation></translation>
+    </message>
+</context>
+</TS>
diff --git a/cuteexplorer/src/filelistwidget.cpp b/cuteexplorer/src/filelistwidget.cpp
new file mode 100644 (file)
index 0000000..f578e7c
--- /dev/null
@@ -0,0 +1,282 @@
+#include "filelistwidget.h"
+#include <QHeaderView>
+#include <QMessageBox>
+#include <QInputDialog>
+#include <QDesktopServices>
+#include <QUrl>
+#include <QProcess>
+#include <QDBusInterface>
+#ifdef Q_WS_MAEMO_5
+#   include <hildon-mime.h>
+#   include <dbus/dbus.h>
+#endif
+/*!
+Widget that shows filesystemmodel and handles navigation
+in directory tree and opening files with assosiated programs
+
+@todo in symbian and windows filesystems navigating to "root" wont show drives
+  */
+FileListWidget::FileListWidget(QWidget *parent) :
+    QListView(parent),
+    fileSystemModel( new QFileSystemModel(this)),
+    currentDir(QDir::homePath()),
+    mode_cut(false),
+    mode_copy(false),
+    select(false)
+{
+    this->setModel(fileSystemModel);
+    this->setRootIndex(fileSystemModel->index(currentDir.absolutePath()));
+    fileSystemModel->setRootPath(currentDir.absolutePath());
+    fileSystemModel->setFilter(fileSystemModel->filter() | QDir::System);
+    connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(handleItemActivation(QModelIndex)));
+
+}
+
+/**
+  Switches view mode
+  @param iconmode true shows iconview, false shows listview
+  */
+void FileListWidget::actionSwitchMode(bool iconmode)
+{
+    if(iconmode) {
+        this->setViewMode(QListView::IconMode);
+        this->setWordWrap(true);
+        this->setGridSize(QSize(80,80));
+    } else {
+        this->setViewMode(QListView::ListMode);
+        this->setWordWrap(false);
+        this->setGridSize(QSize());
+    }
+}
+
+/**
+  Switches show hidden
+  @param show true shows hidden files
+  */
+void FileListWidget::actionShowHidden(bool show)
+{
+    if(show)
+        fileSystemModel->setFilter(fileSystemModel->filter() | QDir::Hidden);
+    else
+        fileSystemModel->setFilter(fileSystemModel->filter() &~ QDir::Hidden);
+
+    this->clearSelection();
+}
+
+/**
+  Rename selected file
+  */
+void FileListWidget::actionRename()
+{
+    QFileInfo file = fileSystemModel->fileInfo(this->selectedIndexes().first());
+    QString newName = QInputDialog::getText(this, tr("Rename"), tr("New filename: "), QLineEdit::Normal, file.fileName());
+    if(newName != file.fileName() && !newName.isEmpty())
+    {
+        if(QFile::rename(file.absoluteFilePath(), file.absolutePath()+"/"+newName))
+            return;
+        else
+            QMessageBox::critical(this,tr("Error!")
+                                  ,tr("Renaming file %1 failed")
+                                    .arg(file.fileName())
+                                  ,QMessageBox::Ok);
+    }
+}
+/**
+  Selected files will be moved when actionPaste is called
+  */
+void FileListWidget::actionCut()
+{
+    mode_cut = true;
+    mode_copy = false;
+    selectedFiles = this->selectedIndexes();
+}
+/**
+  Selected files will be copied when actionPaste is called
+  */
+void FileListWidget::actionCopy()
+{
+    mode_cut = false;
+    mode_copy = true;
+    selectedFiles = this->selectedIndexes();
+}
+
+/**
+  Moves or copies files that were selected when actionCut or actionCopy called
+  */
+void FileListWidget::actionPaste()
+{
+    fileSystemModel->setReadOnly(false);
+    if(mode_copy) {
+        //Copy files until filelist is empty or error occured
+        while(!selectedFiles.isEmpty()) {
+            if(QFile::copy(fileSystemModel->fileInfo(selectedFiles.first()).absoluteFilePath()
+                        , fileSystemModel->rootPath()+"/"+fileSystemModel->fileName(selectedFiles.first()))) {
+                selectedFiles.removeFirst();
+            }
+            else if(QFile::copy(fileSystemModel->fileInfo(selectedFiles.first()).absoluteFilePath()
+                    , fileSystemModel->rootPath()+"/copy_"+fileSystemModel->fileName(selectedFiles.first()))) {
+                selectedFiles.removeFirst();
+            } else {
+                QMessageBox::critical(this,tr("Error!")
+                                      ,tr("Copying file %1 failed")
+                                        .arg(fileSystemModel->fileName(selectedFiles.first()))
+                                      ,QMessageBox::Ok);
+                break;
+            }
+        }
+        if(selectedFiles.isEmpty())
+            mode_copy = false;
+    } else if(mode_cut) {
+        //Move files until filelist is empty or error occured
+        while(!selectedFiles.isEmpty()) {
+            if(QFile::rename(fileSystemModel->fileInfo(selectedFiles.first()).absoluteFilePath()
+                        , fileSystemModel->rootPath()+"/"+fileSystemModel->fileName(selectedFiles.first()))) {
+                    selectedFiles.removeFirst();
+            } else {
+                QMessageBox::critical(this,tr("Error!")
+                                      ,tr("Moving file %1 failed")
+                                        .arg(fileSystemModel->fileName(selectedFiles.first()))
+                                      ,QMessageBox::Ok);
+                break;
+            }
+        }
+        if(selectedFiles.isEmpty())
+            mode_cut = false;
+    }
+    fileSystemModel->setReadOnly(true);
+    this->clearSelection();
+}
+
+/**
+  Deletes selected files
+  */
+void FileListWidget::actionDelete()
+{
+    mode_cut = false;
+    mode_copy = false;
+    if(QMessageBox::Yes == QMessageBox::warning(this, tr("Deleting file")
+                            ,tr("You are about to delete %1 file(s).\nAre you sure you want to continue?")
+                                .arg(this->selectedIndexes().count())
+                            , QMessageBox::Yes, QMessageBox::No)) {
+        fileSystemModel->setReadOnly(false);
+        selectedFiles = this->selectedIndexes();
+        //delete files until filelist empty or error occured
+        while(!selectedFiles.isEmpty()) {
+            if(fileSystemModel->remove(selectedFiles.first())) {
+                selectedFiles.removeFirst();
+            } else {
+                QMessageBox::critical(this,tr("Error!")
+                                      ,tr("Deleting file %1 failed")
+                                        .arg(fileSystemModel->fileName(selectedFiles.first()))
+                                      ,QMessageBox::Ok);
+                break;
+            }
+        }
+        fileSystemModel->setReadOnly(true);
+        this->clearSelection();
+    }
+}
+
+/**
+  @return Current directory shown
+  */
+QString FileListWidget::getPath()
+{
+    return currentDir.absolutePath();
+}
+
+/**
+  Changes current directory
+  @param path directory to change to
+  */
+void FileListWidget::changePath(QString path)
+{
+    currentDir.cd(path);
+    QString newPath = currentDir.absolutePath();
+    fileSystemModel->setRootPath(newPath);
+    this->clearSelection();
+    this->setRootIndex(fileSystemModel->index(newPath));
+    emit pathChanged(newPath);
+}
+
+/**
+  Equivalent to changePath("..")
+  */
+void FileListWidget::changePathUp()
+{
+    changePath("..");
+}
+
+void FileListWidget::handleItemActivation(QModelIndex index)
+{
+    if(!select) {
+        QFileInfo file = fileSystemModel->fileInfo(index);
+        if(file.isDir()) {
+            changePath(file.absoluteFilePath());
+        } else if(file.isExecutable()) {
+            // Make process
+            QProcess::startDetached(file.absoluteFilePath());
+        } else {
+#ifdef Q_WS_MAEMO_5 // Uses native file opening method
+            //TODO: find better solution for this, maybe get fixed in Qt
+            DBusConnection* conn;
+            conn = dbus_bus_get(DBUS_BUS_SESSION, 0);
+            hildon_mime_open_file(conn, QUrl::fromLocalFile(file.absoluteFilePath()).toEncoded().constData());
+#else
+            /*
+            Not working with maemo5.
+            Uses hildon_uri_open function from
+            libhildonmime which should work,
+            but all files opened in browser.
+            */
+            QDesktopServices::openUrl(QUrl::fromLocalFile(file.absoluteFilePath()));
+#endif
+        }
+    }
+}
+/**
+  @param mode true activates file selection
+  */
+void FileListWidget::setSelectMode(bool mode)
+{
+    if(mode)
+        this->setSelectionMode(QAbstractItemView::ExtendedSelection);
+    else
+        this->setSelectionMode(QAbstractItemView::SingleSelection);
+    select = mode;
+}
+
+/**
+  Opens native bluetooth dialog to choose receiving device and sends selected files there.
+  */
+void FileListWidget::actionSendFiles()
+{
+#ifdef Q_WS_MAEMO_5
+    // Create list of file urls
+    QStringList files;
+    QFileInfo file;
+    foreach(QModelIndex index, this->selectedIndexes()) {
+        file = fileSystemModel->fileInfo(index);
+        if(file.isDir()) {
+            QMessageBox::warning(this,
+                                     tr("Sending files"),
+                                     tr("Sending directories not supported"),
+                                     QMessageBox::Cancel);
+            return;
+        }
+        files.append(QUrl::fromLocalFile(file.absoluteFilePath()).toString());
+    }
+
+    // Make dbuscall to send files
+    QDBusInterface interface("com.nokia.bt_ui", "/com/nokia/bt_ui", "com.nokia.bt_ui",QDBusConnection::systemBus());
+    interface.call(QDBus::Block, "show_send_file_dlg", files);
+
+#else
+    QMessageBox::information(this,
+                             tr("Sending files"),
+                             tr("Only in maemo5 for now"),
+                             QMessageBox::Cancel);
+#endif
+
+}
+
diff --git a/cuteexplorer/src/filelistwidget.h b/cuteexplorer/src/filelistwidget.h
new file mode 100644 (file)
index 0000000..48304cf
--- /dev/null
@@ -0,0 +1,47 @@
+#ifndef FILELISTWIDGET_H
+#define FILELISTWIDGET_H
+
+#include <QListView>
+#include <QFileSystemModel>
+#include <QDir>
+#include <QMessageBox>
+#include <QKeyEvent>
+
+class FileListWidget : public QListView
+{
+Q_OBJECT
+public:
+    explicit FileListWidget(QWidget *parent = 0);
+
+    QString getPath();
+
+signals:
+    void pathChanged(QString newPath);
+
+public slots:
+    void changePath(QString path);
+    void changePathUp();
+
+    void actionDelete();
+    void actionCut();
+    void actionCopy();
+    void actionPaste();
+    void actionSwitchMode(bool iconmode=true);
+    void actionRename();
+    void actionShowHidden(bool show=true);
+    void actionSendFiles();
+
+    void setSelectMode(bool mode=true);
+private slots:
+    void handleItemActivation(QModelIndex index);
+
+private:
+    QFileSystemModel *fileSystemModel;
+    QDir currentDir;
+    QModelIndexList selectedFiles;
+    bool mode_cut;
+    bool mode_copy;
+    bool select;
+};
+
+#endif // FILELISTWIDGET_H
diff --git a/cuteexplorer/src/i18n.qrc b/cuteexplorer/src/i18n.qrc
new file mode 100644 (file)
index 0000000..9962489
--- /dev/null
@@ -0,0 +1,5 @@
+<RCC>
+    <qresource prefix="/">
+        <file>cuteexplorertranslation_fi_FI.qm</file>
+    </qresource>
+</RCC>
diff --git a/cuteexplorer/src/main.cpp b/cuteexplorer/src/main.cpp
new file mode 100644 (file)
index 0000000..9da8be5
--- /dev/null
@@ -0,0 +1,29 @@
+#include <QtGui/QApplication>
+#include <QTranslator>
+#include <QLocale>
+#include "mainwindow.h"
+#include <QDebug>
+#include <QProcessEnvironment>
+int main(int argc, char *argv[])
+{
+    QApplication a(argc, argv);
+    QTranslator translator;
+
+    /* For some reason QLocale::system() returns
+    locale by LC_NUMERIC environment variable in linux which is
+    meant for numerics like thousand separator etc.
+
+    In this solution we get locale from LANG environment variable
+    and use QLocale::system() as fallback.
+      */
+    if(QProcessEnvironment::systemEnvironment().contains("LANG"))
+        translator.load(":/cuteexplorertranslation_"+QLocale(QProcessEnvironment::systemEnvironment().value("LANG")).name());
+    else
+        translator.load(":/cuteexplorertranslation_"+QLocale::system().name());
+
+    a.installTranslator(&translator);
+
+    MainWindow w;
+    w.show();
+    return a.exec();
+}
diff --git a/cuteexplorer/src/mainwindow.cpp b/cuteexplorer/src/mainwindow.cpp
new file mode 100644 (file)
index 0000000..5673d64
--- /dev/null
@@ -0,0 +1,106 @@
+#include "mainwindow.h"
+#include "ui_mainwindow.h"
+
+MainWindow::MainWindow(QWidget *parent) :
+    QMainWindow(parent),
+    ui(new Ui::MainWindow)
+{
+    ui->setupUi(this);
+    connect(ui->actionExit, SIGNAL(triggered()), this, SLOT(close()));
+    connect(ui->upButton, SIGNAL(clicked()), ui->fileListWidget, SLOT(changePathUp()));
+    connect(ui->locationLine, SIGNAL(returnPressed()), this, SLOT(locationLineEnterKeyHandler()));
+    connect(ui->fileListWidget, SIGNAL(pathChanged(QString)), ui->locationLine, SLOT(setText(QString)));
+    connect(ui->actionDelete, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionDelete()));
+    connect(ui->actionMode, SIGNAL(toggled(bool)), ui->fileListWidget, SLOT(actionSwitchMode(bool)));
+    connect(ui->actionCopy, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionCopy()));
+    connect(ui->actionCut, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionCut()));
+    connect(ui->actionPaste, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionPaste()));
+    connect(ui->actionShow_hidden, SIGNAL(toggled(bool)), ui->fileListWidget, SLOT(actionShowHidden(bool)));
+    connect(ui->actionRename, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionRename()));
+    connect(ui->actionSend, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionSendFiles()));
+
+    connect(ui->actionHelp, SIGNAL(triggered()), this, SLOT(showHelp()));
+    connect(ui->actionAbout, SIGNAL(triggered()), this, SLOT(showAbout()));
+
+    ui->locationLine->setText(ui->fileListWidget->getPath());
+
+    ui->actionExit->setShortcut(QKeySequence::Quit);
+
+    ui->actionCopy->setShortcut(QKeySequence::Copy);
+    ui->actionCut->setShortcut(QKeySequence::Cut);
+    ui->actionPaste->setShortcut(QKeySequence::Paste);
+    ui->actionDelete->setShortcut(QKeySequence("Ctrl+D"));
+    ui->actionRename->setShortcut(QKeySequence("Ctrl+R"));
+    ui->actionSend->setShortcut(QKeySequence::Save);
+    ui->fileListWidget->addAction(ui->actionCopy);
+    ui->fileListWidget->addAction(ui->actionCut);
+    ui->fileListWidget->addAction(ui->actionPaste);
+    ui->fileListWidget->addAction(ui->actionDelete);
+    ui->fileListWidget->addAction(ui->actionRename);
+    ui->fileListWidget->addAction(ui->actionSend);
+}
+
+MainWindow::~MainWindow()
+{
+    delete ui;
+}
+
+void MainWindow::locationLineEnterKeyHandler()
+{
+    ui->fileListWidget->changePath(ui->locationLine->text());
+}
+void MainWindow::keyPressEvent(QKeyEvent *e)
+{
+    if(e->key() == Qt::Key_Control || e->key() == Qt::Key_Shift)
+        ui->fileListWidget->setSelectMode(true);
+    else
+        QMainWindow::keyPressEvent(e);
+}
+void MainWindow::keyReleaseEvent(QKeyEvent *e)
+{
+    if(e->key() == Qt::Key_Control || e->key() == Qt::Key_Shift)
+        ui->fileListWidget->setSelectMode(false);
+    else
+        QMainWindow::keyPressEvent(e);
+}
+
+void MainWindow::changeEvent(QEvent *e)
+{
+    QMainWindow::changeEvent(e);
+    switch (e->type()) {
+    case QEvent::LanguageChange:
+        ui->retranslateUi(this);
+        break;
+    default:
+        break;
+    }
+}
+
+void MainWindow::showHelp()
+{
+    QString helpText;
+
+    helpText.append("<h2>CuteExplorer "+tr("Help") +"</h2>");
+    helpText.append("<p>"+ tr("Cut, copy, delete, rename, paste and send files")+"<br/>");
+    helpText.append(tr("commands can be found from context menu (click and hold on maemo).")+"<br/>");
+    helpText.append(tr("To select files, use ctrl and shift")+"<br/>");
+    QMessageBox::about(this, tr("Help"),
+                       helpText);
+}
+void MainWindow::showAbout()
+{
+    QString about;
+    about.append("<h2>CuteExplorer</h2>");
+    about.append(tr("<p>Version %1<br/>").arg(QString(CUTE_VERSION)));
+    about.append(tr("Using Qt %1<br/>").arg(QString(QT_VERSION_STR)));
+    about.append(tr("Copyright") + " 2010 Tommi \"tomma\" Asp &lt;tomma.asp@gmail.com&gt;<br/>");
+
+    about.append(tr("<p>CuteExplorer is file manager mainly for maemo5.<br/>"));
+    about.append(tr("This is still under development so please visit<br/>"));
+    about.append(tr("<a href=http://cuteexplorer.garage.maemo.org>http://cuteexplorer.garage.maemo.org</a><br/>"));
+    about.append(tr("to report bugs or leave feature requests. Thanks!</p>"));
+
+    QMessageBox::about(this, tr("About CuteExplorer"),
+                       about);
+}
+
diff --git a/cuteexplorer/src/mainwindow.h b/cuteexplorer/src/mainwindow.h
new file mode 100644 (file)
index 0000000..b2fa0f9
--- /dev/null
@@ -0,0 +1,31 @@
+#ifndef MAINWINDOW_H
+#define MAINWINDOW_H
+
+#include <QMainWindow>
+
+namespace Ui {
+    class MainWindow;
+}
+
+class MainWindow : public QMainWindow {
+    Q_OBJECT
+public:
+    MainWindow(QWidget *parent = 0);
+    ~MainWindow();
+
+public slots:
+    void showHelp();
+    void showAbout();
+protected:
+    void changeEvent(QEvent *e);
+    void keyPressEvent(QKeyEvent *e);
+    void keyReleaseEvent(QKeyEvent *e);
+private slots:
+   void locationLineEnterKeyHandler();
+
+private:
+    Ui::MainWindow *ui;
+
+};
+
+#endif // MAINWINDOW_H
diff --git a/cuteexplorer/src/mainwindow.ui b/cuteexplorer/src/mainwindow.ui
new file mode 100644 (file)
index 0000000..b79de1c
--- /dev/null
@@ -0,0 +1,168 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
+ <class>MainWindow</class>
+ <widget class="QMainWindow" name="MainWindow">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>600</width>
+    <height>400</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>CuteExplorer</string>
+  </property>
+  <property name="locale">
+   <locale language="English" country="UnitedStates"/>
+  </property>
+  <widget class="QWidget" name="centralWidget">
+   <layout class="QVBoxLayout" name="verticalLayout">
+    <item>
+     <layout class="QHBoxLayout" name="horizontalLayout">
+      <item>
+       <widget class="QPushButton" name="upButton">
+        <property name="text">
+         <string>Up</string>
+        </property>
+        <property name="shortcut">
+         <string>Backspace</string>
+        </property>
+       </widget>
+      </item>
+      <item>
+       <widget class="QLineEdit" name="locationLine"/>
+      </item>
+     </layout>
+    </item>
+    <item>
+     <layout class="QHBoxLayout" name="horizontalLayout_2">
+      <item>
+       <widget class="FileListWidget" name="fileListWidget">
+        <property name="contextMenuPolicy">
+         <enum>Qt::ActionsContextMenu</enum>
+        </property>
+        <property name="editTriggers">
+         <set>QAbstractItemView::NoEditTriggers</set>
+        </property>
+        <property name="showDropIndicator" stdset="0">
+         <bool>false</bool>
+        </property>
+        <property name="selectionMode">
+         <enum>QAbstractItemView::SingleSelection</enum>
+        </property>
+        <property name="textElideMode">
+         <enum>Qt::ElideRight</enum>
+        </property>
+       </widget>
+      </item>
+     </layout>
+    </item>
+   </layout>
+  </widget>
+  <widget class="QMenuBar" name="menuBar">
+   <property name="geometry">
+    <rect>
+     <x>0</x>
+     <y>0</y>
+     <width>600</width>
+     <height>21</height>
+    </rect>
+   </property>
+   <widget class="QMenu" name="menuView">
+    <property name="title">
+     <string>View</string>
+    </property>
+    <addaction name="actionMode"/>
+    <addaction name="actionShow_hidden"/>
+   </widget>
+   <widget class="QMenu" name="menuFile">
+    <property name="title">
+     <string>File</string>
+    </property>
+    <addaction name="actionExit"/>
+   </widget>
+   <widget class="QMenu" name="menuHelp">
+    <property name="title">
+     <string>Help</string>
+    </property>
+    <addaction name="actionHelp"/>
+    <addaction name="actionAbout"/>
+   </widget>
+   <addaction name="menuFile"/>
+   <addaction name="menuView"/>
+   <addaction name="menuHelp"/>
+  </widget>
+  <action name="actionExit">
+   <property name="text">
+    <string>Exit</string>
+   </property>
+  </action>
+  <action name="actionCut">
+   <property name="text">
+    <string>Cut</string>
+   </property>
+  </action>
+  <action name="actionCopy">
+   <property name="text">
+    <string>Copy</string>
+   </property>
+  </action>
+  <action name="actionPaste">
+   <property name="text">
+    <string>Paste</string>
+   </property>
+  </action>
+  <action name="actionDelete">
+   <property name="text">
+    <string>Delete</string>
+   </property>
+  </action>
+  <action name="actionMode">
+   <property name="checkable">
+    <bool>true</bool>
+   </property>
+   <property name="text">
+    <string>Icon view</string>
+   </property>
+  </action>
+  <action name="actionRename">
+   <property name="text">
+    <string>Rename</string>
+   </property>
+  </action>
+  <action name="actionShow_hidden">
+   <property name="checkable">
+    <bool>true</bool>
+   </property>
+   <property name="text">
+    <string>Show hidden</string>
+   </property>
+  </action>
+  <action name="actionSend">
+   <property name="text">
+    <string>Send files</string>
+   </property>
+  </action>
+  <action name="actionHelp">
+   <property name="text">
+    <string>Help</string>
+   </property>
+  </action>
+  <action name="actionAbout">
+   <property name="text">
+    <string>About</string>
+   </property>
+  </action>
+ </widget>
+ <layoutdefault spacing="6" margin="11"/>
+ <customwidgets>
+  <customwidget>
+   <class>FileListWidget</class>
+   <extends>QListView</extends>
+   <header>filelistwidget.h</header>
+  </customwidget>
+ </customwidgets>
+ <resources/>
+ <connections/>
+</ui>
diff --git a/cuteexplorer/src/searchdialog.cpp b/cuteexplorer/src/searchdialog.cpp
new file mode 100644 (file)
index 0000000..5f99421
--- /dev/null
@@ -0,0 +1,26 @@
+#include "searchdialog.h"
+#include "ui_searchdialog.h"
+
+SearchDialog::SearchDialog(QWidget *parent) :
+    QDialog(parent),
+    ui(new Ui::SearchDialog)
+{
+    ui->setupUi(this);
+}
+
+SearchDialog::~SearchDialog()
+{
+    delete ui;
+}
+
+void SearchDialog::changeEvent(QEvent *e)
+{
+    QDialog::changeEvent(e);
+    switch (e->type()) {
+    case QEvent::LanguageChange:
+        ui->retranslateUi(this);
+        break;
+    default:
+        break;
+    }
+}
diff --git a/cuteexplorer/src/searchdialog.h b/cuteexplorer/src/searchdialog.h
new file mode 100644 (file)
index 0000000..49dbd25
--- /dev/null
@@ -0,0 +1,23 @@
+#ifndef SEARCHDIALOG_H
+#define SEARCHDIALOG_H
+
+#include <QDialog>
+
+namespace Ui {
+    class SearchDialog;
+}
+
+class SearchDialog : public QDialog {
+    Q_OBJECT
+public:
+    SearchDialog(QWidget *parent = 0);
+    ~SearchDialog();
+
+protected:
+    void changeEvent(QEvent *e);
+
+private:
+    Ui::SearchDialog *ui;
+};
+
+#endif // SEARCHDIALOG_H
diff --git a/cuteexplorer/src/searchdialog.ui b/cuteexplorer/src/searchdialog.ui
new file mode 100644 (file)
index 0000000..b78659c
--- /dev/null
@@ -0,0 +1,71 @@
+<ui version="4.0">
+ <author/>
+ <comment/>
+ <exportmacro/>
+ <class>SearchDialog</class>
+ <widget class="QDialog" name="SearchDialog">
+  <property name="geometry">
+   <rect>
+    <x>0</x>
+    <y>0</y>
+    <width>400</width>
+    <height>300</height>
+   </rect>
+  </property>
+  <property name="windowTitle">
+   <string>Dialog</string>
+  </property>
+  <widget class="QDialogButtonBox" name="buttonBox">
+   <property name="geometry">
+    <rect>
+     <x>30</x>
+     <y>240</y>
+     <width>341</width>
+     <height>32</height>
+    </rect>
+   </property>
+   <property name="orientation">
+    <enum>Qt::Horizontal</enum>
+   </property>
+   <property name="standardButtons">
+    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
+   </property>
+  </widget>
+ </widget>
+ <pixmapfunction/>
+ <resources/>
+ <connections>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>accepted()</signal>
+   <receiver>SearchDialog</receiver>
+   <slot>accept()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>248</x>
+     <y>254</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>157</x>
+     <y>274</y>
+    </hint>
+   </hints>
+  </connection>
+  <connection>
+   <sender>buttonBox</sender>
+   <signal>rejected()</signal>
+   <receiver>SearchDialog</receiver>
+   <slot>reject()</slot>
+   <hints>
+    <hint type="sourcelabel">
+     <x>316</x>
+     <y>260</y>
+    </hint>
+    <hint type="destinationlabel">
+     <x>286</x>
+     <y>274</y>
+    </hint>
+   </hints>
+  </connection>
+ </connections>
+</ui>
diff --git a/cuteexplorer/src/src.pro b/cuteexplorer/src/src.pro
new file mode 100644 (file)
index 0000000..aa4e790
--- /dev/null
@@ -0,0 +1,44 @@
+# -------------------------------------------------
+# Project created by QtCreator 2010-01-13T19:38:20
+# -------------------------------------------------
+TARGET = cuteexplorer
+TEMPLATE = app
+QT += dbus
+SOURCES += main.cpp \
+    mainwindow.cpp \
+    filelistwidget.cpp \
+    searchdialog.cpp
+HEADERS += mainwindow.h \
+    filelistwidget.h \
+    searchdialog.h
+FORMS += mainwindow.ui \
+    searchdialog.ui
+TRANSLATIONS += cuteexplorertranslation_fi_FI.ts
+RESOURCES += i18n.qrc
+DEFINES += CUTE_VERSION=\\\"1.2\\\"
+maemo5 { 
+    # VARIABLES
+    CONFIG += link_pkgconfig
+    PKGCONFIG += dbus-1 \
+        gnome-vfs-2.0
+    LIBS += -lhildonmime \
+        -ldbus-1
+    isEmpty(PREFIX):PREFIX = /usr
+    BINDIR = $$PREFIX/bin
+    DATADIR = $$PREFIX/share
+    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
+        PKGDATADIR=\\\"$$PKGDATADIR\\\"
+    
+    # MAKE INSTALL
+    INSTALLS += target \
+        desktop \
+        icon \
+        icon64
+    target.path = $$BINDIR
+    desktop.path = $$DATADIR/applications/hildon
+    desktop.files += $${TARGET}.desktop
+    icon64.path = $$DATADIR/icons/hicolor/64x64/apps
+    icon64.files += $${TARGET}_icon64.png
+    icon.path = $$DATADIR/icons/hicolor/scalable/apps
+    icon.files += $${TARGET}_icon.svg
+}
diff --git a/debian/README.Debian b/debian/README.Debian
deleted file mode 100644 (file)
index 8f8fa3c..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-cuteexplorer for Debian
------------------------
-
-<possible notes regarding this package - if none, delete this file>
-
- -- unknown <tomma.asp@gmail.com>  Mon, 22 Mar 2010 15:26:30 +0200
diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644 (file)
index 94d2c2b..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-cuteexplorer (1.1.1-1) unstable; urgency=low
-
-  * release for pr 1.2
-
- -- Tommi Asp <tomma.asp@gmail.com>  Thu, 27 May 2010 16:42:06 +0300
-
-cuteexplorer (1.1.1) unstable; urgency=low
-
-  * fixed filelist selection bug
-  * added shortcuts for commands
-  * fixed rename failed when canceled renamedialog
-
- -- Tommi Asp <tomma.asp@gmail.com>  Thu,  6 May 2010 20:44:29 +0300
-
-cuteexplorer (1.1-7) unstable; urgency=low
-
-  * shlibs.local added
-
- -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 13:03:31 +0300
-
-cuteexplorer (1.1-6) unstable; urgency=low
-
-  * 4
-
- -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 12:26:19 +0300
-
-cuteexplorer (1.1-5) unstable; urgency=low
-
-  * libhildonmime dep fix try number 3
-
- -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 11:54:18 +0300
-
-cuteexplorer (1.1-4) unstable; urgency=low
-
-  * working dependies for pr 1.1
-
- -- Tommi Asp <tomma.asp@gmail.com>  Wed, 14 Apr 2010 10:54:24 +0300
-
-cuteexplorer (1.1-3) unstable; urgency=low
-
-   * ffs... lets wait for pr 1.2 then 
-
- -- Tommi Asp <tomma.asp@gmail.com>  Mon, 12 Apr 2010 13:18:43 +0300
-
-cuteexplorer (1.1-2) unstable; urgency=low
-
-  * Moved back to libqt4-maemo5 because oldversions were removed
-
- -- Tommi Asp <tomma.asp@gmail.com>  Mon, 12 Apr 2010 12:21:10 +0300
-
-cuteexplorer (1.1-1) unstable; urgency=low
-
-  * moved to use libqt4
-
- -- Tommi Asp <tomma.asp@gmail.com>  Fri,  9 Apr 2010 18:37:27 +0300
-
-cuteexplorer (1.1) unstable; urgency=low
-
-  * Fixed bluetooth sending, no need to "copy" files first
-  * Added context menu for filelistwidget
-  * Actions from edit menu moved to fileslistwidgets contextmenu
-  * Check not to send directories via bluetooth
-  * Added help and about dialogs
-
- -- Tommi Asp <tomma.asp@gmail.com>  Fri,  9 Apr 2010 18:02:07 +0300
-
-cuteexplorer (1.0-2) unstable; urgency=low
-
-  * Fixed broken .desktop -file
-
- -- Tommi Asp <tomma.asp@gmail.com>  Mon, 22 Mar 2010 23:07:55 +0200
-
-cuteexplorer (1.0-1) unstable; urgency=low
-
-  * Initial release (Closes: #nnnn)  <nnnn is the bug number of your ITP>
-
- -- Tommi Asp <tomma.asp@gmail.com>  Mon, 22 Mar 2010 14:09:49 +0200
-
diff --git a/debian/compat b/debian/compat
deleted file mode 100644 (file)
index 7ed6ff8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian/control b/debian/control
deleted file mode 100644 (file)
index 68ae33c..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-Source: cuteexplorer
-Section: user/utilities
-Priority: extra
-Maintainer: Tommi Asp <tomma.asp@gmail.com>
-Build-Depends: debhelper (>= 5), libqt4-dev, libdbus-1-dev, libhildonmime-dev
-Standards-Version: 3.7.2
-
-Package: cuteexplorer
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Filemanager for maemo5 using Qt
- Navigate in the real filesystem.
- Send files via bluetooth.
-XSBC-Maemo-Display-Name: CuteExplorer
-XB-Maemo-Icon-26:
- iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAA7E
- AAAOxAGVKw4bAAADfklEQVRoge2ZTWsrVRjHf2eal5tMILdxlbYRym27cJUu
- pCi34MZFtZvrxg/gQr+ApRuhO6nVnYLQT2AXIsJdiILbG4R7K6ISpoFSLWnv
- hZjbppPJS3NcJGecvHfy4iSQHxwy88xzcv7/M3POzJwRUkqmGc1rAcMyM+A1
- U29AACHgEbDgsZa7kgW+lVIWVSANyCkraWBRSoloBABKI+qhcRNs/H4npXyk
- DHwspfzcmbWzs/NjoTynSTQxV31Z6fevWkDTiBKovahZo1Kq67q+v7//0BkT
- QuwCnwJFKWXY14gXWitbllX658Huu3IuRPS3XQBisRjr6+tNeWdnZxiGwf33
- 7xN+GOb5J8+pvqiOxIBlWd93CCutAQBfhwQbf+4XmAva+8VikdPT06acfD4P
- QOn3EuKeoHZVG1zxAHQ1EAwGM/eyj7+A/waJaZqcnJx0zDefmphPzZGK8/v9
- PTsYehjQdf3Pg4ODr0eqyCV7e3sf9cuxDQghAsA7wANAbG9vvyGEiIxRX19a
- NGSAx605ysArwDPgNXXg4uIC4L0xa+xJBw1/AN84c5SBD4EEgKbVny6EEPa2
- IplMsrm5ORaxR0dHXF5eNsWcGmq1GtQ7+ANnjjKQAFhZWSEajdYDiYSqZBOP
- x9tio2JtbY2FheanGaeGfD5PJpMBeNWZ0zSIw+Fwz0ZyuRzFYrFnzqBYVu/7
- XzdtfacpJ8lkkq2tLTdV7szh4SHn5+eu67kykEqlSKVSrhsZJ64MbGxsTPcZ
- OD4+Jp1Ou27kLhQKbY9jd8KVgVgsxvLy8kANKTKZTNt0OQyuDEQiEZaWloZq
- MJvNDlW/FVcGDMPAMIyRChiWqX+pnxnwmqYxYJomPl89VKlUiMfjnohSlMtl
- bm5ubD0tvFQbXi+RDFo+UwvTP0+AGLflJyAgpcQHfAW8BbC6umpfQpNGpVJx
- vo9/KaUsQ8sYCIVCCCHI5XJUq6NZGhkWn89HLBbr2rFt0evra0qlyVmku729
- 5erqikik8+t52zQ6rjeuYeilaSruA0KIrsfaDOi63rPC/40QouvlA/Ux8Jfa
- KRQKzM/Ps7i4ODGXkqZp9sTi4G+1IaifhSfA63Zwgs4AQMuX1CfAm1IFG78J
- 4Fe8v0H1K89ofNhQRSgjQgg/8DawSv3MTBISOAF+kFI23aDE7EO3x8wMeM3M
- gNdMvYF/Acd52O0Tf+jGAAAAAElFTkSuQmCC
-XSBC-Bugtracker: https://garage.maemo.org/tracker/?atid=5332&group_id=1469&func=browse
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644 (file)
index d66a63f..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-This package was debianized by unknown <tomma.asp@gmail.com> on
-Mon, 22 Mar 2010 15:26:30 +0200.
-
-It was downloaded from <fill in http/ftp site>
-
-Upstream Author: <put author(s) name and email here>
-
-Copyright: <put the year(s) of the copyright, and the names of the
-            copyright holder(s) here>
-
-License:
-
-    This package is free software; you can redistribute it and/or
-    modify it under the terms of the GNU Lesser General Public
-    License as published by the Free Software Foundation; either
-    version 2 of the License, or (at your option) any later version.
-
-    This package is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-    Lesser General Public License for more details.
-
-    You should have received a copy of the GNU Lesser General Public
-    License along with this package; if not, write to the Free Software
-    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
-
-On Debian systems, the complete text of the GNU Lesser General
-Public License can be found in `/usr/share/common-licenses/LGPL'.
-
-
-The Debian packaging is (C) 2010, unknown <tomma.asp@gmail.com> and
-is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
-
-
-# Please also look if there are files or directories which have a
-# different copyright/license attached and list them here.
diff --git a/debian/cron.d.ex b/debian/cron.d.ex
deleted file mode 100644 (file)
index 8d3c775..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#
-# Regular cron jobs for the cuteexplorer package
-#
-0 4    * * *   root    cuteexplorer_maintenance
diff --git a/debian/cuteexplorer-default.ex b/debian/cuteexplorer-default.ex
deleted file mode 100644 (file)
index aa9d00e..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# Defaults for cuteexplorer initscript
-# sourced by /etc/init.d/cuteexplorer
-# installed at /etc/default/cuteexplorer by the maintainer scripts
-
-#
-# This is a POSIX shell fragment
-#
-
-# Additional options that are passed to the Daemon.
-DAEMON_OPTS=""
diff --git a/debian/cuteexplorer.doc-base.EX b/debian/cuteexplorer.doc-base.EX
deleted file mode 100644 (file)
index c396ff5..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Document: cuteexplorer
-Title: Debian cuteexplorer Manual
-Author: <insert document author here>
-Abstract: This manual describes what cuteexplorer is
- and how it can be used to
- manage online manuals on Debian systems.
-Section: unknown
-
-Format: debiandoc-sgml
-Files: /usr/share/doc/cuteexplorer/cuteexplorer.sgml.gz
-
-Format: postscript
-Files: /usr/share/doc/cuteexplorer/cuteexplorer.ps.gz
-
-Format: text
-Files: /usr/share/doc/cuteexplorer/cuteexplorer.text.gz
-
-Format: HTML
-Index: /usr/share/doc/cuteexplorer/html/index.html
-Files: /usr/share/doc/cuteexplorer/html/*.html
-
-  
diff --git a/debian/dirs b/debian/dirs
deleted file mode 100644 (file)
index ca882bb..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/bin
-usr/sbin
diff --git a/debian/docs b/debian/docs
deleted file mode 100644 (file)
index e69de29..0000000
diff --git a/debian/emacsen-install.ex b/debian/emacsen-install.ex
deleted file mode 100644 (file)
index 293597c..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-#! /bin/sh -e
-# /usr/lib/emacsen-common/packages/install/cuteexplorer
-
-# Written by Jim Van Zandt <jrv@debian.org>, borrowing heavily
-# from the install scripts for gettext by Santiago Vila
-# <sanvila@ctv.es> and octave by Dirk Eddelbuettel <edd@debian.org>.
-
-FLAVOR=$1
-PACKAGE=cuteexplorer
-
-if [ ${FLAVOR} = emacs ]; then exit 0; fi
-
-echo install/${PACKAGE}: Handling install for emacsen flavor ${FLAVOR}
-
-#FLAVORTEST=`echo $FLAVOR | cut -c-6`
-#if [ ${FLAVORTEST} = xemacs ] ; then
-#    SITEFLAG="-no-site-file"
-#else
-#    SITEFLAG="--no-site-file"
-#fi
-FLAGS="${SITEFLAG} -q -batch -l path.el -f batch-byte-compile"
-
-ELDIR=/usr/share/emacs/site-lisp/${PACKAGE}
-ELCDIR=/usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-
-# Install-info-altdir does not actually exist. 
-# Maybe somebody will write it.
-if test -x /usr/sbin/install-info-altdir; then
-    echo install/${PACKAGE}: install Info links for ${FLAVOR}
-    install-info-altdir --quiet --section "" "" --dirname=${FLAVOR} /usr/info/${PACKAGE}.info.gz
-fi
-
-install -m 755 -d ${ELCDIR}
-cd ${ELDIR}
-FILES=`echo *.el`
-cp ${FILES} ${ELCDIR}
-cd ${ELCDIR}
-
-cat << EOF > path.el
-(setq load-path (cons "." load-path) byte-compile-warnings nil)
-EOF
-${FLAVOR} ${FLAGS} ${FILES}
-rm -f *.el path.el
-
-exit 0
diff --git a/debian/emacsen-remove.ex b/debian/emacsen-remove.ex
deleted file mode 100644 (file)
index 2955d94..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh -e
-# /usr/lib/emacsen-common/packages/remove/cuteexplorer
-
-FLAVOR=$1
-PACKAGE=cuteexplorer
-
-if [ ${FLAVOR} != emacs ]; then
-    if test -x /usr/sbin/install-info-altdir; then
-        echo remove/${PACKAGE}: removing Info links for ${FLAVOR}
-        install-info-altdir --quiet --remove --dirname=${FLAVOR} /usr/info/cuteexplorer.info.gz
-    fi
-
-    echo remove/${PACKAGE}: purging byte-compiled files for ${FLAVOR}
-    rm -rf /usr/share/${FLAVOR}/site-lisp/${PACKAGE}
-fi
diff --git a/debian/emacsen-startup.ex b/debian/emacsen-startup.ex
deleted file mode 100644 (file)
index 8b3d715..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-;; -*-emacs-lisp-*-
-;;
-;; Emacs startup file, e.g.  /etc/emacs/site-start.d/50cuteexplorer.el
-;; for the Debian cuteexplorer package
-;;
-;; Originally contributed by Nils Naumann <naumann@unileoben.ac.at>
-;; Modified by Dirk Eddelbuettel <edd@debian.org>
-;; Adapted for dh-make by Jim Van Zandt <jrv@debian.org>
-
-;; The cuteexplorer package follows the Debian/GNU Linux 'emacsen' policy and
-;; byte-compiles its elisp files for each 'emacs flavor' (emacs19,
-;; xemacs19, emacs20, xemacs20...).  The compiled code is then
-;; installed in a subdirectory of the respective site-lisp directory.
-;; We have to add this to the load-path:
-(let ((package-dir (concat "/usr/share/"
-                           (symbol-name flavor)
-                           "/site-lisp/cuteexplorer")))
-;; If package-dir does not exist, the cuteexplorer package must have
-;; removed but not purged, and we should skip the setup.
-  (when (file-directory-p package-dir)
-        (setq load-path (cons package-dir load-path))
-       (autoload 'cuteexplorer-mode "cuteexplorer-mode"
-         "Major mode for editing cuteexplorer files." t)
-       (add-to-list 'auto-mode-alist '("\\.cuteexplorer$" . cuteexplorer-mode))))
-
diff --git a/debian/init.d.ex b/debian/init.d.ex
deleted file mode 100644 (file)
index 740c9d7..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-#! /bin/sh
-#
-# skeleton     example file to build /etc/init.d/ scripts.
-#              This file should be used to construct scripts for /etc/init.d.
-#
-#              Written by Miquel van Smoorenburg <miquels@cistron.nl>.
-#              Modified for Debian 
-#              by Ian Murdock <imurdock@gnu.ai.mit.edu>.
-#
-# Version:     @(#)skeleton  1.9  26-Feb-2001  miquels@cistron.nl
-#
-
-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
-DAEMON=/usr/sbin/cuteexplorer
-NAME=cuteexplorer
-DESC=cuteexplorer
-
-test -x $DAEMON || exit 0
-
-# Include cuteexplorer defaults if available
-if [ -f /etc/default/cuteexplorer ] ; then
-       . /etc/default/cuteexplorer
-fi
-
-set -e
-
-case "$1" in
-  start)
-       echo -n "Starting $DESC: "
-       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON -- $DAEMON_OPTS
-       echo "$NAME."
-       ;;
-  stop)
-       echo -n "Stopping $DESC: "
-       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
-       echo "$NAME."
-       ;;
-  #reload)
-       #
-       #       If the daemon can reload its config files on the fly
-       #       for example by sending it SIGHUP, do it here.
-       #
-       #       If the daemon responds to changes in its config file
-       #       directly anyway, make this a do-nothing entry.
-       #
-       # echo "Reloading $DESC configuration files."
-       # start-stop-daemon --stop --signal 1 --quiet --pidfile \
-       #       /var/run/$NAME.pid --exec $DAEMON
-  #;;
-  force-reload)
-       #
-       #       If the "reload" option is implemented, move the "force-reload"
-       #       option to the "reload" entry above. If not, "force-reload" is
-       #       just the same as "restart" except that it does nothing if the
-       #   daemon isn't already running.
-       # check wether $DAEMON is running. If so, restart
-       start-stop-daemon --stop --test --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON \
-       && $0 restart \
-       || exit 0
-       ;;
-  restart)
-    echo -n "Restarting $DESC: "
-       start-stop-daemon --stop --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON
-       sleep 1
-       start-stop-daemon --start --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
-       echo "$NAME."
-       ;;
-  *)
-       N=/etc/init.d/$NAME
-       # echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-       echo "Usage: $N {start|stop|restart|force-reload}" >&2
-       exit 1
-       ;;
-esac
-
-exit 0
diff --git a/debian/manpage.1.ex b/debian/manpage.1.ex
deleted file mode 100644 (file)
index fee2a3b..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-.\"                                      Hey, EMACS: -*- nroff -*-
-.\" First parameter, NAME, should be all caps
-.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
-.\" other parameters are allowed: see man(7), man(1)
-.TH CUTEEXPLORER SECTION "March 22, 2010"
-.\" Please adjust this date whenever revising the manpage.
-.\"
-.\" Some roff macros, for reference:
-.\" .nh        disable hyphenation
-.\" .hy        enable hyphenation
-.\" .ad l      left justify
-.\" .ad b      justify to both left and right margins
-.\" .nf        disable filling
-.\" .fi        enable filling
-.\" .br        insert line break
-.\" .sp <n>    insert n+1 empty lines
-.\" for manpage-specific macros, see man(7)
-.SH NAME
-cuteexplorer \- program to do something
-.SH SYNOPSIS
-.B cuteexplorer
-.RI [ options ] " files" ...
-.br
-.B bar
-.RI [ options ] " files" ...
-.SH DESCRIPTION
-This manual page documents briefly the
-.B cuteexplorer
-and
-.B bar
-commands.
-.PP
-.\" TeX users may be more comfortable with the \fB<whatever>\fP and
-.\" \fI<whatever>\fP escape sequences to invode bold face and italics, 
-.\" respectively.
-\fBcuteexplorer\fP is a program that...
-.SH OPTIONS
-These programs follow the usual GNU command line syntax, with long
-options starting with two dashes (`-').
-A summary of options is included below.
-For a complete description, see the Info files.
-.TP
-.B \-h, \-\-help
-Show summary of options.
-.TP
-.B \-v, \-\-version
-Show version of program.
-.SH SEE ALSO
-.BR bar (1),
-.BR baz (1).
-.br
-The programs are documented fully by
-.IR "The Rise and Fall of a Fooish Bar" ,
-available via the Info system.
-.SH AUTHOR
-cuteexplorer was written by <upstream author>.
-.PP
-This manual page was written by unknown <tomma.asp@gmail.com>,
-for the Debian project (but may be used by others).
diff --git a/debian/manpage.sgml.ex b/debian/manpage.sgml.ex
deleted file mode 100644 (file)
index bb856e1..0000000
+++ /dev/null
@@ -1,156 +0,0 @@
-<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
-
-<!-- Process this file with docbook-to-man to generate an nroff manual
-     page: `docbook-to-man manpage.sgml > manpage.1'.  You may view
-     the manual page with: `docbook-to-man manpage.sgml | nroff -man |
-     less'.  A typical entry in a Makefile or Makefile.am is:
-
-manpage.1: manpage.sgml
-       docbook-to-man $< > $@
-
-    
-       The docbook-to-man binary is found in the docbook-to-man package.
-       Please remember that if you create the nroff version in one of the
-       debian/rules file targets (such as build), you will need to include
-       docbook-to-man in your Build-Depends control field.
-
-  -->
-
-  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
-  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
-  <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>March 22, 2010</date>">
-  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
-       allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
-  <!ENTITY dhemail     "<email>tomma.asp@gmail.com</email>">
-  <!ENTITY dhusername  "unknown">
-  <!ENTITY dhucpackage "<refentrytitle>CUTEEXPLORER</refentrytitle>">
-  <!ENTITY dhpackage   "cuteexplorer">
-
-  <!ENTITY debian      "<productname>Debian</productname>">
-  <!ENTITY gnu         "<acronym>GNU</acronym>">
-  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
-]>
-
-<refentry>
-  <refentryinfo>
-    <address>
-      &dhemail;
-    </address>
-    <author>
-      &dhfirstname;
-      &dhsurname;
-    </author>
-    <copyright>
-      <year>2003</year>
-      <holder>&dhusername;</holder>
-    </copyright>
-    &dhdate;
-  </refentryinfo>
-  <refmeta>
-    &dhucpackage;
-
-    &dhsection;
-  </refmeta>
-  <refnamediv>
-    <refname>&dhpackage;</refname>
-
-    <refpurpose>program to do something</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>&dhpackage;</command>
-
-      <arg><option>-e <replaceable>this</replaceable></option></arg>
-
-      <arg><option>--example <replaceable>that</replaceable></option></arg>
-    </cmdsynopsis>
-  </refsynopsisdiv>
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command> and <command>bar</command>
-      commands.</para>
-
-    <para>This manual page was written for the &debian; distribution
-      because the original program does not have a manual page.
-      Instead, it has documentation in the &gnu;
-      <application>Info</application> format; see below.</para>
-
-    <para><command>&dhpackage;</command> is a program that...</para>
-
-  </refsect1>
-  <refsect1>
-    <title>OPTIONS</title>
-
-    <para>These programs follow the usual &gnu; command line syntax,
-      with long options starting with two dashes (`-').  A summary of
-      options is included below.  For a complete description, see the
-      <application>Info</application> files.</para>
-
-    <variablelist>
-      <varlistentry>
-        <term><option>-h</option>
-          <option>--help</option>
-        </term>
-        <listitem>
-          <para>Show summary of options.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-v</option>
-          <option>--version</option>
-        </term>
-        <listitem>
-          <para>Show version of program.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsect1>
-  <refsect1>
-    <title>SEE ALSO</title>
-
-    <para>bar (1), baz (1).</para>
-
-    <para>The programs are documented fully by <citetitle>The Rise and
-      Fall of a Fooish Bar</citetitle> available via the
-      <application>Info</application> system.</para>
-  </refsect1>
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>This manual page was written by &dhusername; &dhemail; for
-      the &debian; system (but may be used by others).  Permission is
-      granted to copy, distribute and/or modify this document under
-      the terms of the &gnu; General Public License, Version 2 any 
-         later version published by the Free Software Foundation.
-    </para>
-       <para>
-         On Debian systems, the complete text of the GNU General Public
-         License can be found in /usr/share/common-licenses/GPL.
-       </para>
-
-  </refsect1>
-</refentry>
-
-<!-- Keep this comment at the end of the file
-Local variables:
-mode: sgml
-sgml-omittag:t
-sgml-shorttag:t
-sgml-minimize-attributes:nil
-sgml-always-quote-attributes:t
-sgml-indent-step:2
-sgml-indent-data:t
-sgml-parent-document:nil
-sgml-default-dtd-file:nil
-sgml-exposed-tags:nil
-sgml-local-catalogs:nil
-sgml-local-ecat-files:nil
-End:
--->
-
-
diff --git a/debian/manpage.xml.ex b/debian/manpage.xml.ex
deleted file mode 100644 (file)
index 78da485..0000000
+++ /dev/null
@@ -1,148 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
-
-<!--
-
-Process this file with an XSLT processor: `xsltproc \
--''-nonet /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
-manpages/docbook.xsl manpage.dbk'.  A manual page
-<package>.<section> will be generated.  You may view the
-manual page with: nroff -man <package>.<section> | less'.  A
-typical entry in a Makefile or Makefile.am is:
-
-DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\
-manpages/docbook.xsl
-XP=xsltproc -''-nonet
-
-manpage.1: manpage.dbk
-        $(XP) $(DB2MAN) $<
-    
-The xsltproc binary is found in the xsltproc package.  The
-XSL files are in docbook-xsl.  Please remember that if you
-create the nroff version in one of the debian/rules file
-targets (such as build), you will need to include xsltproc
-and docbook-xsl in your Build-Depends control field.
-
--->
-
-  <!-- Fill in your name for FIRSTNAME and SURNAME. -->
-  <!ENTITY dhfirstname "<firstname>FIRSTNAME</firstname>">
-  <!ENTITY dhsurname   "<surname>SURNAME</surname>">
-  <!-- Please adjust the date whenever revising the manpage. -->
-  <!ENTITY dhdate      "<date>March 22, 2010</date>">
-  <!-- SECTION should be 1-8, maybe w/ subsection other parameters are
-       allowed: see man(7), man(1). -->
-  <!ENTITY dhsection   "<manvolnum>SECTION</manvolnum>">
-  <!ENTITY dhemail     "<email>tomma.asp@gmail.com</email>">
-  <!ENTITY dhusername  "unknown">
-  <!ENTITY dhucpackage "<refentrytitle>CUTEEXPLORER</refentrytitle>">
-  <!ENTITY dhpackage   "cuteexplorer">
-
-  <!ENTITY debian      "<productname>Debian</productname>">
-  <!ENTITY gnu         "<acronym>GNU</acronym>">
-  <!ENTITY gpl         "&gnu; <acronym>GPL</acronym>">
-]>
-
-<refentry>
-  <refentryinfo>
-    <address>
-      &dhemail;
-    </address>
-    <author>
-      &dhfirstname;
-      &dhsurname;
-    </author>
-    <copyright>
-      <year>2003</year>
-      <holder>&dhusername;</holder>
-    </copyright>
-    &dhdate;
-  </refentryinfo>
-  <refmeta>
-    &dhucpackage;
-
-    &dhsection;
-  </refmeta>
-  <refnamediv>
-    <refname>&dhpackage;</refname>
-
-    <refpurpose>program to do something</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>&dhpackage;</command>
-
-      <arg><option>-e <replaceable>this</replaceable></option></arg>
-
-      <arg><option>--example <replaceable>that</replaceable></option></arg>
-    </cmdsynopsis>
-  </refsynopsisdiv>
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para>This manual page documents briefly the
-      <command>&dhpackage;</command> and <command>bar</command>
-      commands.</para>
-
-    <para>This manual page was written for the &debian; distribution
-      because the original program does not have a manual page.
-      Instead, it has documentation in the &gnu;
-      <application>Info</application> format; see below.</para>
-
-    <para><command>&dhpackage;</command> is a program that...</para>
-
-  </refsect1>
-  <refsect1>
-    <title>OPTIONS</title>
-
-    <para>These programs follow the usual &gnu; command line syntax,
-      with long options starting with two dashes (`-').  A summary of
-      options is included below.  For a complete description, see the
-      <application>Info</application> files.</para>
-
-    <variablelist>
-      <varlistentry>
-        <term><option>-h</option>
-          <option>--help</option>
-        </term>
-        <listitem>
-          <para>Show summary of options.</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-v</option>
-          <option>--version</option>
-        </term>
-        <listitem>
-          <para>Show version of program.</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsect1>
-  <refsect1>
-    <title>SEE ALSO</title>
-
-    <para>bar (1), baz (1).</para>
-
-    <para>The programs are documented fully by <citetitle>The Rise and
-      Fall of a Fooish Bar</citetitle> available via the
-      <application>Info</application> system.</para>
-  </refsect1>
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>This manual page was written by &dhusername; &dhemail; for
-      the &debian; system (but may be used by others).  Permission is
-      granted to copy, distribute and/or modify this document under
-      the terms of the &gnu; General Public License, Version 2 any 
-         later version published by the Free Software Foundation.
-    </para>
-       <para>
-         On Debian systems, the complete text of the GNU General Public
-         License can be found in /usr/share/common-licenses/GPL.
-       </para>
-
-  </refsect1>
-</refentry>
-
diff --git a/debian/menu.ex b/debian/menu.ex
deleted file mode 100644 (file)
index aab1a2c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-?package(cuteexplorer):needs="X11|text|vc|wm" section="Apps/see-menu-manual"\
-  title="cuteexplorer" command="/usr/bin/cuteexplorer"
diff --git a/debian/postinst.ex b/debian/postinst.ex
deleted file mode 100644 (file)
index 1453621..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/bin/sh
-# postinst script for cuteexplorer
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    configure)
-    ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-    ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/postrm.ex b/debian/postrm.ex
deleted file mode 100644 (file)
index b042d76..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/bin/sh
-# postrm script for cuteexplorer
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postrm> `remove'
-#        * <postrm> `purge'
-#        * <old-postrm> `upgrade' <new-version>
-#        * <new-postrm> `failed-upgrade' <old-version>
-#        * <new-postrm> `abort-install'
-#        * <new-postrm> `abort-install' <old-version>
-#        * <new-postrm> `abort-upgrade' <old-version>
-#        * <disappearer's-postrm> `disappear' <overwriter>
-#          <overwriter-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
-    ;;
-
-    *)
-        echo "postrm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/preinst.ex b/debian/preinst.ex
deleted file mode 100644 (file)
index 98c07e9..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-# preinst script for cuteexplorer
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <new-preinst> `install'
-#        * <new-preinst> `install' <old-version>
-#        * <new-preinst> `upgrade' <old-version>
-#        * <old-preinst> `abort-upgrade' <new-version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    install|upgrade)
-    ;;
-
-    abort-upgrade)
-    ;;
-
-    *)
-        echo "preinst called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/prerm.ex b/debian/prerm.ex
deleted file mode 100644 (file)
index ee5ea81..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-# prerm script for cuteexplorer
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <prerm> `remove'
-#        * <old-prerm> `upgrade' <new-version>
-#        * <new-prerm> `failed-upgrade' <old-version>
-#        * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
-#        * <deconfigured's-prerm> `deconfigure' `in-favour'
-#          <package-being-installed> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-
-case "$1" in
-    remove|upgrade|deconfigure)
-    ;;
-
-    failed-upgrade)
-    ;;
-
-    *)
-        echo "prerm called with unknown argument \`$1'" >&2
-        exit 1
-    ;;
-esac
-
-# dh_installdeb will replace this with shell code automatically
-# generated by other debhelper scripts.
-
-#DEBHELPER#
-
-exit 0
-
-
diff --git a/debian/rules b/debian/rules
deleted file mode 100755 (executable)
index 67631fc..0000000
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/usr/bin/make -f
-APPNAME := cuteexplorer
-builddir:
-       mkdir -p builddir
-
-builddir/Makefile: builddir
-       cd builddir && qmake PREFIX=/usr ../$(APPNAME).pro
-
-build: build-stamp
-
-build-stamp: builddir/Makefile
-       dh_testdir
-       # Add here commands to compile the package.
-       cd builddir && $(MAKE)
-       touch $@
-
-clean:
-       dh_testdir
-       dh_testroot
-       rm -f build-stamp
-       # Add here commands to clean up after the build process.
-       rm -rf builddir
-       dh_clean
-install: build
-       dh_testdir
-       dh_testroot
-       dh_clean -k
-       dh_installdirs
-
-       # Add here commands to install the package into debian/your_appname
-       cd builddir && $(MAKE) INSTALL_ROOT=$(CURDIR)/debian/$(APPNAME) install
-       # Build architecture-independent files here.
-binary-indep: build install
-       # We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
-       dh_testdir
-       dh_testroot
-       dh_installdocs
-       dh_installexamples
-       dh_installman
-       dh_link
-       #dh_strip --dbg-package=$(APPNAME)-dbg
-       dh_compress
-       dh_fixperms
-       dh_installdeb
-       dh_shlibdeps
-       dh_gencontrol
-       dh_md5sums
-       dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/watch.ex b/debian/watch.ex
deleted file mode 100644 (file)
index c995601..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-# Example watch control file for uscan
-# Rename this file to "watch" and then you can run the "uscan" command
-# to check for upstream updates and more.
-# See uscan(1) for format
-
-# Compulsory line, this is a version 3 file
-version=3
-
-# Uncomment to examine a Webpage 
-# <Webpage URL> <string match>
-#http://www.example.com/downloads.php cuteexplorer-(.*)\.tar\.gz
-
-# Uncomment to examine a Webserver directory
-#http://www.example.com/pub/cuteexplorer-(.*)\.tar\.gz
-
-# Uncommment to examine a FTP server
-#ftp://ftp.example.com/pub/cuteexplorer-(.*)\.tar\.gz debian uupdate
-
-# Uncomment to find new files on sourceforge, for debscripts >= 2.9
-# http://sf.net/cuteexplorer/cuteexplorer-(.*)\.tar\.gz
-
-
diff --git a/src/cuteexplorer.desktop b/src/cuteexplorer.desktop
deleted file mode 100644 (file)
index cf35967..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Encoding=UTF-8
-Version=1.2
-Type=Application
-Name=CuteExplorer
-Comment=Explore your maemo
-Exec=/usr/bin/cuteexplorer
-Icon=cuteexplorer_icon64
diff --git a/src/cuteexplorer_icon.svg b/src/cuteexplorer_icon.svg
deleted file mode 100644 (file)
index 9286d9e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<!-- Created with Inkscape (http://www.inkscape.org/) -->
-<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0" width="64" height="64" id="svg2383">
-  <defs id="defs2385">
-    <linearGradient id="linearGradient3203">
-      <stop id="stop3205" style="stop-color: rgb(47, 47, 47); stop-opacity: 1;" offset="0"/>
-      <stop id="stop3207" style="stop-color: rgb(25, 25, 25); stop-opacity: 1;" offset="1"/>
-    </linearGradient>
-    <linearGradient id="linearGradient3171">
-      <stop id="stop3173" style="stop-color: rgb(81, 81, 81); stop-opacity: 1;" offset="0"/>
-      <stop id="stop3175" style="stop-color: rgb(22, 22, 22); stop-opacity: 1;" offset="1"/>
-    </linearGradient>
-    <radialGradient cx="31.643028" cy="8.0269022" r="18.113558" fx="31.643028" fy="8.0269022" id="radialGradient3177" xlink:href="#linearGradient3171" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-2.86067e-07, 1.26887, -1.16834, 0, 40.9694, -26.5322)"/>
-    <linearGradient x1="9.3691645" y1="13.265088" x2="9.3691645" y2="36.072021" id="linearGradient3209" xlink:href="#linearGradient3203" gradientUnits="userSpaceOnUse"/>
-  </defs>
-  <g id="layer1">
-    <rect width="52.38591" height="30.383835" rx="3.047076" ry="3.047076" x="5.807045" y="21.418575" id="rect2395" style="opacity: 1; fill: rgb(51, 51, 51); fill-opacity: 1; stroke: rgb(0, 0, 0); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
-    <rect width="56.568539" height="28.833637" rx="2.3849602" ry="2.3849602" x="3.7157307" y="11.497321" id="rect2393" style="opacity: 1; fill: url(&quot;#linearGradient3209&quot;) rgb(0, 0, 0); fill-opacity: 1; stroke: rgb(0, 0, 0); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
-    <rect width="46.342133" height="6.2007828" rx="2.1137414" ry="2.1137414" x="8.8289337" y="42.985096" id="rect2397" style="opacity: 1; fill: rgb(22, 22, 22); fill-opacity: 1; stroke: none; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
-    <rect width="41.477116" height="24.803131" rx="0" ry="0" x="11.261442" y="13.357556" id="rect3169" style="opacity: 1; fill: url(&quot;#radialGradient3177&quot;) rgb(0, 0, 0); fill-opacity: 1; stroke: rgb(128, 128, 128); stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
-    <g transform="translate(0.125, 1.625)" id="g3189">
-      <path d="M 17.6875,21.25 L 45.8125,21.25" id="path3181" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
-      <path d="M 17.6875,24.208333 L 45.8125,24.208333" id="path3183" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
-      <path d="M 17.6875,27.166667 L 45.8125,27.166667" id="path3185" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
-      <path d="M 17.6875,30.125 L 38.570012,30.125" id="path3187" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
-    </g>
-    <rect width="40.9375" height="3.8125" rx="0" ry="0" x="11.53125" y="13.625" id="rect3211" style="opacity: 1; fill: rgb(102, 102, 102); fill-opacity: 1; stroke: none; stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
-    <path d="M 17.5,15.3125 A 0.6875,0.6875 0 1 1 16.125,15.3125 A 0.6875,0.6875 0 1 1 17.5,15.3125 z" transform="matrix(1.72727, 0, 0, 1.72727, -15.6023, -11.1989)" id="path3179" style="opacity: 1; fill: rgb(85, 153, 255); fill-opacity: 1; stroke: none; stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
-    <path d="M 17.5,15.3125 A 0.6875,0.6875 0 1 1 16.125,15.3125 A 0.6875,0.6875 0 1 1 17.5,15.3125 z" transform="matrix(1.72727, 0, 0, 1.72727, -1.66477, -11.1989)" id="path3218" style="opacity: 1; fill: rgb(128, 255, 128); fill-opacity: 1; stroke: none; stroke-width: 0.5; stroke-linecap: round; stroke-linejoin: round; stroke-miterlimit: 4; stroke-dasharray: none; stroke-dashoffset: 0pt; stroke-opacity: 1;"/>
-    <path d="M 18,15.375 L 24,15.375" id="path3220" style="fill: none; fill-rule: evenodd; stroke: rgb(230, 230, 230); stroke-width: 1px; stroke-linecap: butt; stroke-linejoin: miter; stroke-opacity: 1;"/>
-  </g>
-</svg>
\ No newline at end of file
diff --git a/src/cuteexplorer_icon48.base64 b/src/cuteexplorer_icon48.base64
deleted file mode 100644 (file)
index aaff62f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-begin-base64 644 maemoexplorer_icon48.png
-iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAA7E
-AAAOxAGVKw4bAAADfklEQVRoge2ZTWsrVRjHf2eal5tMILdxlbYRym27cJUu
-pCi34MZFtZvrxg/gQr+ApRuhO6nVnYLQT2AXIsJdiILbG4R7K6ISpoFSLWnv
-hZjbppPJS3NcJGecvHfy4iSQHxwy88xzcv7/M3POzJwRUkqmGc1rAcMyM+A1
-U29AACHgEbDgsZa7kgW+lVIWVSANyCkraWBRSoloBABKI+qhcRNs/H4npXyk
-DHwspfzcmbWzs/NjoTynSTQxV31Z6fevWkDTiBKovahZo1Kq67q+v7//0BkT
-QuwCnwJFKWXY14gXWitbllX658Huu3IuRPS3XQBisRjr6+tNeWdnZxiGwf33
-7xN+GOb5J8+pvqiOxIBlWd93CCutAQBfhwQbf+4XmAva+8VikdPT06acfD4P
-QOn3EuKeoHZVG1zxAHQ1EAwGM/eyj7+A/waJaZqcnJx0zDefmphPzZGK8/v9
-PTsYehjQdf3Pg4ODr0eqyCV7e3sf9cuxDQghAsA7wANAbG9vvyGEiIxRX19a
-NGSAx605ysArwDPgNXXg4uIC4L0xa+xJBw1/AN84c5SBD4EEgKbVny6EEPa2
-IplMsrm5ORaxR0dHXF5eNsWcGmq1GtQ7+ANnjjKQAFhZWSEajdYDiYSqZBOP
-x9tio2JtbY2FheanGaeGfD5PJpMBeNWZ0zSIw+Fwz0ZyuRzFYrFnzqBYVu/7
-XzdtfacpJ8lkkq2tLTdV7szh4SHn5+eu67kykEqlSKVSrhsZJ64MbGxsTPcZ
-OD4+Jp1Ou27kLhQKbY9jd8KVgVgsxvLy8kANKTKZTNt0OQyuDEQiEZaWloZq
-MJvNDlW/FVcGDMPAMIyRChiWqX+pnxnwmqYxYJomPl89VKlUiMfjnohSlMtl
-bm5ubD0tvFQbXi+RDFo+UwvTP0+AGLflJyAgpcQHfAW8BbC6umpfQpNGpVJx
-vo9/KaUsQ8sYCIVCCCHI5XJUq6NZGhkWn89HLBbr2rFt0evra0qlyVmku729
-5erqikik8+t52zQ6rjeuYeilaSruA0KIrsfaDOi63rPC/40QouvlA/Ux8Jfa
-KRQKzM/Ps7i4ODGXkqZp9sTi4G+1IaifhSfA63Zwgs4AQMuX1CfAm1IFG78J
-4Fe8v0H1K89ofNhQRSgjQgg/8DawSv3MTBISOAF+kFI23aDE7EO3x8wMeM3M
-gNdMvYF/Acd52O0Tf+jGAAAAAElFTkSuQmCC
-====
diff --git a/src/cuteexplorer_icon48.png b/src/cuteexplorer_icon48.png
deleted file mode 100644 (file)
index bd653e7..0000000
Binary files a/src/cuteexplorer_icon48.png and /dev/null differ
diff --git a/src/cuteexplorer_icon64.png b/src/cuteexplorer_icon64.png
deleted file mode 100644 (file)
index 6ec2c59..0000000
Binary files a/src/cuteexplorer_icon64.png and /dev/null differ
diff --git a/src/cuteexplorertranslation_fi_FI.qm b/src/cuteexplorertranslation_fi_FI.qm
deleted file mode 100644 (file)
index ec31975..0000000
Binary files a/src/cuteexplorertranslation_fi_FI.qm and /dev/null differ
diff --git a/src/cuteexplorertranslation_fi_FI.ts b/src/cuteexplorertranslation_fi_FI.ts
deleted file mode 100644 (file)
index 423ca93..0000000
+++ /dev/null
@@ -1,228 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE TS>
-<TS version="2.0" language="fi_FI">
-<context>
-    <name>FileListWidget</name>
-    <message>
-        <location filename="filelistwidget.cpp" line="72"/>
-        <source>Rename</source>
-        <translation>Uudelleen nimeä</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="72"/>
-        <source>New filename: </source>
-        <translation>Uusi tiedoston nimi:</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="78"/>
-        <location filename="filelistwidget.cpp" line="120"/>
-        <location filename="filelistwidget.cpp" line="136"/>
-        <location filename="filelistwidget.cpp" line="168"/>
-        <source>Error!</source>
-        <translation>Virhe!</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="79"/>
-        <source>Renaming file %1 failed</source>
-        <translation>Tiedoston %1 uudelleen nimeäminen epäonnistui</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="121"/>
-        <source>Copying file %1 failed</source>
-        <translation>Tiedoston %1 kopiointi epäonnistui</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="137"/>
-        <source>Moving file %1 failed</source>
-        <translation>Tiedoston %1 siirto epäonnistui</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="157"/>
-        <source>Deleting file</source>
-        <translation>Tiedoston poisto</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="158"/>
-        <source>You are about to delete %1 file(s).
-Are you sure you want to continue?</source>
-        <translation>Olet poistamassa %1 tiedostoa.\nOletko varma että tahdot jatkaa?</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="169"/>
-        <source>Deleting file %1 failed</source>
-        <translation>Tiedoston %1 poistaminen epäonnistui</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="258"/>
-        <location filename="filelistwidget.cpp" line="272"/>
-        <source>Sending files</source>
-        <translation>Tiedostojen lähetys</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="259"/>
-        <source>Sending directories not supported</source>
-        <translation>Hakemistojen lähetys ei tuettu</translation>
-    </message>
-    <message>
-        <source>To send files, select files you want to send and copy them.</source>
-        <translation type="obsolete">Lähettääksesi tiedostoja; valitse tiedostot, kopioi ja lähetä tiedostot.</translation>
-    </message>
-    <message>
-        <location filename="filelistwidget.cpp" line="273"/>
-        <source>Only in maemo5 for now</source>
-        <translation>Vain maemo5:ssä tällähetkellä</translation>
-    </message>
-</context>
-<context>
-    <name>MainWindow</name>
-    <message>
-        <location filename="mainwindow.ui" line="14"/>
-        <source>CuteExplorer</source>
-        <oldsource>Maemo Explorer</oldsource>
-        <translation>CuteExplorer</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="26"/>
-        <source>Up</source>
-        <translation>Ylös</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="29"/>
-        <source>Backspace</source>
-        <translation>Backspace</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="81"/>
-        <source>File</source>
-        <translation>Tiedosto</translation>
-    </message>
-    <message>
-        <source>Edit</source>
-        <translation type="obsolete">Muokkaa</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="74"/>
-        <source>View</source>
-        <translation>Näkymä</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="87"/>
-        <location filename="mainwindow.ui" line="149"/>
-        <location filename="mainwindow.cpp" line="76"/>
-        <location filename="mainwindow.cpp" line="80"/>
-        <source>Help</source>
-        <translation>Apua</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="98"/>
-        <source>Exit</source>
-        <translation>Lopeta</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="103"/>
-        <source>Cut</source>
-        <translation>Leikkaa</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="108"/>
-        <source>Copy</source>
-        <translation>Kopioi</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="113"/>
-        <source>Paste</source>
-        <translation>Liitä</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="118"/>
-        <source>Delete</source>
-        <translation>Poista</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="126"/>
-        <source>Icon view</source>
-        <translation>Kuvake näkymä</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="144"/>
-        <source>Send files</source>
-        <translation>Lähetä tiedostoja</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="154"/>
-        <source>About</source>
-        <translation></translation>
-    </message>
-    <message>
-        <source>Switch Mode</source>
-        <translation type="obsolete">Vaihda näkymä</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="131"/>
-        <source>Rename</source>
-        <translation>Uudelleen nimeä</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.ui" line="139"/>
-        <source>Show hidden</source>
-        <translation>Näytä piilotetut</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="77"/>
-        <source>Cut, copy, delete, rename, paste and send files</source>
-        <translation>Leikkaa, kopioi, poista, uudelleen nimeä ja lähetä tiedostoja</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="78"/>
-        <source>commands can be found from context menu (click and hold on maemo).</source>
-        <translation>komennot löytyvät context valikosta (pitkä painallus maemossa).</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="79"/>
-        <source>To select files, use ctrl and shift</source>
-        <translation>Valitaksesi tiedostoja paina ctrl tai shift pohjassa</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="87"/>
-        <source>&lt;p&gt;Version %1&lt;br/&gt;</source>
-        <translation>&lt;p&gt;Versio %1&lt;br/&gt;</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="88"/>
-        <source>Using Qt %1&lt;br/&gt;</source>
-        <oldsource>Using Qt %1
-&lt;br/&gt;</oldsource>
-        <translation>Käyttää Qt %1&lt;br/&gt;</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="89"/>
-        <source>Copyright</source>
-        <translation></translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="91"/>
-        <source>&lt;p&gt;CuteExplorer is file manager mainly for maemo5.&lt;br/&gt;</source>
-        <translation>&lt;p&gt;CuteExplorer on tiedosto manageri pääasiassa maemo5:lle.&lt;br/&gt;</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="92"/>
-        <source>This is still under development so please visit&lt;br/&gt;</source>
-        <translation>Tämä on vielä kehityksen alla, joten käy&lt;br/&gt;</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="93"/>
-        <source>&lt;a href=http://cuteexplorer.garage.maemo.org&gt;http://cuteexplorer.garage.maemo.org&lt;/a&gt;&lt;br/&gt;</source>
-        <translation></translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="94"/>
-        <source>to report bugs or leave feature requests. Thanks!&lt;/p&gt;</source>
-        <translation>ilmoittaaksesi bugeista. Kiitos! &lt;/p&gt;</translation>
-    </message>
-    <message>
-        <location filename="mainwindow.cpp" line="96"/>
-        <source>About CuteExplorer</source>
-        <translation></translation>
-    </message>
-</context>
-</TS>
diff --git a/src/filelistwidget.cpp b/src/filelistwidget.cpp
deleted file mode 100644 (file)
index f578e7c..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-#include "filelistwidget.h"
-#include <QHeaderView>
-#include <QMessageBox>
-#include <QInputDialog>
-#include <QDesktopServices>
-#include <QUrl>
-#include <QProcess>
-#include <QDBusInterface>
-#ifdef Q_WS_MAEMO_5
-#   include <hildon-mime.h>
-#   include <dbus/dbus.h>
-#endif
-/*!
-Widget that shows filesystemmodel and handles navigation
-in directory tree and opening files with assosiated programs
-
-@todo in symbian and windows filesystems navigating to "root" wont show drives
-  */
-FileListWidget::FileListWidget(QWidget *parent) :
-    QListView(parent),
-    fileSystemModel( new QFileSystemModel(this)),
-    currentDir(QDir::homePath()),
-    mode_cut(false),
-    mode_copy(false),
-    select(false)
-{
-    this->setModel(fileSystemModel);
-    this->setRootIndex(fileSystemModel->index(currentDir.absolutePath()));
-    fileSystemModel->setRootPath(currentDir.absolutePath());
-    fileSystemModel->setFilter(fileSystemModel->filter() | QDir::System);
-    connect(this, SIGNAL(activated(QModelIndex)), this, SLOT(handleItemActivation(QModelIndex)));
-
-}
-
-/**
-  Switches view mode
-  @param iconmode true shows iconview, false shows listview
-  */
-void FileListWidget::actionSwitchMode(bool iconmode)
-{
-    if(iconmode) {
-        this->setViewMode(QListView::IconMode);
-        this->setWordWrap(true);
-        this->setGridSize(QSize(80,80));
-    } else {
-        this->setViewMode(QListView::ListMode);
-        this->setWordWrap(false);
-        this->setGridSize(QSize());
-    }
-}
-
-/**
-  Switches show hidden
-  @param show true shows hidden files
-  */
-void FileListWidget::actionShowHidden(bool show)
-{
-    if(show)
-        fileSystemModel->setFilter(fileSystemModel->filter() | QDir::Hidden);
-    else
-        fileSystemModel->setFilter(fileSystemModel->filter() &~ QDir::Hidden);
-
-    this->clearSelection();
-}
-
-/**
-  Rename selected file
-  */
-void FileListWidget::actionRename()
-{
-    QFileInfo file = fileSystemModel->fileInfo(this->selectedIndexes().first());
-    QString newName = QInputDialog::getText(this, tr("Rename"), tr("New filename: "), QLineEdit::Normal, file.fileName());
-    if(newName != file.fileName() && !newName.isEmpty())
-    {
-        if(QFile::rename(file.absoluteFilePath(), file.absolutePath()+"/"+newName))
-            return;
-        else
-            QMessageBox::critical(this,tr("Error!")
-                                  ,tr("Renaming file %1 failed")
-                                    .arg(file.fileName())
-                                  ,QMessageBox::Ok);
-    }
-}
-/**
-  Selected files will be moved when actionPaste is called
-  */
-void FileListWidget::actionCut()
-{
-    mode_cut = true;
-    mode_copy = false;
-    selectedFiles = this->selectedIndexes();
-}
-/**
-  Selected files will be copied when actionPaste is called
-  */
-void FileListWidget::actionCopy()
-{
-    mode_cut = false;
-    mode_copy = true;
-    selectedFiles = this->selectedIndexes();
-}
-
-/**
-  Moves or copies files that were selected when actionCut or actionCopy called
-  */
-void FileListWidget::actionPaste()
-{
-    fileSystemModel->setReadOnly(false);
-    if(mode_copy) {
-        //Copy files until filelist is empty or error occured
-        while(!selectedFiles.isEmpty()) {
-            if(QFile::copy(fileSystemModel->fileInfo(selectedFiles.first()).absoluteFilePath()
-                        , fileSystemModel->rootPath()+"/"+fileSystemModel->fileName(selectedFiles.first()))) {
-                selectedFiles.removeFirst();
-            }
-            else if(QFile::copy(fileSystemModel->fileInfo(selectedFiles.first()).absoluteFilePath()
-                    , fileSystemModel->rootPath()+"/copy_"+fileSystemModel->fileName(selectedFiles.first()))) {
-                selectedFiles.removeFirst();
-            } else {
-                QMessageBox::critical(this,tr("Error!")
-                                      ,tr("Copying file %1 failed")
-                                        .arg(fileSystemModel->fileName(selectedFiles.first()))
-                                      ,QMessageBox::Ok);
-                break;
-            }
-        }
-        if(selectedFiles.isEmpty())
-            mode_copy = false;
-    } else if(mode_cut) {
-        //Move files until filelist is empty or error occured
-        while(!selectedFiles.isEmpty()) {
-            if(QFile::rename(fileSystemModel->fileInfo(selectedFiles.first()).absoluteFilePath()
-                        , fileSystemModel->rootPath()+"/"+fileSystemModel->fileName(selectedFiles.first()))) {
-                    selectedFiles.removeFirst();
-            } else {
-                QMessageBox::critical(this,tr("Error!")
-                                      ,tr("Moving file %1 failed")
-                                        .arg(fileSystemModel->fileName(selectedFiles.first()))
-                                      ,QMessageBox::Ok);
-                break;
-            }
-        }
-        if(selectedFiles.isEmpty())
-            mode_cut = false;
-    }
-    fileSystemModel->setReadOnly(true);
-    this->clearSelection();
-}
-
-/**
-  Deletes selected files
-  */
-void FileListWidget::actionDelete()
-{
-    mode_cut = false;
-    mode_copy = false;
-    if(QMessageBox::Yes == QMessageBox::warning(this, tr("Deleting file")
-                            ,tr("You are about to delete %1 file(s).\nAre you sure you want to continue?")
-                                .arg(this->selectedIndexes().count())
-                            , QMessageBox::Yes, QMessageBox::No)) {
-        fileSystemModel->setReadOnly(false);
-        selectedFiles = this->selectedIndexes();
-        //delete files until filelist empty or error occured
-        while(!selectedFiles.isEmpty()) {
-            if(fileSystemModel->remove(selectedFiles.first())) {
-                selectedFiles.removeFirst();
-            } else {
-                QMessageBox::critical(this,tr("Error!")
-                                      ,tr("Deleting file %1 failed")
-                                        .arg(fileSystemModel->fileName(selectedFiles.first()))
-                                      ,QMessageBox::Ok);
-                break;
-            }
-        }
-        fileSystemModel->setReadOnly(true);
-        this->clearSelection();
-    }
-}
-
-/**
-  @return Current directory shown
-  */
-QString FileListWidget::getPath()
-{
-    return currentDir.absolutePath();
-}
-
-/**
-  Changes current directory
-  @param path directory to change to
-  */
-void FileListWidget::changePath(QString path)
-{
-    currentDir.cd(path);
-    QString newPath = currentDir.absolutePath();
-    fileSystemModel->setRootPath(newPath);
-    this->clearSelection();
-    this->setRootIndex(fileSystemModel->index(newPath));
-    emit pathChanged(newPath);
-}
-
-/**
-  Equivalent to changePath("..")
-  */
-void FileListWidget::changePathUp()
-{
-    changePath("..");
-}
-
-void FileListWidget::handleItemActivation(QModelIndex index)
-{
-    if(!select) {
-        QFileInfo file = fileSystemModel->fileInfo(index);
-        if(file.isDir()) {
-            changePath(file.absoluteFilePath());
-        } else if(file.isExecutable()) {
-            // Make process
-            QProcess::startDetached(file.absoluteFilePath());
-        } else {
-#ifdef Q_WS_MAEMO_5 // Uses native file opening method
-            //TODO: find better solution for this, maybe get fixed in Qt
-            DBusConnection* conn;
-            conn = dbus_bus_get(DBUS_BUS_SESSION, 0);
-            hildon_mime_open_file(conn, QUrl::fromLocalFile(file.absoluteFilePath()).toEncoded().constData());
-#else
-            /*
-            Not working with maemo5.
-            Uses hildon_uri_open function from
-            libhildonmime which should work,
-            but all files opened in browser.
-            */
-            QDesktopServices::openUrl(QUrl::fromLocalFile(file.absoluteFilePath()));
-#endif
-        }
-    }
-}
-/**
-  @param mode true activates file selection
-  */
-void FileListWidget::setSelectMode(bool mode)
-{
-    if(mode)
-        this->setSelectionMode(QAbstractItemView::ExtendedSelection);
-    else
-        this->setSelectionMode(QAbstractItemView::SingleSelection);
-    select = mode;
-}
-
-/**
-  Opens native bluetooth dialog to choose receiving device and sends selected files there.
-  */
-void FileListWidget::actionSendFiles()
-{
-#ifdef Q_WS_MAEMO_5
-    // Create list of file urls
-    QStringList files;
-    QFileInfo file;
-    foreach(QModelIndex index, this->selectedIndexes()) {
-        file = fileSystemModel->fileInfo(index);
-        if(file.isDir()) {
-            QMessageBox::warning(this,
-                                     tr("Sending files"),
-                                     tr("Sending directories not supported"),
-                                     QMessageBox::Cancel);
-            return;
-        }
-        files.append(QUrl::fromLocalFile(file.absoluteFilePath()).toString());
-    }
-
-    // Make dbuscall to send files
-    QDBusInterface interface("com.nokia.bt_ui", "/com/nokia/bt_ui", "com.nokia.bt_ui",QDBusConnection::systemBus());
-    interface.call(QDBus::Block, "show_send_file_dlg", files);
-
-#else
-    QMessageBox::information(this,
-                             tr("Sending files"),
-                             tr("Only in maemo5 for now"),
-                             QMessageBox::Cancel);
-#endif
-
-}
-
diff --git a/src/filelistwidget.h b/src/filelistwidget.h
deleted file mode 100644 (file)
index 48304cf..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef FILELISTWIDGET_H
-#define FILELISTWIDGET_H
-
-#include <QListView>
-#include <QFileSystemModel>
-#include <QDir>
-#include <QMessageBox>
-#include <QKeyEvent>
-
-class FileListWidget : public QListView
-{
-Q_OBJECT
-public:
-    explicit FileListWidget(QWidget *parent = 0);
-
-    QString getPath();
-
-signals:
-    void pathChanged(QString newPath);
-
-public slots:
-    void changePath(QString path);
-    void changePathUp();
-
-    void actionDelete();
-    void actionCut();
-    void actionCopy();
-    void actionPaste();
-    void actionSwitchMode(bool iconmode=true);
-    void actionRename();
-    void actionShowHidden(bool show=true);
-    void actionSendFiles();
-
-    void setSelectMode(bool mode=true);
-private slots:
-    void handleItemActivation(QModelIndex index);
-
-private:
-    QFileSystemModel *fileSystemModel;
-    QDir currentDir;
-    QModelIndexList selectedFiles;
-    bool mode_cut;
-    bool mode_copy;
-    bool select;
-};
-
-#endif // FILELISTWIDGET_H
diff --git a/src/i18n.qrc b/src/i18n.qrc
deleted file mode 100644 (file)
index 9962489..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-<RCC>
-    <qresource prefix="/">
-        <file>cuteexplorertranslation_fi_FI.qm</file>
-    </qresource>
-</RCC>
diff --git a/src/main.cpp b/src/main.cpp
deleted file mode 100644 (file)
index 9da8be5..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-#include <QtGui/QApplication>
-#include <QTranslator>
-#include <QLocale>
-#include "mainwindow.h"
-#include <QDebug>
-#include <QProcessEnvironment>
-int main(int argc, char *argv[])
-{
-    QApplication a(argc, argv);
-    QTranslator translator;
-
-    /* For some reason QLocale::system() returns
-    locale by LC_NUMERIC environment variable in linux which is
-    meant for numerics like thousand separator etc.
-
-    In this solution we get locale from LANG environment variable
-    and use QLocale::system() as fallback.
-      */
-    if(QProcessEnvironment::systemEnvironment().contains("LANG"))
-        translator.load(":/cuteexplorertranslation_"+QLocale(QProcessEnvironment::systemEnvironment().value("LANG")).name());
-    else
-        translator.load(":/cuteexplorertranslation_"+QLocale::system().name());
-
-    a.installTranslator(&translator);
-
-    MainWindow w;
-    w.show();
-    return a.exec();
-}
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
deleted file mode 100644 (file)
index 5673d64..0000000
+++ /dev/null
@@ -1,106 +0,0 @@
-#include "mainwindow.h"
-#include "ui_mainwindow.h"
-
-MainWindow::MainWindow(QWidget *parent) :
-    QMainWindow(parent),
-    ui(new Ui::MainWindow)
-{
-    ui->setupUi(this);
-    connect(ui->actionExit, SIGNAL(triggered()), this, SLOT(close()));
-    connect(ui->upButton, SIGNAL(clicked()), ui->fileListWidget, SLOT(changePathUp()));
-    connect(ui->locationLine, SIGNAL(returnPressed()), this, SLOT(locationLineEnterKeyHandler()));
-    connect(ui->fileListWidget, SIGNAL(pathChanged(QString)), ui->locationLine, SLOT(setText(QString)));
-    connect(ui->actionDelete, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionDelete()));
-    connect(ui->actionMode, SIGNAL(toggled(bool)), ui->fileListWidget, SLOT(actionSwitchMode(bool)));
-    connect(ui->actionCopy, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionCopy()));
-    connect(ui->actionCut, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionCut()));
-    connect(ui->actionPaste, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionPaste()));
-    connect(ui->actionShow_hidden, SIGNAL(toggled(bool)), ui->fileListWidget, SLOT(actionShowHidden(bool)));
-    connect(ui->actionRename, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionRename()));
-    connect(ui->actionSend, SIGNAL(triggered()), ui->fileListWidget, SLOT(actionSendFiles()));
-
-    connect(ui->actionHelp, SIGNAL(triggered()), this, SLOT(showHelp()));
-    connect(ui->actionAbout, SIGNAL(triggered()), this, SLOT(showAbout()));
-
-    ui->locationLine->setText(ui->fileListWidget->getPath());
-
-    ui->actionExit->setShortcut(QKeySequence::Quit);
-
-    ui->actionCopy->setShortcut(QKeySequence::Copy);
-    ui->actionCut->setShortcut(QKeySequence::Cut);
-    ui->actionPaste->setShortcut(QKeySequence::Paste);
-    ui->actionDelete->setShortcut(QKeySequence("Ctrl+D"));
-    ui->actionRename->setShortcut(QKeySequence("Ctrl+R"));
-    ui->actionSend->setShortcut(QKeySequence::Save);
-    ui->fileListWidget->addAction(ui->actionCopy);
-    ui->fileListWidget->addAction(ui->actionCut);
-    ui->fileListWidget->addAction(ui->actionPaste);
-    ui->fileListWidget->addAction(ui->actionDelete);
-    ui->fileListWidget->addAction(ui->actionRename);
-    ui->fileListWidget->addAction(ui->actionSend);
-}
-
-MainWindow::~MainWindow()
-{
-    delete ui;
-}
-
-void MainWindow::locationLineEnterKeyHandler()
-{
-    ui->fileListWidget->changePath(ui->locationLine->text());
-}
-void MainWindow::keyPressEvent(QKeyEvent *e)
-{
-    if(e->key() == Qt::Key_Control || e->key() == Qt::Key_Shift)
-        ui->fileListWidget->setSelectMode(true);
-    else
-        QMainWindow::keyPressEvent(e);
-}
-void MainWindow::keyReleaseEvent(QKeyEvent *e)
-{
-    if(e->key() == Qt::Key_Control || e->key() == Qt::Key_Shift)
-        ui->fileListWidget->setSelectMode(false);
-    else
-        QMainWindow::keyPressEvent(e);
-}
-
-void MainWindow::changeEvent(QEvent *e)
-{
-    QMainWindow::changeEvent(e);
-    switch (e->type()) {
-    case QEvent::LanguageChange:
-        ui->retranslateUi(this);
-        break;
-    default:
-        break;
-    }
-}
-
-void MainWindow::showHelp()
-{
-    QString helpText;
-
-    helpText.append("<h2>CuteExplorer "+tr("Help") +"</h2>");
-    helpText.append("<p>"+ tr("Cut, copy, delete, rename, paste and send files")+"<br/>");
-    helpText.append(tr("commands can be found from context menu (click and hold on maemo).")+"<br/>");
-    helpText.append(tr("To select files, use ctrl and shift")+"<br/>");
-    QMessageBox::about(this, tr("Help"),
-                       helpText);
-}
-void MainWindow::showAbout()
-{
-    QString about;
-    about.append("<h2>CuteExplorer</h2>");
-    about.append(tr("<p>Version %1<br/>").arg(QString(CUTE_VERSION)));
-    about.append(tr("Using Qt %1<br/>").arg(QString(QT_VERSION_STR)));
-    about.append(tr("Copyright") + " 2010 Tommi \"tomma\" Asp &lt;tomma.asp@gmail.com&gt;<br/>");
-
-    about.append(tr("<p>CuteExplorer is file manager mainly for maemo5.<br/>"));
-    about.append(tr("This is still under development so please visit<br/>"));
-    about.append(tr("<a href=http://cuteexplorer.garage.maemo.org>http://cuteexplorer.garage.maemo.org</a><br/>"));
-    about.append(tr("to report bugs or leave feature requests. Thanks!</p>"));
-
-    QMessageBox::about(this, tr("About CuteExplorer"),
-                       about);
-}
-
diff --git a/src/mainwindow.h b/src/mainwindow.h
deleted file mode 100644 (file)
index b2fa0f9..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QMainWindow>
-
-namespace Ui {
-    class MainWindow;
-}
-
-class MainWindow : public QMainWindow {
-    Q_OBJECT
-public:
-    MainWindow(QWidget *parent = 0);
-    ~MainWindow();
-
-public slots:
-    void showHelp();
-    void showAbout();
-protected:
-    void changeEvent(QEvent *e);
-    void keyPressEvent(QKeyEvent *e);
-    void keyReleaseEvent(QKeyEvent *e);
-private slots:
-   void locationLineEnterKeyHandler();
-
-private:
-    Ui::MainWindow *ui;
-
-};
-
-#endif // MAINWINDOW_H
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
deleted file mode 100644 (file)
index b79de1c..0000000
+++ /dev/null
@@ -1,168 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>600</width>
-    <height>400</height>
-   </rect>
-  </property>
-  <property name="windowTitle">
-   <string>CuteExplorer</string>
-  </property>
-  <property name="locale">
-   <locale language="English" country="UnitedStates"/>
-  </property>
-  <widget class="QWidget" name="centralWidget">
-   <layout class="QVBoxLayout" name="verticalLayout">
-    <item>
-     <layout class="QHBoxLayout" name="horizontalLayout">
-      <item>
-       <widget class="QPushButton" name="upButton">
-        <property name="text">
-         <string>Up</string>
-        </property>
-        <property name="shortcut">
-         <string>Backspace</string>
-        </property>
-       </widget>
-      </item>
-      <item>
-       <widget class="QLineEdit" name="locationLine"/>
-      </item>
-     </layout>
-    </item>
-    <item>
-     <layout class="QHBoxLayout" name="horizontalLayout_2">
-      <item>
-       <widget class="FileListWidget" name="fileListWidget">
-        <property name="contextMenuPolicy">
-         <enum>Qt::ActionsContextMenu</enum>
-        </property>
-        <property name="editTriggers">
-         <set>QAbstractItemView::NoEditTriggers</set>
-        </property>
-        <property name="showDropIndicator" stdset="0">
-         <bool>false</bool>
-        </property>
-        <property name="selectionMode">
-         <enum>QAbstractItemView::SingleSelection</enum>
-        </property>
-        <property name="textElideMode">
-         <enum>Qt::ElideRight</enum>
-        </property>
-       </widget>
-      </item>
-     </layout>
-    </item>
-   </layout>
-  </widget>
-  <widget class="QMenuBar" name="menuBar">
-   <property name="geometry">
-    <rect>
-     <x>0</x>
-     <y>0</y>
-     <width>600</width>
-     <height>21</height>
-    </rect>
-   </property>
-   <widget class="QMenu" name="menuView">
-    <property name="title">
-     <string>View</string>
-    </property>
-    <addaction name="actionMode"/>
-    <addaction name="actionShow_hidden"/>
-   </widget>
-   <widget class="QMenu" name="menuFile">
-    <property name="title">
-     <string>File</string>
-    </property>
-    <addaction name="actionExit"/>
-   </widget>
-   <widget class="QMenu" name="menuHelp">
-    <property name="title">
-     <string>Help</string>
-    </property>
-    <addaction name="actionHelp"/>
-    <addaction name="actionAbout"/>
-   </widget>
-   <addaction name="menuFile"/>
-   <addaction name="menuView"/>
-   <addaction name="menuHelp"/>
-  </widget>
-  <action name="actionExit">
-   <property name="text">
-    <string>Exit</string>
-   </property>
-  </action>
-  <action name="actionCut">
-   <property name="text">
-    <string>Cut</string>
-   </property>
-  </action>
-  <action name="actionCopy">
-   <property name="text">
-    <string>Copy</string>
-   </property>
-  </action>
-  <action name="actionPaste">
-   <property name="text">
-    <string>Paste</string>
-   </property>
-  </action>
-  <action name="actionDelete">
-   <property name="text">
-    <string>Delete</string>
-   </property>
-  </action>
-  <action name="actionMode">
-   <property name="checkable">
-    <bool>true</bool>
-   </property>
-   <property name="text">
-    <string>Icon view</string>
-   </property>
-  </action>
-  <action name="actionRename">
-   <property name="text">
-    <string>Rename</string>
-   </property>
-  </action>
-  <action name="actionShow_hidden">
-   <property name="checkable">
-    <bool>true</bool>
-   </property>
-   <property name="text">
-    <string>Show hidden</string>
-   </property>
-  </action>
-  <action name="actionSend">
-   <property name="text">
-    <string>Send files</string>
-   </property>
-  </action>
-  <action name="actionHelp">
-   <property name="text">
-    <string>Help</string>
-   </property>
-  </action>
-  <action name="actionAbout">
-   <property name="text">
-    <string>About</string>
-   </property>
-  </action>
- </widget>
- <layoutdefault spacing="6" margin="11"/>
- <customwidgets>
-  <customwidget>
-   <class>FileListWidget</class>
-   <extends>QListView</extends>
-   <header>filelistwidget.h</header>
-  </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
-</ui>
diff --git a/src/searchdialog.cpp b/src/searchdialog.cpp
deleted file mode 100644 (file)
index 5f99421..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "searchdialog.h"
-#include "ui_searchdialog.h"
-
-SearchDialog::SearchDialog(QWidget *parent) :
-    QDialog(parent),
-    ui(new Ui::SearchDialog)
-{
-    ui->setupUi(this);
-}
-
-SearchDialog::~SearchDialog()
-{
-    delete ui;
-}
-
-void SearchDialog::changeEvent(QEvent *e)
-{
-    QDialog::changeEvent(e);
-    switch (e->type()) {
-    case QEvent::LanguageChange:
-        ui->retranslateUi(this);
-        break;
-    default:
-        break;
-    }
-}
diff --git a/src/searchdialog.h b/src/searchdialog.h
deleted file mode 100644 (file)
index 49dbd25..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#ifndef SEARCHDIALOG_H
-#define SEARCHDIALOG_H
-
-#include <QDialog>
-
-namespace Ui {
-    class SearchDialog;
-}
-
-class SearchDialog : public QDialog {
-    Q_OBJECT
-public:
-    SearchDialog(QWidget *parent = 0);
-    ~SearchDialog();
-
-protected:
-    void changeEvent(QEvent *e);
-
-private:
-    Ui::SearchDialog *ui;
-};
-
-#endif // SEARCHDIALOG_H
diff --git a/src/searchdialog.ui b/src/searchdialog.ui
deleted file mode 100644 (file)
index b78659c..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-<ui version="4.0">
- <author/>
- <comment/>
- <exportmacro/>
- <class>SearchDialog</class>
- <widget class="QDialog" name="SearchDialog">
-  <property name="geometry">
-   <rect>
-    <x>0</x>
-    <y>0</y>
-    <width>400</width>
-    <height>300</height>
-   </rect>
-  </property>
-  <property name="windowTitle">
-   <string>Dialog</string>
-  </property>
-  <widget class="QDialogButtonBox" name="buttonBox">
-   <property name="geometry">
-    <rect>
-     <x>30</x>
-     <y>240</y>
-     <width>341</width>
-     <height>32</height>
-    </rect>
-   </property>
-   <property name="orientation">
-    <enum>Qt::Horizontal</enum>
-   </property>
-   <property name="standardButtons">
-    <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
-   </property>
-  </widget>
- </widget>
- <pixmapfunction/>
- <resources/>
- <connections>
-  <connection>
-   <sender>buttonBox</sender>
-   <signal>accepted()</signal>
-   <receiver>SearchDialog</receiver>
-   <slot>accept()</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>248</x>
-     <y>254</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>157</x>
-     <y>274</y>
-    </hint>
-   </hints>
-  </connection>
-  <connection>
-   <sender>buttonBox</sender>
-   <signal>rejected()</signal>
-   <receiver>SearchDialog</receiver>
-   <slot>reject()</slot>
-   <hints>
-    <hint type="sourcelabel">
-     <x>316</x>
-     <y>260</y>
-    </hint>
-    <hint type="destinationlabel">
-     <x>286</x>
-     <y>274</y>
-    </hint>
-   </hints>
-  </connection>
- </connections>
-</ui>
diff --git a/src/src.pro b/src/src.pro
deleted file mode 100644 (file)
index aa4e790..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-# -------------------------------------------------
-# Project created by QtCreator 2010-01-13T19:38:20
-# -------------------------------------------------
-TARGET = cuteexplorer
-TEMPLATE = app
-QT += dbus
-SOURCES += main.cpp \
-    mainwindow.cpp \
-    filelistwidget.cpp \
-    searchdialog.cpp
-HEADERS += mainwindow.h \
-    filelistwidget.h \
-    searchdialog.h
-FORMS += mainwindow.ui \
-    searchdialog.ui
-TRANSLATIONS += cuteexplorertranslation_fi_FI.ts
-RESOURCES += i18n.qrc
-DEFINES += CUTE_VERSION=\\\"1.2\\\"
-maemo5 { 
-    # VARIABLES
-    CONFIG += link_pkgconfig
-    PKGCONFIG += dbus-1 \
-        gnome-vfs-2.0
-    LIBS += -lhildonmime \
-        -ldbus-1
-    isEmpty(PREFIX):PREFIX = /usr
-    BINDIR = $$PREFIX/bin
-    DATADIR = $$PREFIX/share
-    DEFINES += DATADIR=\\\"$$DATADIR\\\" \
-        PKGDATADIR=\\\"$$PKGDATADIR\\\"
-    
-    # MAKE INSTALL
-    INSTALLS += target \
-        desktop \
-        icon \
-        icon64
-    target.path = $$BINDIR
-    desktop.path = $$DATADIR/applications/hildon
-    desktop.files += $${TARGET}.desktop
-    icon64.path = $$DATADIR/icons/hicolor/64x64/apps
-    icon64.files += $${TARGET}_icon64.png
-    icon.path = $$DATADIR/icons/hicolor/scalable/apps
-    icon.files += $${TARGET}_icon.svg
-}
diff --git a/www/index.html b/www/index.html
new file mode 100644 (file)
index 0000000..9bbb65c
--- /dev/null
@@ -0,0 +1,30 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<title>CuteExplorer</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
+<script src="http://html5media.googlecode.com/svn/trunk/src/html5media.min.js"></script>
+</head>
+<body>
+
+<h1>CuteExplorer</h1>
+<p>
+Idea was to create filemanager for maemo that shows filesystem as it is,
+because filemanager that was on Nokia N900 used GnomeVFS to hide the real
+filesystem from user.
+</p>
+<p>
+<a href="https://garage.maemo.org/projects/cuteexplorer">Project page</a>
+</p>
+<!--
+<h2>Video showing some features</h2>
+<video src="files/maemo5video.mp4" controls="controls" width="320" height="240">
+<a href="files/maemo5video.mp4">maemo5video.mp4</a>
+</video>
+-->
+</body>
+</html>
+
+
+