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

korganizer

  • sources
  • kde-4.12
  • kdepim
  • korganizer
searchdialog.h
Go to the documentation of this file.
1 /*
2  This file is part of KOrganizer.
3 
4  Copyright (c) 1998 Preston Brown <pbrown@kde.org>
5  Copyright (c) 2000,2001 Cornelius Schumacher <schumacher@kde.org>
6  Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
7 
8  This program is free software; you can redistribute it and/or modify
9  it under the terms of the GNU General Public License as published by
10  the Free Software Foundation; either version 2 of the License, or
11  (at your option) any later version.
12 
13  This program is distributed in the hope that it will be useful,
14  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  GNU General Public License for more details.
17 
18  You should have received a copy of the GNU General Public License along
19  with this program; if not, write to the Free Software Foundation, Inc.,
20  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 
22  As a special exception, permission is given to link this program
23  with any edition of Qt, and distribute the resulting executable,
24  without including the source code for Qt in the source distribution.
25 */
26 
27 #ifndef KORG_SEARCHDIALOG_H
28 #define KORG_SEARCHDIALOG_H
29 
30 #include <KDialog>
31 
32 class CalendarView;
33 
34 namespace Ui {
35  class SearchDialog;
36 }
37 
38 namespace EventViews {
39  class ListView;
40 }
41 
42 namespace Akonadi {
43  class Item;
44 }
45 
46 namespace KCalCore {
47  class Incidence;
48 }
49 
50 class SearchDialog : public KDialog
51 {
52  Q_OBJECT
53 
54  public:
55  explicit SearchDialog( CalendarView *calendarview );
56  virtual ~SearchDialog();
57 
58  void updateView();
59 
60  public slots:
61  void changeIncidenceDisplay( KCalCore::Incidence *, int )
62  {
63  updateView();
64  }
65 
66  protected slots:
67  void doSearch();
68  void searchTextChanged( const QString &_text );
69 
70  signals:
71  void showIncidenceSignal( const Akonadi::Item & );
72  void editIncidenceSignal( const Akonadi::Item & );
73  void deleteIncidenceSignal( const Akonadi::Item & );
74 
75  protected:
76  /*reimp*/
77  virtual void showEvent( QShowEvent *event );
78  private:
79  void search( const QRegExp & );
80  void readConfig();
81  void writeConfig();
82 
83  Ui::SearchDialog *m_ui;
84  CalendarView *m_calendarview; // parent
85  QList<Akonadi::Item> mMatchedEvents;
86  EventViews::ListView *listView;
87 };
88 
89 #endif
SearchDialog::showIncidenceSignal
void showIncidenceSignal(const Akonadi::Item &)
SearchDialog::~SearchDialog
virtual ~SearchDialog()
Definition: searchdialog.cpp:92
KDialog
SearchDialog::editIncidenceSignal
void editIncidenceSignal(const Akonadi::Item &)
CalendarView
This is the main calendar widget.
Definition: calendarview.h:99
SearchDialog::deleteIncidenceSignal
void deleteIncidenceSignal(const Akonadi::Item &)
SearchDialog::SearchDialog
SearchDialog(CalendarView *calendarview)
Definition: searchdialog.cpp:44
SearchDialog::searchTextChanged
void searchTextChanged(const QString &_text)
Definition: searchdialog.cpp:103
SearchDialog::doSearch
void doSearch()
Definition: searchdialog.cpp:108
SearchDialog::showEvent
virtual void showEvent(QShowEvent *event)
Definition: searchdialog.cpp:97
SearchDialog::changeIncidenceDisplay
void changeIncidenceDisplay(KCalCore::Incidence *, int)
Definition: searchdialog.h:61
SearchDialog::updateView
void updateView()
Definition: searchdialog.cpp:137
SearchDialog
Definition: searchdialog.h:50
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:19 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

korganizer

Skip menu "korganizer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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