• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • pim API Reference
  • KDE Home
  • Contact Us
 

kmail/src

  • kde-4.x
  • pim
  • kmail
  • src
  • searchdialog
incompleteindexdialog.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2016 Klarälvdalens Datakonsult AB, a KDAB Group company <[email protected]>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  *
18  */
19 
20 #ifndef INCOMPLETEINDEXDIALOG_H
21 #define INCOMPLETEINDEXDIALOG_H
22 
23 #include <QDialog>
24 #include <QList>
25 
26 class QProgressDialog;
27 class QDBusInterface;
28 
29 class Ui_IncompleteIndexDialog;
30 class IncompleteIndexDialog : public QDialog
31 {
32  Q_OBJECT
33 
34 public:
35  explicit IncompleteIndexDialog(const QVector<qint64> &unindexedCollections, QWidget *parent = nullptr);
36  ~IncompleteIndexDialog();
37 
38 private Q_SLOTS:
39 
40  void slotCurrentlyIndexingCollectionChanged(qlonglong colId);
41 
42 private:
43  void selectAll();
44  void unselectAll();
45  void slotStopIndexing();
46  void readConfig();
47  void writeConfig();
48  Q_REQUIRED_RESULT QList<qlonglong> collectionsToReindex() const;
49  void waitForIndexer();
50  void updateAllSelection(bool select);
51 
52  QScopedPointer<Ui_IncompleteIndexDialog> mUi;
53  QProgressDialog *mProgressDialog = nullptr;
54  QDBusInterface *mIndexer = nullptr;
55  QList<qlonglong> mIndexingQueue;
56 };
57 
58 #endif
QWidget
IncompleteIndexDialog::~IncompleteIndexDialog
~IncompleteIndexDialog()
Definition: incompleteindexdialog.cpp:149
IncompleteIndexDialog::IncompleteIndexDialog
IncompleteIndexDialog(const QVector< qint64 > &unindexedCollections, QWidget *parent=nullptr)
Definition: incompleteindexdialog.cpp:112
QScopedPointer< Ui_IncompleteIndexDialog >
QList< qlonglong >
QDBusInterface
QVector
QDialog
QObject::parent
QObject * parent() const
QProgressDialog
IncompleteIndexDialog
Definition: incompleteindexdialog.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 02:30:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail/src

Skip menu "kmail/src"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

pim API Reference

Skip menu "pim API Reference"
  • akonadi-calendar-tools
  •   konsolekalendar
  • akregator
  •   src
  • kalarmcal
  •   src
  •     lib
  • kdepim-runtime
  •   agents
  •   src
  • kleopatra
  •   src
  • kmailtransport
  • knotes
  • kontact
  • kontactinterface
  • kpimtextedit
  • ksmtp
  • ktnef
  • libkgapi
  • libkleo
  •   src
  •     src
  •     src

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal