LinkResourceDialog::LinkResourceDialog(Nepomuk::Resource resource,QWidget* parent):KDialog(parent)
{
    setWindowTitle(i18n("Resource Link Dialog"));
    setWindowIcon(KIcon("nepomuk"));
    setButtonText(Ok,i18n("&Ok"));
    m_mainResource = resource;
    connect(this,SIGNAL(okClicked()),this,SLOT(slotLinkResources()));
    setUpGui();
}
Beispiel #2
0
RemoveDuplicates::RemoveDuplicates():KDialog()
{
    setWindowTitle(i18n("Remove Duplicates"));
    setWindowIcon(KIcon("nepomuk"));
    setButtons(User1 | Cancel);
    setButtonIcon(User1,KIcon("edit-delete"));
    setButtonText(User1,i18n("&Delete"));
    setMinimumSize(500,500);
    connect(this,SIGNAL(user1Clicked()),this,SLOT(slotDeleteDuplicates()));
    setUpGui();
    loadDuplicates();
}