p.s. There is no point really in doing this until the user (applet)
requests a data source:

    /* Konqueror */
    m_konquerorBookmarkManager = KBookmarkManager::userBookmarksManager();

    /* Firefox 3 */
    m_firefoxDbDir = QDir(KStandardDirs::locateLocal("cache", "") +
"bookmarkrunner/firefox3/");
    if (!m_firefoxDbDir.exists())
    {
        m_firefoxDbDir.mkpath(m_firefoxDbDir.path());
    }

    /* Opera */
    m_operaBookmarksAdr.setFileName(QDir::homePath() + "/.opera/bookmarks.adr");


And (IMO) the mkpath shouldn't really be there - if you're providing
just a data retrieval engine, it shouldn't change the local
filesystem.


Cheerio,
Ivan

--
While you were hanging yourself on someone else's words
Dying to believe in what you heard
I was staring straight into the shining sun
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to