IRC log for #harmattan on 20120805

00:04.32*** join/#harmattan gabriel9 (~gabriel9@4-206-23-217-bl.cable.dyn.broadband.blic.net)
00:12.03pawhats wrong with onPressedChanged: { if (pressed) console.log("pressed"); else console.log("released"); } ?
00:12.45pai get "pressed" printed twice..
00:16.08pabut on another button this works..
00:16.56paapparently it+s the name of the function
00:16.58palame..
00:23.12*** join/#harmattan mike7b4 (~communi@h-92-6.a193.priv.bahnhof.se)
00:24.18*** join/#harmattan jaywink (~jaywink@cs181163242.pp.htv.fi)
00:33.33rashm2ki keep getting seg faults on Qlist.h append method any ideas?
00:33.42rashm2ktemplate <typename T>
00:33.44rashm2kQ_OUTOFLINE_TEMPLATE void QList<T>::append(const T &t)
00:33.45rashm2k{
00:33.48rashm2k<PROTECTED>
00:33.48rashm2k<PROTECTED>
00:33.50rashm2k<PROTECTED>
00:33.51rashm2k<PROTECTED>
00:33.53rashm2k<PROTECTED>
00:33.54rashm2k<PROTECTED>
00:33.56rashm2k<PROTECTED>
00:33.57rashm2k<PROTECTED>
00:33.58rashm2k<PROTECTED>
00:34.07rashm2kat line:  if (d->ref != 1) {
00:35.07ieatlintuh, first, use something like pastebin
00:35.26rashm2ksorry
00:35.40ieatlintand second.. it's not QList's fault that there's a segfault, so posting a code snippet from it will tell people nothing
00:36.35rashm2kQList<SearchResult*> *searchResultList;
00:36.50rashm2kvoid ListModel::appendRows(SearchResult *items) {
00:36.52rashm2k<PROTECTED>
00:36.53rashm2k}
00:37.05itsnotabigtruckrashm2k: don't paste that much text into irc
00:37.12itsnotabigtruckwhat happens is that one line goes through at a time for minutes
00:37.30rashm2k????
00:37.48ieatlintuh, in your second code snippet, searchResultList is undefined
00:37.57ieatlintyou should actually be getting a compile warning telling you that
00:38.07itsnotabigtruckah, that must be it
00:38.11itsnotabigtruckthis == NULL
00:38.33rashm2khow do I instantiate a Qlist? It tells me it's static
00:39.07itsnotabigtruckwell, the quick fix is to take out the * before searchResultList
00:39.10ieatlintwell, you can put it on the stack
00:39.11itsnotabigtruckand change the -> to .
00:39.22itsnotabigtruckthough using global variables like that isn't considered a very good idea
00:39.29itsnotabigtruckso you might want to restructure your code a bit
00:39.31ieatlintalthough i think QList<Type> list = new QList<Type>; also works
00:39.43itsnotabigtrucki'd suggest you go through some c++ tutorials before you dive in with complicated qt stuff
00:39.51itsnotabigtruckc++ is complicated, going in head first is a bad idea
00:39.58itsnotabigtruckieatlint: only if list is changed to *list
00:40.18ieatlinterg, yes
00:40.22ieatlinttypo :P
00:41.27rashm2ktrying it now
00:41.35Sazpaimon_has anyone gotten the PR1.3 sources dvd yet?
00:57.11rashm2kI didn't initialise the model backing the listview
00:57.13rashm2kduh
01:00.30*** join/#harmattan Hurrian (~Hurrian@121.54.2.104)
01:15.55*** join/#harmattan beford (~fernando@unaffiliated/beford)
01:24.49*** join/#harmattan mschlens (~mschlens@e180007031.adsl.alicedsl.de)
02:17.52*** join/#harmattan beford (~fernando@unaffiliated/beford)
02:21.01*** join/#harmattan Venemo_ (~Timur@fedora/Venemo)
02:40.58*** join/#harmattan hardaker (~hardaker@mail.hardakers.net)
02:47.16*** join/#harmattan rcg (~rcg@g230049119.adsl.alicedsl.de)
02:50.07*** join/#harmattan bef0rd (~beford@unaffiliated/beford)
02:50.50*** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi)
02:56.11*** join/#harmattan orfix (~mounir@41.143.183.214)
04:45.31*** join/#harmattan ptl (~patola@unaffiliated/ptl)
04:51.30*** join/#harmattan juergbi` (~juerg@77-58-108-244.dclient.hispeed.ch)
04:51.40*** join/#harmattan Jare_ (~jare@212-149-220-24.bb.dnainternet.fi)
04:52.06*** join/#harmattan phako (~phako@www.webstreams.de)
04:52.44*** join/#harmattan kevin_b (~kevin_b@ks35127.kimsufi.com)
04:55.05*** join/#harmattan beford (~beford@unaffiliated/beford)
05:11.18*** join/#harmattan piggz (~piggz@host-92-18-223-77.as13285.net)
06:01.02*** join/#harmattan Rajesh (~Rajesh@117.203.13.143)
06:26.02*** join/#harmattan whatsa (~oopsie@2606:df00:2::ae08:2d82)
06:40.34*** join/#harmattan natunen (~nalle@213-186-240-19.bb.dnainternet.fi)
06:44.11*** join/#harmattan suy (~alex@11.139.14.37.dynamic.jazztel.es)
06:52.01ladogais there youtube-dl for harmattan?
06:52.47ladogaif not maybe i should package it
06:58.49*** join/#harmattan tbf_ (~mathias@p5B3D41A0.dip.t-dialin.net)
07:43.12Elleoladoga: http://repo.pub.meego.com/home:/rzr:/harmattan/MeeGo_1.2_Harmattan_Maemo.org_MeeGo_1.2_Harmattan_standard/all/youtube-dl_2011.08.04-2_all.deb
07:43.19Elleohaven't tried it myself
07:43.47ladogathanks
07:44.43Elleono problem :)
07:50.54*** join/#harmattan lordross (~lordross@aurora.izrod.com)
08:02.56*** join/#harmattan rZr (~rzr@rzr.ww7.be)
08:05.19*** join/#harmattan buser (~test@c-0dc2e455.017-474-6c6b701.cust.bredbandsbolaget.se)
08:20.11*** join/#harmattan rZr (~rzr@rzr.ww7.be)
08:22.42*** join/#harmattan mschlens (~mschlens@e180021146.adsl.alicedsl.de)
08:24.29*** join/#harmattan rZr (~rzr@rzr.ww7.be)
08:27.45*** join/#harmattan NIN101 (~NIN@p5DD298A5.dip0.t-ipconnect.de)
08:44.20*** join/#harmattan M4rtinK (~M4rtinK@mail.melf.eu)
08:56.05*** join/#harmattan nid0 (nidO@dsl-fixed-94-30-53-17.interdsl.co.uk)
09:05.25*** join/#harmattan tom__ (~tom@93.186.156.236)
09:24.04*** join/#harmattan djszapi_ (~lpapp@109.79.182.37)
09:28.31*** join/#harmattan jaywink (~jaywink@cs181163242.pp.htv.fi)
09:39.11*** join/#harmattan tom___ (~tom@93.186.156.236)
10:14.33*** join/#harmattan rashm2k (~rm@5e060d7a.bb.sky.com)
10:14.55*** join/#harmattan Siosm (~quassel@2a01:e34:ed1a:c410:6d6f:a2bd:7df:685a)
10:15.38*** join/#harmattan arcean (~arcean@aafr218.neoplus.adsl.tpnet.pl)
10:33.50*** join/#harmattan Venemo (~Timur@fedora/Venemo)
10:49.56*** join/#harmattan e-yes (~e-yes@94.45.187.222)
10:57.56*** join/#harmattan Venemo (~Timur@fedora/Venemo)
11:02.47ZogG_laptoparcean: thanks for comment on my app, reviewing would be appriciated too
11:04.22djszapi_Venemo: sup
11:05.03Venemodjszapi_, fine, thanks :) you? :)
11:05.45djszapi_preparing for my italian and swiss trip..
11:06.18*** join/#harmattan Rajesh (~Rajesh@117.203.13.143)
11:22.30*** join/#harmattan tom___ (~tom@93.186.156.236)
11:52.44*** join/#harmattan admiral0 (~admiral0@adsl-ull-57-140.48-151.net24.it)
11:54.09admiral0hello
11:54.18*** join/#harmattan Rajesh_ (~Rajesh@117.203.13.143)
11:54.24djszapi_admiral0: are you from Italy?
11:54.30admiral0yes
11:54.34djszapi_which city
11:54.36admiral0and still no qtonpi
11:54.40admiral0Legnano
11:54.51admiral0that's bear Milano
11:54.57admiral0s/bear/near
11:55.34djszapi_yep, I see on the map...
11:55.45admiral0why?
11:55.49djszapi_hmm, what about pm?
11:56.07admiral0pm?
11:56.22djszapi_query =)
11:56.48admiral0is confused
11:56.54*** join/#harmattan Rajesh_ (~Rajesh@117.203.13.143)
11:59.25rashm2kin QAbstractItemModel::beginInsertRows ( const QModelIndex & parent, int first, int last )
11:59.34rashm2kwhat exactly is the parent?
12:07.45*** join/#harmattan Rajesh_ (~Rajesh@117.203.13.143)
12:25.56rashm2khow do I get qml listview to load new items once it reaches the end?
12:27.07djszapi_rashm2k: what do you mean by "reached the end" ?
12:27.57djszapi_re: http://doc.qt.nokia.com/4.7-snapshot/qabstractitemmodel.html#beginInsertRows -> what is not clear from the description?
12:28.20djszapi_"The parent index corresponds to the parent into which the new rows are inserted;"
12:28.42rashm2kI need to know once the user has scrolled to the bottom of the listview so I can load more items
12:29.05rashm2kI don't need begineInsertRows
12:29.32rashm2kOr rather I already use it - but I don't see how it can help me with this?
12:29.35djszapi_I do not understand
12:29.43djszapi_it is managed by the framework...
12:30.14djszapi_you just add as many items as you wish, and all the scrolling will be automatic...
12:30.39djszapi_well, you asked about the parent, and I gave you description. :-)
12:30.48rashm2kSorry I add 100 items - then when the user gets to the 100th item I make a web service call to get the next 100
12:31.31djszapi_I do not understand why that is useful
12:31.48rashm2kso I dont need buttons for next
12:31.49djszapi_you can fetch all those at once, and the user interface will be much smoother while scrolling.
12:32.37rashm2kI can fetch maximum 200 items at a time
12:33.14djszapi_why?
12:33.23rashm2krestriction on the web api
12:33.29rashm2knot under my control
12:33.36djszapi_that does not make sense to me
12:33.42djszapi_you can fetch as many times as you wish in advance.
12:34.02djszapi_it is an implementation details how you get all the items at once/.
12:34.06djszapi_detail*
12:34.40rashm2kI am interacting with the ebay web service - I don't want to fetch all items at once! There are thousands!
12:35.13djszapi_so instead, you would like to slow down the user interface for /all the time/ while scrolling over?
12:36.00rashm2kIt will be in batches of 100 or so - so it shouldn't be a big delay, plus I will have a loading screen
12:36.13djszapi_I do not understand
12:36.23djszapi_but I think it is a bad usability design
12:36.40djszapi_go for the next button, if you think, it is cool
12:37.21djszapi_the vast majority of the people do the hard job while launching the application, or in a separate thread after that, but surely not for user interaction
12:37.51rashm2kthis is a user interaction
12:38.06rashm2kthe user enters terms to search not me
12:38.31djszapi_I wonder if you have ever seen facebook
12:38.35djszapi_and how they handle this.
12:38.40djszapi_They have a "next button" concept.
12:38.44djszapi_what is the problem?
12:38.45rashm2knot really
12:39.03djszapi_ok, I am out. =
12:39.05djszapi_=)
12:39.08rashm2kI dont have space on the screen for it
12:39.27rashm2kmaybe a footer instead - like in the email app
12:39.47djszapi_you mean toolbar, not footer
12:39.56rashm2kno footer
12:41.03djszapi_ok, if you know better, then I am afraid I cannot help, or needless to try. :
12:41.04djszapi_:)
12:41.17rashm2kif you go into folders in the email app then scroll al the way down there is a button for get more messages
12:41.50rashm2kthanks for your input much appreciated as always ;-)
12:41.52djszapi_which I said like quite a while ago, you can do a next button?
12:42.02djszapi_I am still unsure what you expect.
12:42.06djszapi_everything has been said.
12:42.45rashm2kmaybe the auto fetch is too much
12:43.02rashm2kI'll stick with the get more button
12:43.18djszapi_yes, it is totally nonsense
12:43.27djszapi_what If I accidentally scroll over?
12:43.31djszapi_I need to wait for the load?
12:43.36rashm2kI have seen it though
12:43.40rashm2kyep
12:43.44djszapi_it is really one swipe to scroll
12:43.51djszapi_I would really not like to hang.
12:44.09djszapi_in addition, if you lost the internet connection with a flaky ISP, you would not be able to browse further on, etc
12:44.39rashm2kyeah dont handle any errors yet
12:44.41rashm2klol
12:44.49djszapi_fetch in a bunch is a good idea
12:44.53djszapi_if the list is long, filter it.
12:45.03rashm2kthats the plan
12:45.07rashm2kget 25
12:45.16rashm2kthen let user filter
12:45.24djszapi_no need for any automatic fetching further on
12:45.35rashm2kthen load more
12:46.25rashm2kquck question
12:46.51rashm2kwhat is currentIndex set when I am scrlling in the listview
12:47.11djszapi_it may sound weird, but the current index?
12:47.12rashm2kset to
12:47.43rashm2kyes but I have 5 items visible on my screen - which of the 5 is it?
12:48.23djszapi_I do not understand the question
12:48.30djszapi_the current index is the current index.
12:48.52rashm2kOh it's only for highlight
12:48.55djszapi_whichever is selected.
12:49.14djszapi_I am unsure what you mean by highlight
12:49.25djszapi_there is a currently selected item, and that index is contained in the variable.
12:49.28djszapi_what is the problem?
12:49.42djszapi_even when you scroll your finger is selected something
12:50.05djszapi_finger selected*
12:50.28rashm2kah right I see
12:53.23rashm2kqml is the tricky bit
12:53.44rashm2kgetting everything just right takes long.......
12:54.49*** join/#harmattan vladest_ (~Vlad@2-219-133-95.pool.ukrtel.net)
12:59.53*** join/#harmattan tom___ (~tom@93.186.156.236)
13:09.40*** join/#harmattan bedrock (~nbedford@87-194-219-167.bethere.co.uk)
13:29.04*** join/#harmattan hardaker (~hardaker@mail.hardakers.net)
13:42.46Corsachhm, is there a way to use third party google calendars in n9?
13:50.11*** join/#harmattan new_ (~new@78.98.157.246)
14:04.08*** join/#harmattan CreamyG31337 (~Lance@d66-222-221-16.abhsia.telus.net)
14:12.18*** join/#harmattan DocScrutinizer05 (~HaleBopp@openmoko/engineers/joerg)
14:12.31*** join/#harmattan DocScrutinizer (~halley@openmoko/engineers/joerg)
14:17.11jonniCorsac: hmm, thats the difference with google calendars and 3rd party google calendars?
14:17.37*** join/#harmattan nid0 (nidO@dsl-fixed-94-30-53-17.interdsl.co.uk)
14:17.41jonniheh, maybe I have to google the answer :)
14:20.59*** join/#harmattan e-yes (~e-yes@94.45.187.222)
14:22.24*** join/#harmattan lordross (~lordross@aurora.izrod.com)
14:23.19Corsacjonni: I'm not sure it's the right term
14:23.28Corsacbut basically some people publish those calendars on the web
14:23.40Corsacis it possible to subscribe to them when I have no google account?
14:24.27jonniyou need to have google account in order to sync, but multiple cals should work just fine
14:24.47Corsacok, so that won't work
14:24.57Corsacand any way to add a link to an ics file?
14:27.15jonnisdk has example of calendar demo that can import ics files, but if you mean web browser, then most likely it doesnt have mime handler by default, but you can ofcourse make custom imported and install mime handler yourself.
14:27.40*** join/#harmattan EbonyBlack (~lpapp@s143-243.psd.vodafone.ie)
14:28.22Corsacwhat do you mean?
14:29.06jonniwhere do you want to add the link to an ics file, in your toilets wall with qr code?
14:29.29CorsacI already have an ics link, I want to put that in my calendar
14:29.48jonniusing commandline?
14:30.02CorsacI don't really care
14:30.08Corsacbut I'd like it to be kept updated
14:30.14CorsacI just tried from the browser
14:30.23Corsacit'll download the ics, then you can import it to your calendar
14:30.29Corsacbut that won't really help
14:31.26jonniCorsac: http://harmattan-dev.nokia.com/docs/library/html/qtmobility/calendardemo-src-calendardemo-cpp.html, just make some crontab/wget script, that polls the file and imports it every hour or something. But in reality its just easier if you make google account and sync it there.
14:32.05CorsacI'll rather take that as “it's not possible” :)
14:32.34jonniits only software so everything is possible :)
14:34.46jonnioh and if you want to use 3rd party apps, then you can use SyncEvolution, I think that has option for random .ics url, and you get full automatic sync
14:36.07CorsacI already use syncevolution to sync with evolution on my laptop
14:37.02*** join/#harmattan vladest (~Vlad@2-219-133-95.pool.ukrtel.net)
14:41.04*** join/#harmattan rashm2k (~rm@5e060d7a.bb.sky.com)
14:42.31*** join/#harmattan GAN950 (~ryan@Maemo/community/contributor/GeneralAntilles)
14:42.38djszapi___ieatlint: sup, might to California soon.
14:42.42djszapi___go*
14:43.59*** join/#harmattan decibyte (~mmm@gateway/tor-sasl/decibyte)
14:58.24pago or move? :)
14:59.28djszapi___visit
15:00.34pais there a way to make it so that a "Page" is always opened with  showStatusBar: false, without having to set it when the parent pushes it on the stack?
15:01.25pafor example, if i have Page a which is Page { ... showStatusBar: true ... }, and page b that is Page { ... showstatusbar: false ... }
15:01.49padoes it work like every time i push b, the status bar disappear, and when i pop it, it reappears?
15:02.05*** join/#harmattan Venemo_N9 (~venemo@fedora/Venemo)
15:02.18paor do i have to do it by hand before/after i push/pop?
15:02.40pa(at the moment im doing by hand)
15:03.11djszapi___unsure what you mean ...
15:04.25djszapi___http://harmattan-dev.nokia.com/docs/library/html/qt-components/qt-components-meego-pagestackwindow.html#showStatusBar-prop
15:05.08djszapi___when you push a page, it is a different page
15:05.11djszapi___it has nothing to do with the previous
15:05.22djszapi___so ... means, if you push a page, you will have stuff as it is set
15:05.34djszapi___and when you pop, you will get the next page in the stack ...
15:05.52djszapi___so ... it ought to work without any explicit setttings ...
15:06.29djszapi___but, the statusbar is a different thing
15:06.37paso every time i go back and forth, it+s always a new page of the same type?
15:06.39*** join/#harmattan Enforcer (David@203-206-166-147.perm.iinet.net.au)
15:06.54palike back and forth between 2 pages
15:07.59djszapi___cuz the status bar is application wise thingie
15:08.08djszapi___PSW, to be precise ...
15:08.09djszapi___means ...
15:08.17djszapi___you cannot set it per page differently ...
15:08.23djszapi___once, it is set, it is always like that ...
15:08.42djszapi___so yes, you do need to set explicitely if you would like to get the global setting different for each page ...
15:16.17*** join/#harmattan Enforcer (David@203-206-166-147.perm.iinet.net.au)
15:17.05jonnihttp://www.youtube.com/watch?v=9ntPxdWAWq8
15:19.56*** join/#harmattan shanttu (~wircer@dsl-hkibrasgw3-ff55c100-11.dhcp.inet.fi)
15:30.55paso, let put the case we have a page, a, that has to be shown with the toolbar, and a page, b, that has to be shown without, and from both a and b there is a button to go to c, that has to be shown with the toolbar.
15:31.39pawhen we press the button back from c, how can we check if we should show the toolbar or not, depending on what we are popping?
15:37.06*** join/#harmattan heymaster-laptop (~heymaster@78.61.212.188)
15:48.38pamaybe  by just checking "currentPage" after having called pop(), and looking, e.g., for a property that tells what to do?
15:51.57djszapi___why are you making his complex?
15:52.01djszapi___this*
15:55.50djszapi___1) There is a currentPage page
15:56.08djszapi___2) You can always store and restore the previous status
15:57.54djszapi___s/page/property/
15:59.40*** join/#harmattan phako_ (~phako@www.webstreams.de)
16:39.30*** join/#harmattan infobot (~infobot@rikers.org)
16:39.30*** topic/#harmattan is A place for harmattan device and development discussions | Customers help customers on #N9 | Please stay on topic and no NDA stuff here | Developers : http://library.developer.nokia.com/ | http://wiki.meego.com/N950_landing_page | logs: http://mg.pov.lt/harmattan-irclog/ | ~aegis-no-thanks | LATEST ~update | http://www.engadget.com/2012/06/14/nokia-reportedly-scraps-meltemi/
16:39.30*** mode/#harmattan [+v infobot] by ChanServ
16:55.21*** join/#harmattan Venemo_N9 (~venemo@fedora/Venemo)
17:07.45*** join/#harmattan rashm2k (~rm@5e060d7a.bb.sky.com)
17:13.16itsnotabigtruck'sup
17:17.46djszapi___nmu
17:23.58*** join/#harmattan Venemo_N9 (~venemo@fedora/Venemo)
17:42.16*** join/#harmattan tomma_ (~tomma@a91-153-219-149.elisa-laajakaista.fi)
17:43.04*** join/#harmattan Viltzu_ (viltzu@xob.kapsi.fi)
17:45.33*** join/#harmattan niwakame|away_ (hashtag@ircbouncer.eu)
17:48.49*** join/#harmattan PaulePanter (~paul@mail.gw90.de)
17:49.22*** join/#harmattan mankeli (pretty@hatemachine.electrontu.be)
17:56.09*** join/#harmattan ajalkane (~ajalkane@a88-115-212-112.elisa-laajakaista.fi)
17:57.53*** join/#harmattan mike7b4_n9nemo (~mike7b4_n@h-92-6.a193.priv.bahnhof.se)
18:07.49*** join/#harmattan tbf_ (~mathias@p5B3D41A0.dip.t-dialin.net)
18:10.39*** join/#harmattan PTapioK (ptapiok@viuhka.fi)
18:10.39*** join/#harmattan mankeli (pretty@hatemachine.electrontu.be)
18:10.39*** join/#harmattan _xnt14 (~xnt14@xceleo.us)
18:10.39*** join/#harmattan xmlich02 (~imlich@2001:67c:1220:80c:1:317f:3611:ac2f)
18:10.39*** join/#harmattan merlin1991 (~merlin@Maemo/community/cssu/merlin1991)
18:12.44*** join/#harmattan virtuald (virr@forskningsavd.se)
18:12.45*** join/#harmattan virtuald (virr@unaffiliated/virtuald)
18:15.30*** join/#harmattan Venemo_N9 (~venemo@fedora/Venemo)
18:16.01*** join/#harmattan GeorgeH (~George@c-69-141-105-145.hsd1.nj.comcast.net)
18:17.46*** join/#harmattan beford (~beford@unaffiliated/beford)
18:24.52*** join/#harmattan piggz (~piggz@host-92-18-223-77.as13285.net)
18:31.34*** join/#harmattan lordross (~lordross@aurora.izrod.com)
18:43.13*** join/#harmattan robertjw (~penguinis@tn-76-7-163-57.sta.embarqhsd.net)
18:51.49*** join/#harmattan clau (~clau@mordor.getodata.ro)
18:54.03*** join/#harmattan CreamyG31337 (~Lance@d66-222-221-16.abhsia.telus.net)
18:57.43*** join/#harmattan gabriel9 (~gabriel9@4-206-23-217-bl.cable.dyn.broadband.blic.net)
18:58.09*** join/#harmattan CreamyG31337 (~Lance@d66-222-221-16.abhsia.telus.net)
19:00.45*** join/#harmattan lordross (~lordross@aurora.izrod.com)
19:03.48*** join/#harmattan ajalkane (~ajalkane@a88-115-212-112.elisa-laajakaista.fi)
19:07.54*** join/#harmattan buser (~test@c-0dc2e455.017-474-6c6b701.cust.bredbandsbolaget.se)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.