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

kcachegrind

  • sources
  • kde-4.14
  • kdesdk
  • kcachegrind
  • qcachegrind
sourcesettings.h
Go to the documentation of this file.
1 /* This file is part of KCachegrind.
2  Copyright (C) 2009 Josef Weidendorfer <Josef.Weidendorfer@gmx.de>
3 
4  KCachegrind is free software; you can redistribute it and/or
5  modify it under the terms of the GNU General Public
6  License as published by the Free Software Foundation, version 2.
7 
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  General Public License for more details.
12 
13  You should have received a copy of the GNU General Public License
14  along with this program; see the file COPYING. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 /*
20  * Source annotation directory settings config page
21  */
22 
23 #ifndef SOURCESETTINGS_H
24 #define SOURCESETTINGS_H
25 
26 #include "configpage.h"
27 #include "ui_sourcesettings.h"
28 
29 class TraceData;
30 class QTreeWidgetItem;
31 
32 class SourceSettings: public ConfigPage
33 {
34  Q_OBJECT
35 
36 public:
37  SourceSettings(TraceData* data, QWidget* parent);
38  virtual ~SourceSettings() {}
39 
40  bool check(QString&, QString&);
41  void accept();
42  void activate(QString s);
43 
44 public slots:
45  void addClicked();
46  void deleteClicked();
47  void browseClicked();
48  void dirListItemChanged(QTreeWidgetItem*, QTreeWidgetItem*);
49  void objectChanged(QString);
50  void dirEditChanged(QString);
51 
52 private:
53  void update();
54 
55  Ui::SourceSettings ui;
56  QTreeWidgetItem* _current;
57  QString _always;
58 };
59 
60 
61 #endif // SOURCESETTINGS_H
SourceSettings::objectChanged
void objectChanged(QString)
Definition: sourcesettings.cpp:167
QWidget
SourceSettings
Definition: sourcesettings.h:32
SourceSettings::SourceSettings
SourceSettings(TraceData *data, QWidget *parent)
Definition: sourcesettings.cpp:34
SourceSettings::accept
void accept()
Definition: sourcesettings.cpp:194
QString
SourceSettings::~SourceSettings
virtual ~SourceSettings()
Definition: sourcesettings.h:38
SourceSettings::dirListItemChanged
void dirListItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)
Definition: sourcesettings.cpp:160
SourceSettings::activate
void activate(QString s)
Definition: sourcesettings.cpp:102
SourceSettings::browseClicked
void browseClicked()
Definition: sourcesettings.cpp:151
ConfigPage
Definition: configpage.h:30
QTreeWidgetItem
SourceSettings::deleteClicked
void deleteClicked()
Definition: sourcesettings.cpp:137
SourceSettings::dirEditChanged
void dirEditChanged(QString)
Definition: sourcesettings.cpp:174
SourceSettings::check
bool check(QString &, QString &)
Definition: sourcesettings.cpp:181
SourceSettings::addClicked
void addClicked()
Definition: sourcesettings.cpp:128
TraceData
This class holds profiling data of multiple tracefiles generated with cachegrind on one command...
Definition: tracedata.h:1363
configpage.h
QObject::parent
QObject * parent() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:39:50 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kcachegrind

Skip menu "kcachegrind"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • umbrello
  •   umbrello

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