Skip to content

Commit

Permalink
[qt] Fix header include guard on GUI code.
Browse files Browse the repository at this point in the history
See issue #264.
  • Loading branch information
guitorri committed Jun 1, 2015
1 parent fec0503 commit c04c306
Show file tree
Hide file tree
Showing 32 changed files with 90 additions and 90 deletions.
6 changes: 3 additions & 3 deletions qucs/qucs-activefilter/qf_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QF_MATRIX_H
#define _QF_MATRIX_H
#ifndef QF_MATRIX_H
#define QF_MATRIX_H

class qf_matrix
{
Expand Down Expand Up @@ -47,4 +47,4 @@ class qf_matrix
qf_double_t * data;
};

#endif // _QF_MATRIX_H
#endif // QF_MATRIX_H
6 changes: 3 additions & 3 deletions qucs/qucs-activefilter/qf_poly.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#include <QtCore>
#include <complex>

#ifndef _QF_POLY_H
#define _QF_POLY_H
#ifndef QF_POLY_H
#define QF_POLY_H

/* Headers for R[X] arithmetic */

Expand Down Expand Up @@ -138,5 +138,5 @@ inline qf_double_t ROUND_ROOT (qf_double_t k) {
#define RADIX2 (RADIX*RADIX)
#define MAX_ITERATIONS 60

#endif // _QF_POLY_H
#endif // QF_POLY_H

4 changes: 2 additions & 2 deletions qucs/qucs-filter-v2/qf_api.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ifndef _QF_API_H
# define _QF_API_H
# ifndef QF_API_H
# define QF_API_H

// Identify each filter by a unique bit

Expand Down
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_bessel.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Bessel filters

#ifndef _QF_BESSEL_H
#define _QF_BESSEL_H
#ifndef QF_BESSEL_H
#define QF_BESSEL_H

class qf_bessel: public qf_filter {

Expand Down Expand Up @@ -47,4 +47,4 @@ struct qf_filter_api qf_bessel_api =
};

# endif // _QF_API
# endif // _QF_BESSEL_H
# endif // QF_BESSEL_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_blinch.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ifndef _QF_BLINCH_H
# define _QF_BLINCH_H
# ifndef QF_BLINCH_H
# define QF_BLINCH_H

/*
static qf_double_t pole2 [36] = {
Expand Down Expand Up @@ -93,4 +93,4 @@ struct qf_filter_api qf_blinch_api =
QF_LOWPASS | QF_HIGHPASS | QF_BANDPASS | QF_BANDSTOP | QF_ZIGZAG,
};
# endif // _QF_API
# endif // _QF_BLINCH_H
# endif // QF_BLINCH_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_butcheb.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
// These filters are the easiest to compute, since the values of the
// standard lowpass prototype are given by simple formulae. There is, thus,
// no need to rely on the complex polynomial machinery used elsewhere.
#ifndef _QF_BUTCHEB_H
#define _QF_BUTCHEB_H
#ifndef QF_BUTCHEB_H
#define QF_BUTCHEB_H

// A general class common to both filters

Expand Down Expand Up @@ -92,4 +92,4 @@ struct qf_filter_api qf_cheb_api = {
};

# endif //_QF_API
# endif //_QF_BUTCHEB_H
# endif //QF_BUTCHEB_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_cauer.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QF_CAUER_H
#define _QF_CAUER_H
#ifndef QF_CAUER_H
#define QF_CAUER_H

class qf_cauer: public qf_filter {

Expand Down Expand Up @@ -86,4 +86,4 @@ struct qf_filter_api qf_cauer_api =
};

# endif // _QF_API
# endif // _QF_CAUER_H
# endif // QF_CAUER_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_comp.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# ifndef _QF_COMP_H
# define _QF_COMP_H
# ifndef QF_COMP_H
# define QF_COMP_H

#include <vector>
#include <list>
Expand Down Expand Up @@ -222,4 +222,4 @@ struct qf_pslc : public qf_cmplc {
void dump (unsigned, unsigned, Q3TextStream&, Q3TextStream&);
};

# endif //_QF_COMP_H
# endif //QF_COMP_H
4 changes: 2 additions & 2 deletions qucs/qucs-filter-v2/qf_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

# ifndef _QF_FILTER_H
# define _QF_FILTER_H
# ifndef QF_FILTER_H
# define QF_FILTER_H

# ifdef _QF_QUCSFILTER_TEST
# define PACKAGE_VERSION "Qf test"
Expand Down
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_icheb.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _QF_ICHEB_H
#define _QF_ICHEB_H
#ifndef QF_ICHEB_H
#define QF_ICHEB_H
// Icheb : inverse chebychev filters

class qf_icheb : public qf_filter {
Expand Down Expand Up @@ -42,4 +42,4 @@ struct qf_filter_api qf_icheb_api = {
};

# endif // _QF_API
#endif // _QF_ICHEB_H
#endif // QF_ICHEB_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_legendre.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Headers for legendre filters
#ifndef _QF_LGNDR_H
#define _QF_LGNDR_H
#ifndef QF_LGNDR_H
#define QF_LGNDR_H

class qf_lgndr : public qf_filter {
private:
Expand Down Expand Up @@ -40,4 +40,4 @@ struct qf_filter_api qf_lgndr_api = {
};

# endif // _QF_API
# endif // _QF_LGNDR_H
# endif // QF_LGNDR_H
4 changes: 2 additions & 2 deletions qucs/qucs-filter-v2/qf_matrix.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef _QF_MATRIX_H
#define _QF_MATRIX_H
#ifndef QF_MATRIX_H
#define QF_MATRIX_H

#ifdef _QF_MATRIX_DEBUG
#define IL
Expand Down
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_poly.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QF_POLY_H
#define _QF_POLY_H
#ifndef QF_POLY_H
#define QF_POLY_H

/* Headers for R[X] arithmetic */

Expand Down Expand Up @@ -131,4 +131,4 @@ qf_poly operator - (qf_poly&, qf_poly&);
qf_double_t setroottol (qf_double_t&);
qf_double_t setrootprec (qf_double_t&);

#endif // _QF_POLY_H
#endif // QF_POLY_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_tform.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//Added by qt3to4:
#include <Q3TextStream>
# ifndef _QF_TFORM_H
# define _QF_TFORM_H
# ifndef QF_TFORM_H
# define QF_TFORM_H
// Headers for standard transformations
// Those transformations are : lowpass (no transform), highpass
// standard bandpass (geometrical type) and bandstop (inverse bandpass)
Expand Down Expand Up @@ -231,4 +231,4 @@ struct qf_tform_api qf_bandstop_api = {
};

# endif // _QF_API
# endif // _QF_TFORM_H
# endif // QF_TFORM_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter-v2/qf_zigzag.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Definitions for qf_zigzag.cpp

#ifndef _QF_ZIGZAG_H
#define _QF_ZIGZAG_H
#ifndef QF_ZIGZAG_H
#define QF_ZIGZAG_H

#include <vector>
//Added by qt3to4:
Expand Down Expand Up @@ -56,4 +56,4 @@ struct qf_tform_api qf_zigzag_api = {
};

# endif // _QF_API
#endif // _QF_ZIGZAG_H
#endif // QF_ZIGZAG_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter/qf_cauer.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QF_CAUER_H
#define _QF_CAUER_H
#ifndef QF_CAUER_H
#define QF_CAUER_H

const qf_double_t SN_ACC = 1e-5; // Accuracy of sn(x) is SN_ACC^2
const qf_double_t K_ERR1 = 1e-8; // Accuracy of K(k)
Expand Down Expand Up @@ -61,4 +61,4 @@ class qf_cauer : public qf_filter
void dump (void); // Dumps to cout
};

