void OperationsManager::slotNewFolder(void)
{
    createFolderDialog = new CreateFolderDialog(SDriveEngine::inst()->getParent());

    connect(createFolderDialog, SIGNAL(signalAccept(const QString&)), this, SLOT(slotAcceptCreateFolder(const QString&)));
    connect(createFolderDialog, SIGNAL(signalReject()), this, SLOT(slotRejectCreateFolder()));
    connect(createFolderDialog, SIGNAL(signalFinished(int)), this, SLOT(slotFinishedCreateFolder(int)));

    createFolderDialog->setNameLabel(tr("New folder name:"));
    createFolderDialog->exec();
}
Example #2
0
EWAHTMLSelector::EWAHTMLSelector( QWidget *pParent )
    :QWidget( pParent )
{
    m_pDlg = new EWAHtmlSelectorDlg( this );
    connect(  m_pDlg, SIGNAL( signalOk() ),
              this, SIGNAL ( signalAccepted() ) );
    connect(  m_pDlg, SIGNAL( signalCancel() ),
              this, SIGNAL ( signalReject() ) );

    m_webViewPtr = 0;
    m_messagePtr = 0;

    m_bkgndPen = QPen( Qt::gray );
    m_markerPen = QPen( Qt::yellow );

    setMouseTracking( true );
}
void SM_CreateFolderDialog::slotReject()
{
    emit signalReject();
}