Logo Search packages:      
Sourcecode: kblogger-kde4 version File versions  Download package

KBlogger::MediaList::MediaList ( const QString &  blogname,
Application *  kbloggerParent,
QWidget *  parent = 0 
)

MediaList

Definition at line 161 of file medialist.cpp.

                                       : MediaListWidget(blogname, parent),
        mKblogger(kbloggerParent)
{
    kDebug();

    ItemsManager::self(this)->addInTheWidgetsList(blogname, this);
    mFilename = QString(blogname).prepend(DIR_TO_SAVE_MEDIA);
    load();

    //Connect
    connect(listTree, SIGNAL( itemSelectionChanged () ),
            SLOT( previewItem() ));
    connect(listTree, SIGNAL(  itemDoubleClicked(QTreeWidgetItem*, int ) ),
            SLOT( openSelectedMedia() ));
    connect(listTree, SIGNAL( customContextMenuRequested(const QPoint&) ),
            SLOT( showPopup(const QPoint&) ));
}


Generated by  Doxygen 1.6.0   Back to index