Fixed typedef-related warnings from compiler.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/3/head
Michele Calgaro 6 years ago
parent e40133ab17
commit c50e1bb2ce
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -54,7 +54,7 @@ enum { NOCUT = 0x00001, MULTILINE = 0x00002, NOTEXT = 0x00004, NOSCALE = 0x00008
/** This structure holds information about a supported barcode encoding typedef /** This structure holds information about a supported barcode encoding typedef
*/ */
typedef struct tBarcodeInfo struct tBarcodeInfo
{ {
/** the name which is stored for identification in the xml file /** the name which is stored for identification in the xml file
* and used as commandline parameter for external tools * and used as commandline parameter for external tools

@ -46,7 +46,7 @@ typedef TQValueList< TQMap<TQString,TQString> > TVariableList;
class BatchPrinter class BatchPrinter
{ {
public: public:
typedef enum EOutputFormat { POSTSCRIPT = 0, IMAGE, BCP }; enum EOutputFormat { POSTSCRIPT = 0, IMAGE, BCP };
enum EImageFileName { E_ARTICLE, E_BARCODE, E_CUSTOM }; enum EImageFileName { E_ARTICLE, E_BARCODE, E_CUSTOM };
struct data { struct data {

@ -24,7 +24,7 @@
class KURL; class KURL;
typedef struct labelprinterdata { struct labelprinterdata {
int articleEvent1; int articleEvent1;
int articleEvent2; int articleEvent2;
int articleEvent3; int articleEvent3;
@ -46,7 +46,7 @@ typedef struct labelprinterdata {
TQString quote; TQString quote;
}; };
typedef struct PageFormatInfo struct PageFormatInfo
{ {
KPrinter::PageSize kprinter; KPrinter::PageSize kprinter;
const char* shortName; // Short name const char* shortName; // Short name

@ -33,7 +33,7 @@
// Holds all information // Holds all information
// necessary for connecting // necessary for connecting
// to a database // to a database
typedef struct mysqldata { struct mysqldata {
TQString username; TQString username;
TQString password; TQString password;
TQString hostname; // localhost TQString hostname; // localhost

Loading…
Cancel
Save