QString timestamp = now.toString(QLatin1String("yyyyMMdd-hhmmsszzz")) QDateTime now = QDateTime::currentDateTime() Void MainWindow::on_createMailListBtn_clicked() Maybe there is a way for take my query result paste sent column than delete from unsent column. Please give me an advice because i just tried take mails from databese randomly and write txt file but i thought i have to make a query for all cycle in while(query.next()) I made this but i need to delete mail from unsent mail column and add to sent column for all tables I want to create a maillist txt it takes random mails from the tables how many mail i write the tablewidget next column I seperated tables for countries (Germany, Switzerland, Spain etc.) and show by tablewidget I create a SQLITE database like below and add my maillists reading txt files,ĭb = QSqlDatabase::addDatabase("QSQLITE", "TxtFileDB") ĭb.setDatabaseName(qApp->applicationDirPath() + "/mails.DB")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |