<commit_before>/***************************************************************************
*   Copyright © 2005 <NAME> <<EMAIL>>                 *
*                                                                         *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or     *
*   (at your option) any later version.                                   *
***************************************************************************/

#ifndef EDITRATINGDIALOG_H
#define EDITRATINGDIALOG_H

#include <kdialog.h>
#include <QVBoxLayout>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <kvbox.h>

class KHBox;
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QLabel;
class KComboBox;
class QPushButton;
class Q3ListViewItem;
class Q3TextEdit;
class KLineEdit;
class KRatingWidget;

class Rating;
class RatingCriteria;
class ElementList;
class RatingCriteriaListView;

class EditRatingDialog : public KDialog
{
Q_OBJECT

public:
	EditRatingDialog( const ElementList &criteriaList, const Rating &, QWidget* parent = 0, const char* name = 0 );
	EditRatingDialog( const ElementList &criteriaList, QWidget* parent = 0, const char* name = 0 );
	~EditRatingDialog();

	QLabel* criteriaLabel;
	KComboBox* criteriaComboBox;
	QLabel* starsLabel;
	KRatingWidget *starsWidget;
	QPushButton* addButton;
	QPushButton* removeButton;
	RatingCriteriaListView* criteriaListView;
	QLabel* commentsLabel;
	Q3TextEdit* commentsEdit;
	QLabel* raterLabel;
	KLineEdit* raterEdit;

	Rating rating() const;
<commit_msg>Fix Krazy warnings: explicit - EditRatingDialog<commit_after>/***************************************************************************
*   Copyright © 2005 <NAME> <<EMAIL>>                 *
*                                                                         *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or     *
*   (at your option) any later version.                                   *
***************************************************************************/

#ifndef EDITRATINGDIALOG_H
#define EDITRATINGDIALOG_H

#include <kdialog.h>
#include <QVBoxLayout>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QLabel>
#include <kvbox.h>

class KHBox;
class QVBoxLayout;
class QHBoxLayout;
class QGridLayout;
class QLabel;
class KComboBox;
class QPushButton;
class Q3ListViewItem;
class Q3TextEdit;
class KLineEdit;
class KRatingWidget;

class Rating;
class RatingCriteria;
class ElementList;
class RatingCriteriaListView;

class EditRatingDialog : public KDialog
{
Q_OBJECT

public:
	explicit EditRatingDialog( const ElementList &criteriaList, const Rating &, QWidget* parent = 0, const char* name = 0 );
	explicit EditRatingDialog( const ElementList &criteriaList, QWidget* parent = 0, const char* name = 0 );
	~EditRatingDialog();

	QLabel* criteriaLabel;
	KComboBox* criteriaComboBox;
	QLabel* starsLabel;
	KRatingWidget *starsWidget;
	QPushButton* addButton;
	QPushButton* removeButton;
	RatingCriteriaListView* criteriaListView;
	QLabel* commentsLabel;
	Q3TextEdit* commentsEdit;
	QLabel* raterLabel;
	KLineEdit* raterEdit;

	Rating rating() const;

{'fraction_non_alphanumeric': 0.1582608695652174, 'fraction_numerical': 0.006956521739130435, 'mean_word_length': 4.0379562043795625, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '100677', 'n_tokens_mistral': 1009, 'n_tokens_neox': 937, 'n_words': 304}