mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
Fix several Qt3 deprecated header inclusion
This commit is contained in:
parent
edde902512
commit
b0d7cce0b7
@ -7,14 +7,14 @@
|
||||
#include "qf_box.h"
|
||||
#include "qf_dialog.h"
|
||||
|
||||
#include <q3button.h>
|
||||
#include <Q3Button>
|
||||
#include <QComboBox>
|
||||
#include <QLineEdit>
|
||||
#include <QCheckBox>
|
||||
#include <QLabel>
|
||||
#include <QValidator>
|
||||
#include <QPushButton>
|
||||
#include <q3buttongroup.h>
|
||||
#include <Q3ButtonGroup>
|
||||
#include <qradiobutton.h>
|
||||
|
||||
// static QButton::ToggleState OrderBoxState = QButton::Off;
|
||||
|
@ -16,7 +16,7 @@
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
#include <typeinfo>
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include <list>
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
#include <QString>
|
||||
|
||||
using namespace std;
|
||||
|
@ -19,7 +19,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include <q3popupmenu.h>
|
||||
#include <Q3PopupMenu>
|
||||
#include <QMenuBar>
|
||||
#include <QLayout>
|
||||
#include <QTabWidget>
|
||||
@ -28,9 +28,9 @@
|
||||
#include <QLabel>
|
||||
#include <QCheckBox>
|
||||
#include <qradiobutton.h>
|
||||
#include <q3buttongroup.h>
|
||||
#include <Q3ButtonGroup>
|
||||
#include <QPushButton>
|
||||
#include <q3hbox.h>
|
||||
#include <Q3HBox>
|
||||
#include <QMessageBox>
|
||||
|
||||
#include "qf_dialog.h"
|
||||
|
@ -22,7 +22,7 @@
|
||||
# define PACKAGE_VERSION "Qf test"
|
||||
# endif
|
||||
|
||||
# include <q3textstream.h>
|
||||
# include <Q3TextStream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
@ -3,10 +3,10 @@
|
||||
#endif
|
||||
|
||||
#include <QBuffer>
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
#include <QObject>
|
||||
#include <QApplication>
|
||||
#include <q3textedit.h>
|
||||
#include <Q3TextEdit>
|
||||
#include <QDir>
|
||||
#include <QTextCodec>
|
||||
#include <QClipboard>
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include "htmldatafetcher.h"
|
||||
#include <QMimeData>
|
||||
#include <q3dragobject.h>
|
||||
#include <Q3DragObject>
|
||||
//Added by qt3to4:
|
||||
#include <Q3TextStream>
|
||||
#include <Q3MimeSourceFactory>
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include <QTextCodec>
|
||||
#include <QTranslator>
|
||||
#include <QFile>
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
#include <QMessageBox>
|
||||
#include <QDir>
|
||||
#include <QFont>
|
||||
|
@ -26,11 +26,11 @@
|
||||
#include <QAction>
|
||||
#include <QPixmap>
|
||||
#include <QFile>
|
||||
#include <q3textstream.h>
|
||||
#include <q3popupmenu.h>
|
||||
#include <Q3TextStream>
|
||||
#include <Q3PopupMenu>
|
||||
#include <QMenuBar>
|
||||
#include <QApplication>
|
||||
#include <q3listview.h>
|
||||
#include <Q3ListView>
|
||||
|
||||
|
||||
|
||||
|
@ -18,8 +18,8 @@
|
||||
#ifndef QUCSHELP_H
|
||||
#define QUCSHELP_H
|
||||
|
||||
#include <q3mainwindow.h>
|
||||
#include <q3textbrowser.h>
|
||||
#include <Q3MainWindow>
|
||||
#include <Q3TextBrowser>
|
||||
#include <QDir>
|
||||
#include <QFont>
|
||||
#include <QStringList>
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <QValidator>
|
||||
#include <QMessageBox>
|
||||
#include <QPushButton>
|
||||
//#include <q3scrollview.h> //-->QAbstractScrollArea and QScrollArea
|
||||
//#include <Q3ScrollView> //-->QAbstractScrollArea and QScrollArea
|
||||
#include <QRadioButton>
|
||||
#include <QButtonGroup>
|
||||
#include <QVBoxLayout>
|
||||
|
@ -19,7 +19,7 @@
|
||||
#include <limits.h>
|
||||
|
||||
#include <QPainter>
|
||||
//#include <q3dragobject.h>
|
||||
//#include <Q3DragObject>
|
||||
//Added by qt3to4:
|
||||
#include <QPaintEvent>
|
||||
#include <QPixmap>
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <QTabWidget>
|
||||
#include <QMessageBox>
|
||||
#include <QDom>
|
||||
#include <q3dict.h>
|
||||
#include <Q3Dict>
|
||||
|
||||
#include "components.h"
|
||||
#include "node.h"
|
||||
|
@ -18,7 +18,7 @@
|
||||
#ifndef COMPONENT_H
|
||||
#define COMPONENT_H
|
||||
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
#include <QPen>
|
||||
#include <QPoint>
|
||||
#include <QWidget>
|
||||
|
@ -19,19 +19,19 @@
|
||||
#include "main.h"
|
||||
#include "qucs.h"
|
||||
//Added by qt3to4:
|
||||
#include <q3button.h>
|
||||
#include <Q3Button>
|
||||
#include <QLabel>
|
||||
#include <Q3GridLayout>
|
||||
#include <Q3VBoxLayout>
|
||||
#include "schematic.h"
|
||||
|
||||
#include <q3hbox.h>
|
||||
#include <q3vbox.h>
|
||||
#include <Q3HBox>
|
||||
#include <Q3VBox>
|
||||
#include <QLayout>
|
||||
#include <q3hgroupbox.h>
|
||||
#include <Q3HGroupBox>
|
||||
#include <QValidator>
|
||||
#include <QTabWidget>
|
||||
#include <q3filedialog.h>
|
||||
#include <Q3FileDialog>
|
||||
|
||||
#include <math.h>
|
||||
|
||||
|
@ -21,13 +21,13 @@
|
||||
#include "component.h"
|
||||
#include <QLabel>
|
||||
#include <QDialog>
|
||||
#include <q3listview.h>
|
||||
#include <Q3ListView>
|
||||
#include <QLineEdit>
|
||||
#include <QCheckBox>
|
||||
#include <QRegExp>
|
||||
#include <QComboBox>
|
||||
#include <QPushButton>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
#include <QDir>
|
||||
//Added by qt3to4:
|
||||
#include <Q3GridLayout>
|
||||
|
@ -17,7 +17,7 @@
|
||||
#include <QtGui>
|
||||
#include <QDir>
|
||||
#include <QFile>
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
#include <QRegExp>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
|
@ -23,13 +23,13 @@
|
||||
#include "opt_sim.h"
|
||||
#include "schematic.h"
|
||||
|
||||
#include <q3hbox.h>
|
||||
#include <Q3HBox>
|
||||
#include <QLabel>
|
||||
#include <QLayout>
|
||||
#include <QCheckBox>
|
||||
#include <QLineEdit>
|
||||
#include <QComboBox>
|
||||
#include <q3listview.h>
|
||||
#include <Q3ListView>
|
||||
#include <QTabWidget>
|
||||
#include <QValidator>
|
||||
#include <QPushButton>
|
||||
|
@ -27,13 +27,13 @@
|
||||
|
||||
#include <QLabel>
|
||||
#include <QLayout>
|
||||
#include <q3hbox.h>
|
||||
#include <q3vbox.h>
|
||||
#include <Q3HBox>
|
||||
#include <Q3VBox>
|
||||
#include <QLineEdit>
|
||||
#include <QValidator>
|
||||
#include <q3filedialog.h>
|
||||
#include <Q3FileDialog>
|
||||
#include <QPushButton>
|
||||
#include <q3listbox.h>
|
||||
#include <Q3ListBox>
|
||||
#include <QCheckBox>
|
||||
#include <QProcess>
|
||||
#include <QMessageBox>
|
||||
|
@ -28,7 +28,7 @@
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
#include <QMessageBox>
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
#include <QFile>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
|
@ -27,7 +27,7 @@
|
||||
#endif
|
||||
#include <locale.h>
|
||||
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
#include <QMessageBox>
|
||||
#include <QRegExp>
|
||||
#include <QDateTime>
|
||||
|
@ -26,25 +26,25 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include <q3vbox.h>
|
||||
#include <Q3VBox>
|
||||
#include <QLayout>
|
||||
//#include <q3hbuttongroup.h>
|
||||
#include <q3buttongroup.h>
|
||||
#include <q3hgroupbox.h>
|
||||
//#include <Q3HButtonGroup>
|
||||
#include <Q3ButtonGroup>
|
||||
#include <Q3HGroupBox>
|
||||
#include <QPushButton>
|
||||
#include <QTabWidget>
|
||||
#include <QLabel>
|
||||
#include <QStringList>
|
||||
#include <QMessageBox>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
#include <QValidator>
|
||||
#include <QColorDialog>
|
||||
#include <QLineEdit>
|
||||
#include <QCheckBox>
|
||||
#include <QSlider>
|
||||
#include <QComboBox>
|
||||
#include <q3listview.h>
|
||||
#include <q3listbox.h>
|
||||
#include <Q3ListView>
|
||||
#include <Q3ListBox>
|
||||
|
||||
|
||||
#define CROSS3D_SIZE 30
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "element.h"
|
||||
|
||||
#include <QColor>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
#include <QDateTime>
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "viewpainter.h"
|
||||
|
||||
#include <QPainter>
|
||||
#include <q3valuelist.h>
|
||||
#include <Q3ValueList>
|
||||
|
||||
class Diagram;
|
||||
class Graph;
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
#include <QLayout>
|
||||
#include <QLabel>
|
||||
#include <q3hbox.h>
|
||||
#include <Q3HBox>
|
||||
#include <QPushButton>
|
||||
#include <QValidator>
|
||||
//Added by qt3to4:
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <QDialog>
|
||||
#include <QRegExp>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
|
||||
#include <QSpinBox>
|
||||
#include <QGridLayout>
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "vtabglobal.h"
|
||||
#include "vtabbutton.h"
|
||||
#include <QWidget>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
//Added by qt3to4:
|
||||
#include <Q3VBoxLayout>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
#include "vtabbeddockwidget.h"
|
||||
#include "vtabwidget.h"
|
||||
#include <QApplication>
|
||||
#include <q3mainwindow.h>
|
||||
#include <Q3MainWindow>
|
||||
|
||||
VTabbedDockWidget::VTabbedDockWidget(Place p, QWidget* parent, const char* name): Q3DockWindow(p, parent, name)
|
||||
{
|
||||
|
@ -21,7 +21,7 @@
|
||||
#define VTABBEDDOCKWIDGET_H
|
||||
|
||||
#include "vtabglobal.h"
|
||||
#include <q3dockwindow.h>
|
||||
#include <Q3DockWindow>
|
||||
|
||||
class VTabWidget;
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include "vtabwidget.h"
|
||||
|
||||
#include <QLayout>
|
||||
#include <q3widgetstack.h>
|
||||
#include <Q3WidgetStack>
|
||||
//Added by qt3to4:
|
||||
#include <Q3HBoxLayout>
|
||||
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include <QTextCodec>
|
||||
#include <QTranslator>
|
||||
#include <QFile>
|
||||
#include <q3textstream.h>
|
||||
#include <Q3TextStream>
|
||||
#include <QMessageBox>
|
||||
#include <QRegExp>
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include <QFont>
|
||||
#include <QColor>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
#include <QStringList>
|
||||
|
||||
#include "wire.h"
|
||||
|
@ -15,7 +15,7 @@
|
||||
* *
|
||||
***************************************************************************/
|
||||
#include <QtGui>
|
||||
#include <q3dict.h>
|
||||
#include <Q3Dict>
|
||||
#include <QString>
|
||||
#include <QStringList>
|
||||
//Added by qt3to4:
|
||||
|
@ -39,7 +39,7 @@
|
||||
#include <QClipboard>
|
||||
#include <QApplication>
|
||||
#include <QMessageBox>
|
||||
#include <q3popupmenu.h>
|
||||
#include <Q3PopupMenu>
|
||||
#include <QEvent>
|
||||
#include <QAction>
|
||||
#include <QTabWidget>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "element.h"
|
||||
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
//Added by qt3to4:
|
||||
#include <QMouseEvent>
|
||||
#include <Q3PopupMenu>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "element.h"
|
||||
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
|
||||
class ViewPainter;
|
||||
class WireLabel;
|
||||
|
@ -7,13 +7,13 @@
|
||||
#include "main.h"
|
||||
|
||||
#include <QSize>
|
||||
#include <q3vbox.h>
|
||||
#include <Q3VBox>
|
||||
#include <QColor>
|
||||
#include <q3accel.h>
|
||||
#include <Q3Accel>
|
||||
#include <QLayout>
|
||||
#include <QLineEdit>
|
||||
#include <q3textedit.h>
|
||||
#include <q3dockwindow.h>
|
||||
#include <Q3TextEdit>
|
||||
#include <Q3DockWindow>
|
||||
//Added by qt3to4:
|
||||
#include <Q3VBoxLayout>
|
||||
#include <QKeyEvent>
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <QWidget>
|
||||
#include <QPainter>
|
||||
#include <QLineEdit>
|
||||
#include <q3textedit.h>
|
||||
#include <Q3TextEdit>
|
||||
#include <QPushButton>
|
||||
|
||||
#include <math.h>
|
||||
|
@ -18,14 +18,14 @@
|
||||
#include "id_dialog.h"
|
||||
#include "id_text.h"
|
||||
|
||||
#include <q3hbox.h>
|
||||
#include <q3vbox.h>
|
||||
#include <Q3HBox>
|
||||
#include <Q3VBox>
|
||||
#include <QLabel>
|
||||
#include <QLayout>
|
||||
#include <q3listview.h>
|
||||
#include <Q3ListView>
|
||||
#include <QCheckBox>
|
||||
#include <QLineEdit>
|
||||
#include <q3vgroupbox.h>
|
||||
#include <Q3VGroupBox>
|
||||
#include <QValidator>
|
||||
#include <QPushButton>
|
||||
#include <QMessageBox>
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include "painting.h"
|
||||
|
||||
#include <QString>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
|
||||
struct SubParameter {
|
||||
SubParameter(bool display_, const QString& Name_, const QString& Descr_)
|
||||
|
@ -26,7 +26,7 @@
|
||||
|
||||
|
||||
#include <QProcess>
|
||||
#include <q3syntaxhighlighter.h>
|
||||
#include <Q3SyntaxHighlighter>
|
||||
//Added by qt3to4:
|
||||
#include <Q3PtrList>
|
||||
#include <Q3TextEdit>
|
||||
|
@ -19,7 +19,7 @@
|
||||
#define QUCS_H
|
||||
|
||||
#include <QtGui>
|
||||
//#include <q3mainwindow.h>
|
||||
//#include <Q3MainWindow>
|
||||
#include <QMainWindow>
|
||||
#include <QString>
|
||||
#include <QDir>
|
||||
|
@ -29,10 +29,10 @@
|
||||
#include <QPrinter>
|
||||
#include <QLineEdit>
|
||||
#include <QFileInfo>
|
||||
#include <q3iconview.h>
|
||||
#include <Q3IconView>
|
||||
#include <QTabWidget>
|
||||
#include <q3dragobject.h>
|
||||
#include <q3paintdevicemetrics.h>
|
||||
#include <Q3DragObject>
|
||||
#include <Q3PaintDeviceMetrics>
|
||||
#include <QDir>
|
||||
|
||||
#include "qucs.h"
|
||||
|
@ -34,9 +34,9 @@
|
||||
#include "viewpainter.h"
|
||||
#include "node.h"
|
||||
|
||||
#include <q3scrollview.h>
|
||||
#include <Q3ScrollView>
|
||||
#include <QPainter>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
#include <QFile>
|
||||
#include <QStringList>
|
||||
|
||||
|
@ -23,9 +23,9 @@
|
||||
#include <QDir>
|
||||
#include <QStringList>
|
||||
#include <QRegExp>
|
||||
#include <q3textedit.h>
|
||||
#include <Q3TextEdit>
|
||||
#include <QTextEdit>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
//Added by qt3to4:
|
||||
#include <Q3TextStream>
|
||||
#include <Q3ValueList>
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
|
||||
#include <QTextEdit>
|
||||
#include <q3textedit.h>
|
||||
#include <Q3TextEdit>
|
||||
#include <QFont>
|
||||
|
||||
#include "qucsdoc.h"
|
||||
|
@ -25,7 +25,7 @@
|
||||
|
||||
#include <QPainter>
|
||||
#include <QString>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
|
||||
|
||||
class Wire : public Conductor {
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
#include <QPainter>
|
||||
#include <QString>
|
||||
#include <q3ptrlist.h>
|
||||
#include <Q3PtrList>
|
||||
|
||||
class Wire;
|
||||
class Node;
|
||||
|
Loading…
x
Reference in New Issue
Block a user