"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/editdlg.h" between
kpl-4.1.tar.gz and kpl-5.0.tar.gz

About: Kpl is a KDE program for two- and three-dimensional graphical presentation (plots) of data sets and functions. Multidimensional nonlinear parameter and general linear least square parameter fits can be performed.

editdlg.h  (kpl-4.1):editdlg.h  (kpl-5.0)
/*************************************************************************** /***************************************************************************
editdlg.h - description editdlg.h - description
------------------- -------------------
begin : Tue Jul 24 2001 begin : Tue Jul 24 2001
copyright : (C) 2015 by Werner Stille copyright : (C) 2017 by Werner Stille
email : stille@uni-freiburg.de email : kpl@werner-stille.de
***************************************************************************/ ***************************************************************************/
/*************************************************************************** /***************************************************************************
* * * *
* This program is free software; you can redistribute it and/or modify * * 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 * * it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or * * the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. * * (at your option) any later version. *
* * * *
***************************************************************************/ ***************************************************************************/
#ifndef EDITDLG_H #ifndef EDITDLG_H
#define EDITDLG_H #define EDITDLG_H
#include <KDialog> #include <QDialog>
class QDialogButtonBox;
class QString; class QString;
class QTextEdit; class QTextEdit;
/** /**
* Edit dialog class. Simple text editor based on QTextEdit. * Edit dialog class. Simple text editor based on QTextEdit.
* @author Werner Stille * @author Werner Stille
*/ */
class EditDlg : public KDialog class EditDlg : public QDialog
{ {
Q_OBJECT Q_OBJECT
public: public:
/** /**
* Constructor. * Constructor.
* @param parent parent widget. * @param parent parent widget.
* @param s initial text. * @param s initial text.
* @param ts tab stop width. * @param ts tab stop width.
*/ */
EditDlg(QWidget* parent, QString* s, int ts = 0); EditDlg(QWidget* parent, QString* s, int ts = 0);
/** Destructor. */ /** Destructor. */
~EditDlg(); ~EditDlg();
protected: protected:
QString* s; QString* s;
QTextEdit* edit; QTextEdit* edit;
QDialogButtonBox* buttonBox;
signals:
/** Emitted when the Apply button was pressed. */
void applyClicked();
protected slots: protected slots:
/** Reimplemented from KDialog. */ /**
virtual void slotButtonClicked(int button); * Handles button clicks.
* @param button pointer to button.
*/
virtual void slotButtonClicked(QAbstractButton* button);
/** Enables buttons. */ /** Enables buttons. */
void slotEdited(); void slotEdited();
}; };
#endif #endif
 End of changes. 6 change blocks. 
6 lines changed or deleted 15 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS