Esempio n. 1
0
KDXSComments::KDXSComments(QWidget *parent)
        : KDialog(parent)
{
    setCaption(i18n("User comments"));
    setButtons(KDialog::Close);

    m_log = new KTextBrowser(this);
    setMainWidget(m_log);

    connect(m_log, SIGNAL(anchorClicked(QUrl)),
            SLOT(slotUrl(QUrl)));
}
Esempio n. 2
0
void MainWindow::slotGohome()
{
  if(opt.arg_debug) printf("slotGohome\n");
  slotUrl(QString(opt.initialhost));
}