#endif // _QF_CAUER_H
#endif // QF_CAUER_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter/qf_filter.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QF_FILTER_H
#define _QF_FILTER_H
#ifndef QF_FILTER_H
#define QF_FILTER_H

// Header for filter

Expand Down Expand Up @@ -115,4 +115,4 @@ class qf_filter
std::string num2str (qf_double_t);
};

#endif // _QF_FILTER_H
#endif // QF_FILTER_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter/qf_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QF_MATRIX_H
#define _QF_MATRIX_H
#ifndef QF_MATRIX_H
#define QF_MATRIX_H

class qf_matrix
{
Expand Down Expand Up @@ -47,4 +47,4 @@ class qf_matrix
qf_double_t * data;
};

#endif // _QF_MATRIX_H
#endif // QF_MATRIX_H
6 changes: 3 additions & 3 deletions qucs/qucs-filter/qf_poly.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QF_POLY_H
#define _QF_POLY_H
#ifndef QF_POLY_H
#define QF_POLY_H

/* Headers for R[X] arithmetic */

Expand Down Expand Up @@ -134,4 +134,4 @@ inline qf_double_t ROUND_ROOT (qf_double_t k) {
#define RADIX2 (RADIX*RADIX)
#define MAX_ITERATIONS 60

#endif // _QF_POLY_H
#endif // QF_POLY_H
4 changes: 2 additions & 2 deletions qucs/qucs-help/htmldatafetcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
* Boston, MA 02110-1301, USA. *
***************************************************************************/

#ifndef __HDF_H
#define __HDF_H
#ifndef HDF_H
#define HDF_H
#include <QStringList>
#include <QMap>
#include <QFile>
Expand Down
6 changes: 3 additions & 3 deletions qucs/qucs-lib/qucslib_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
* *
***************************************************************************/

#ifndef _QUCSLIB_COMMON_H_
#define _QUCSLIB_COMMON_H_
#ifndef QUCSLIB_COMMON_H
#define QUCSLIB_COMMON_H

#include <QFile>
#include <QTextStream>
Expand Down Expand Up @@ -301,4 +301,4 @@ inline int parseComponentLibrary (QString filename, ComponentLibrary &library)

}

#endif // _QUCSLIB_COMMON_H_
#endif /* QUCSLIB_COMMON_H */
6 changes: 3 additions & 3 deletions qucs/qucs-transcalc/c_microstrip.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#ifndef _C_MICROSTRIP_H_
#define _C_MICROSTRIP_H_
#ifndef C_MICROSTRIP_H
#define C_MICROSTRIP_H

class c_microstrip : public transline {
public:
Expand Down Expand Up @@ -99,4 +99,4 @@ class c_microstrip : public transline {
microstrip * aux_ms;
};

#endif /* _C_MICROSTRIP_H_ */
#endif /* C_MICROSTRIP_H */
6 changes: 3 additions & 3 deletions qucs/qucs-transcalc/coax.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#ifndef __COAX_H
#define __COAX_H
#ifndef COAX_H
#define COAX_H

class coax : public transline {
public:
Expand Down Expand Up @@ -58,4 +58,4 @@ class coax : public transline {
void show_results();
};

#endif /* __COAX_H */
#endif /* COAX_H */
6 changes: 3 additions & 3 deletions qucs/qucs-transcalc/coplanar.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#ifndef __COPLANAR_H
#define __COPLANAR_H
#ifndef COPLANAR_H
#define COPLANAR_H

class coplanar : public transline {
public:
Expand Down Expand Up @@ -64,4 +64,4 @@ class groundedCoplanar : public coplanar {
groundedCoplanar();
};

#endif /* __COPLANAR_H */
#endif /* COPLANAR_H */
6 changes: 3 additions & 3 deletions qucs/qucs-transcalc/microstrip.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#ifndef __MICROSTRIP_H
#define __MICROSTRIP_H
#ifndef MICROSTRIP_H
#define MICROSTRIP_H

class microstrip : public transline {
public:
Expand Down Expand Up @@ -90,4 +90,4 @@ class microstrip : public transline {
void show_results();
};

#endif /* __MICROSTRIP_H */
#endif /* MICROSTRIP_H */
6 changes: 3 additions & 3 deletions qucs/qucs-transcalc/rectwaveguide.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
*
*/

#ifndef __RECTWAVEGUIDE_H
#define __RECTWAVEGUIDE_H
#ifndef RECTWAVEGUIDE_H
#define RECTWAVEGUIDE_H

class rectwaveguide : public transline {
public:
Expand Down Expand Up @@ -62,4 +62,4 @@ class rectwaveguide : public transline {
void show_results ();
};

#endif /* __RECTWAVEGUIDE_H */
#endif /* RECTWAVEGUIDE_H */
Loading

0 comments on commit c04c306

Please sign in to comment.