Commit 7fe3f694 authored by Laurent Montel's avatar Laurent Montel 😁

Rename step2

parent 2290d87e
......@@ -18,7 +18,7 @@ set(imapfoldercompletionplugin_SRCS
selectimapfoldermodel.cpp
selectimaplineedit.cpp
selectimaplineeditcompletermodel.cpp
selectimapcreatejob.cpp
selectimapcreatefolderjob.cpp
${sieveeditor_plugin_categories_SRCS}
)
......
......@@ -8,8 +8,8 @@ macro(add_sieveeditorplugin_unittest _source _additional)
target_link_libraries( ${_name} Qt5::Widgets Qt5::Test KF5::IMAP KF5::CoreAddons KF5::KIOCore KF5::I18n KF5::Completion KF5::KIOWidgets KF5::KSieveUi KF5::MailTransport)
endmacro ()
add_sieveeditorplugin_unittest(selectimapfolderdialogtest.cpp "../selectimaplineedit.cpp;../selectimapcreatejob.cpp;../selectimaplineeditcompletermodel.cpp;../selectimapfolderdialog.cpp;../selectimapfolderwidget.cpp;../selectimaploadfoldersjob.cpp;../selectimapfoldermodel.cpp")
add_sieveeditorplugin_unittest(selectimapfolderwidgettest.cpp "../selectimaplineedit.cpp;../selectimapcreatejob.cpp;../selectimaplineeditcompletermodel.cpp;../selectimapfolderwidget.cpp;../selectimaploadfoldersjob.cpp;../selectimapfoldermodel.cpp")
add_sieveeditorplugin_unittest(selectimapwidgettest.cpp "../selectimaplineedit.cpp;../selectimapcreatejob.cpp;../selectimaplineeditcompletermodel.cpp;../selectimapwidget.cpp;../selectimapfolderdialog.cpp;../selectimapfolderwidget.cpp;../selectimaploadfoldersjob.cpp;../selectimapfoldermodel.cpp")
add_sieveeditorplugin_unittest(selectimapfoldermodeltest.cpp "../selectimapfoldermodel.cpp;../selectimaploadfoldersjob.cpp;../selectimapcreatejob.cpp")
add_sieveeditorplugin_unittest(selectimapcreatejobtest.cpp "../selectimapcreatejob.cpp")
add_sieveeditorplugin_unittest(selectimapfolderdialogtest.cpp "../selectimaplineedit.cpp;../selectimapcreatefolderjob.cpp;../selectimaplineeditcompletermodel.cpp;../selectimapfolderdialog.cpp;../selectimapfolderwidget.cpp;../selectimaploadfoldersjob.cpp;../selectimapfoldermodel.cpp")
add_sieveeditorplugin_unittest(selectimapfolderwidgettest.cpp "../selectimaplineedit.cpp;../selectimapcreatefolderjob.cpp;../selectimaplineeditcompletermodel.cpp;../selectimapfolderwidget.cpp;../selectimaploadfoldersjob.cpp;../selectimapfoldermodel.cpp")
add_sieveeditorplugin_unittest(selectimapwidgettest.cpp "../selectimaplineedit.cpp;../selectimapcreatefolderjob.cpp;../selectimaplineeditcompletermodel.cpp;../selectimapwidget.cpp;../selectimapfolderdialog.cpp;../selectimapfolderwidget.cpp;../selectimaploadfoldersjob.cpp;../selectimapfoldermodel.cpp")
add_sieveeditorplugin_unittest(selectimapfoldermodeltest.cpp "../selectimapfoldermodel.cpp;../selectimaploadfoldersjob.cpp;../selectimapcreatefolderjob.cpp")
add_sieveeditorplugin_unittest(selectimapcreatefolderjobtest.cpp "../selectimapcreatefolderjob.cpp")
......@@ -17,7 +17,7 @@
Boston, MA 02110-1301, USA.
*/
#include "selectimapcreatejobtest.h"
#include "selectimapcreatefolderjobtest.h"
#include <QTest>
......
......@@ -17,8 +17,8 @@
Boston, MA 02110-1301, USA.
*/
#ifndef SELECTIMAPCREATEJOBTEST_H
#define SELECTIMAPCREATEJOBTEST_H
#ifndef SELECTIMAPCREATEFOLDERJOBTEST_H
#define SELECTIMAPCREATEFOLDERJOBTEST_H
#include <QObject>
......
......@@ -18,7 +18,7 @@
*/
#include "selectimapcreatejob.h"
#include "selectimapcreatefolderjob.h"
#include <KIMAP/CreateJob>
SelectImapCreateFolderJob::SelectImapCreateFolderJob(QObject *parent)
......@@ -35,6 +35,10 @@ SelectImapCreateFolderJob::~SelectImapCreateFolderJob()
void SelectImapCreateFolderJob::start()
{
if (mSieveImapAccount.isValid() && !mNewFolderName.isEmpty()) {
#if 0
#else
deleteLater();
#endif
//TODO
} else {
Q_EMIT finished(false);
......
......@@ -17,8 +17,8 @@
Boston, MA 02110-1301, USA.
*/
#ifndef SELECTIMAPCREATEJOB_H
#define SELECTIMAPCREATEJOB_H
#ifndef SELECTIMAPCREATEFOLDERJOB_H
#define SELECTIMAPCREATEFOLDERJOB_H
#include <QObject>
#include <KSieveUi/SieveImapAccountSettings>
......
......@@ -20,7 +20,7 @@
#include "selectimapfoldermodel.h"
#include "imapfoldercompletionplugin_debug.h"
#include "selectimaploadfoldersjob.h"
#include "selectimapcreatejob.h"
#include "selectimapcreatefolderjob.h"
#include <QStandardItemModel>
Q_GLOBAL_STATIC(SelectImapFolderModel, s_selectImapFolderModel)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment