Re: Firefox Bookmark runner

2009-11-12 Thread Aaron J. Seigo
On November 12, 2009, Marco Martin wrote: > -the nepomuk runner excludes bookmarks, or that really seems to me to be the most sensible thing to do. a "nepomuk runner" shouldn't return every imaginable thing stored in nepomuk, but should probably be focused by topic, much like every other runner

Re: Firefox Bookmark runner

2009-11-12 Thread Marco Martin
On Thursday 12 November 2009, Eduardo Robles Elvira wrote: > On Mon, Nov 2, 2009 at 9:50 PM, Aaron J. Seigo wrote: > > On November 2, 2009, Eduardo Robles Elvira wrote: > >> http://github.com/edulix/gsoc/blob/master/kdebase-bookmarks.patch, > >> take a look only at the workspace/plasma part of it)

Re: Firefox Bookmark runner

2009-11-12 Thread Eduardo Robles Elvira
On Mon, Nov 2, 2009 at 9:50 PM, Aaron J. Seigo wrote: > On November 2, 2009, Eduardo Robles Elvira wrote: >> http://github.com/edulix/gsoc/blob/master/kdebase-bookmarks.patch, >> take a look only at the workspace/plasma part of it). In case this new >> bookmarks system ships in, I don't know if mi

Re: Firefox Bookmark runner

2009-11-04 Thread Aaron J. Seigo
On November 4, 2009, Qwerty Maniac wrote: > kreadconfig --file kdeglobals --group General --key BrowserApplication yes, that works on the command line; in c++: KConfigGroup generalGroup(KGlobal::config(), "General"); const QString browser = generalGroup.readEntry("BrowserApplication", QString())

Re: Firefox Bookmark runner

2009-11-04 Thread Qwerty Maniac
On Thu, Nov 5, 2009 at 1:21 AM, Jan Gerrit Marker wrote: > Hello, > The next questions: > 1) Where should I copy Firefox's database file? I think somewhere to a cache > directory, but I haven't got any idea, how to get a filepath or how to do this > exactly. > 2) How do I get the default browser?

Re: Firefox Bookmark runner

2009-11-04 Thread Aaron J. Seigo
On November 4, 2009, Jan Gerrit Marker wrote: > 1) Where should I copy Firefox's database file? I think somewhere to a > cache directory, but I haven't got any idea, how to get a filepath or how > to do this exactly. KGlobal::dirs()->locateLocale("cache", filename); or you could use a KTempFile

Re: Firefox Bookmark runner

2009-11-04 Thread Jan Gerrit Marker
Hello, The next questions: 1) Where should I copy Firefox's database file? I think somewhere to a cache directory, but I haven't got any idea, how to get a filepath or how to do this exactly. 2) How do I get the default browser? Thanks, Jan ___ Plasma-

Re: Firefox Bookmark runner

2009-11-03 Thread Jan Gerrit Marker
Am Dienstag 03 November 2009 21:12:23 schrieb Aaron J. Seigo: > On November 3, 2009, Jan Gerrit Marker wrote: > > Am Montag 02 November 2009 14:48:27 schrieb Sebastian Kügler: > > > If you've questions, you can just ask here > > > > And asking starts... > > Should the runner get the browser in the

Re: Firefox Bookmark runner

2009-11-03 Thread Aaron J. Seigo
On November 3, 2009, Jan Gerrit Marker wrote: > Ok, damn, I didn't think of that :( sorry > Thanks for the answer :) np, it's exactly why we have a mailing list and a whole bunch of crazy and/or smart people on it right? :) looking forward to seeing the bookmark runner kicking it up a notch in 4

Re: Firefox Bookmark runner

2009-11-03 Thread Jan Gerrit Marker
Am Montag 02 November 2009 14:48:27 schrieb Sebastian Kügler: > If you've questions, you can just ask here And asking starts... Should the runner get the browser in the constructor or the match() method? Some information about it: I store the QSqlDatabase in a variable m_db because this way I check

Re: Firefox Bookmark runner

2009-11-03 Thread Aaron J. Seigo
On November 3, 2009, Jan Gerrit Marker wrote: > Am Montag 02 November 2009 14:48:27 schrieb Sebastian Kügler: > > If you've questions, you can just ask here > > And asking starts... > Should the runner get the browser in the constructor or the match() method? in a slot connected to prepare() --

Re: Firefox Bookmark runner

2009-11-02 Thread Aaron J. Seigo
On November 2, 2009, Eduardo Robles Elvira wrote: > http://github.com/edulix/gsoc/blob/master/kdebase-bookmarks.patch, > take a look only at the workspace/plasma part of it). In case this new > bookmarks system ships in, I don't know if mixing the firefox and > konqueror bookmarks in nepomuk runner

Re: Firefox Bookmark runner

2009-11-02 Thread Sebastian Kügler
On Monday 02 November 2009 13:53:35 Sebastian Kügler wrote: > On Monday 02 November 2009 13:24:03 Jan Gerrit Marker wrote: > > Am Montag 02 November 2009 10:24:05 schrieb Marco Martin: > > > hmm, not sure if having something installed by default specific for > > > firefox would be a soo good idea,

Re: Firefox Bookmark runner

2009-11-02 Thread Will Stephenson
On Monday 02 November 2009 15:53:24 Eduardo Robles Elvira wrote: > BTW, I'm working on the new konqueror bookmarks system. I'm not sure > if it will be finally in KDE 4.4 because it still needs some work. In > this bookmarks system, bookmarks are going to be stored in Nepomuk. > Hence, I have a pat

Re: Firefox Bookmark runner

2009-11-02 Thread Sebastian Kügler
On Monday 02 November 2009 15:02:30 Jan Gerrit Marker wrote: > Am Montag 02 November 2009 14:48:27 schrieb Sebastian Kügler: > > No problem. You can just make the changes to the runner (and possibly > > give it a more generic name). If you got it working, post the patch to > > reviewboard. Assuming

Re: Firefox Bookmark runner

2009-11-02 Thread Eduardo Robles Elvira
On Mon, Nov 2, 2009 at 3:02 PM, Jan Gerrit Marker wrote: > Am Montag 02 November 2009 14:48:27 schrieb Sebastian Kügler: >> No problem. You can just make the changes to the runner (and possibly give >>  it a more generic name). If you got it working, post the patch to >>  reviewboard. Assuming it'

Re: Firefox Bookmark runner

2009-11-02 Thread Jan Gerrit Marker
Am Montag 02 November 2009 14:48:27 schrieb Sebastian Kügler: > No problem. You can just make the changes to the runner (and possibly give > it a more generic name). If you got it working, post the patch to > reviewboard. Assuming it's OK, we'll merge it. I think the right runner is this one: KDE

Re: Firefox Bookmark runner

2009-11-02 Thread Sebastian Kügler
On Monday 02 November 2009 14:05:39 Jan Gerrit Marker wrote: > Am Montag 02 November 2009 13:53:35 schrieb Sebastian Kügler: > > > You could have two methods: > > > QList firefoxBookmarks(QString& term); > > > QList konquerorBookmarks(QString& term); > > > > > > The match Method tests if Firefox or

Re: Firefox Bookmark runner

2009-11-02 Thread Jan Gerrit Marker
Am Montag 02 November 2009 13:53:35 schrieb Sebastian Kügler: > > You could have two methods: > > QList firefoxBookmarks(QString& term); > > QList konquerorBookmarks(QString& term); > > > > The match Method tests if Firefox or Konqueror should be asked for > > bookmark information and runs the me

Re: Firefox Bookmark runner

2009-11-02 Thread Sebastian Kügler
On Monday 02 November 2009 13:24:03 Jan Gerrit Marker wrote: > Am Montag 02 November 2009 10:24:05 schrieb Marco Martin: > > hmm, not sure if having something installed by default specific for > > firefox would be a soo good idea, what would be cool is having a single > > bookmark runner that would

Re: Firefox Bookmark runner

2009-11-02 Thread Jan Gerrit Marker
Am Montag 02 November 2009 12:06:29 schrieb Sebastian Kügler: > On Monday 02 November 2009 11:38:57 Will Stephenson wrote: > > On Sunday 01 November 2009 22:49:04 Eduardo Robles Elvira wrote: > > > I have some questions about the runner. It seems to access to firefox > > > places sqlite database. W

Re: Firefox Bookmark runner

2009-11-02 Thread Jan Gerrit Marker
Am Montag 02 November 2009 10:24:05 schrieb Marco Martin: > hmm, not sure if having something installed by default specific for firefox > would be a soo good idea, what would be cool is having a single bookmark > runner that would search in firefox if it's the default browser otherwise > in konque

Re: Firefox Bookmark runner

2009-11-02 Thread Sebastian Kügler
On Monday 02 November 2009 11:38:57 Will Stephenson wrote: > On Sunday 01 November 2009 22:49:04 Eduardo Robles Elvira wrote: > > I have some questions about the runner. It seems to access to firefox > > places sqlite database. What happens if (much likely if you use this > > runner) firefox is run

Re: Firefox Bookmark runner

2009-11-02 Thread Will Stephenson
On Sunday 01 November 2009 22:49:04 Eduardo Robles Elvira wrote: > I have some questions about the runner. It seems to access to firefox > places sqlite database. What happens if (much likely if you use this > runner) firefox is running and thus also connected to the sqlite > database, can't the da

Re: Firefox Bookmark runner

2009-11-02 Thread Marco Martin
On Sunday 01 November 2009, Jan Gerrit Marker wrote: > Hello, > today I moved a runner called "Firefox Bookmarks" to playground. This > runner allows you to search through the bookmarks of the default Firefox > profile. In order to get enough time to add it to KDE 4.4 I want to add it > to the f

Re: Firefox Bookmark runner

2009-11-01 Thread Eduardo Robles Elvira
On Sun, Nov 1, 2009 at 11:33 AM, Jan Gerrit Marker wrote: > Hello, > today I moved a runner called "Firefox Bookmarks" to playground. This runner > allows you to search through the bookmarks of the default Firefox profile. In > order to get enough time to add it to KDE 4.4 I want to add it to the

Firefox Bookmark runner

2009-11-01 Thread Jan Gerrit Marker
Hello, today I moved a runner called "Firefox Bookmarks" to playground. This runner allows you to search through the bookmarks of the default Firefox profile. In order to get enough time to add it to KDE 4.4 I want to add it to the feature plan. Is the runner ok? Is it ok, if I add it to the fea