CSV::CSV () { pluginName = "CSV"; delim = ','; helpFile = "csv.html"; cancelFlag = FALSE; reloadTimer = new QTimer(this); connect(reloadTimer, SIGNAL(timeout()), SLOT(parse())); config.getData(Config::QuotePluginStorage, ruleDir); ruleDir.append("/CSV"); QDir dir; if (! dir.exists(ruleDir)) { if (! dir.mkdir(ruleDir, TRUE)) qDebug("CSVDialog::could not create storage directory %s", ruleDir.latin1()); } createMainPage(); setOkButton(); setCancelButton(); setHelpButton(); QObject::connect(this, SIGNAL(helpButtonPressed()), this, SLOT(help())); loadSettings(); updateRules(); resize(640, 480); }
void KPrWebPresentationCreateDialog::start() { setCursor( waitCursor ); initCreation(); createSlidesPictures(); createSlidesHTML(); createMainPage(); setCursor( arrowCursor ); bDone->setEnabled( true ); bSave->setEnabled( true ); }