summaryrefslogtreecommitdiffstats
path: root/kbarcode/printersettings.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbarcode/printersettings.h')
-rw-r--r--kbarcode/printersettings.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/kbarcode/printersettings.h b/kbarcode/printersettings.h
index 8083fcb..e248237 100644
--- a/kbarcode/printersettings.h
+++ b/kbarcode/printersettings.h
@@ -18,8 +18,8 @@
#ifndef PRINTERSETTINGS_H
#define PRINTERSETTINGS_H
-#include <qobject.h>
-#include <qstring.h>
+#include <tqobject.h>
+#include <tqstring.h>
#include <kprinter.h>
class KURL;
@@ -41,9 +41,9 @@ typedef struct labelprinterdata {
bool border;
int format; // index of the page format
- QString comment;
- QString separator;
- QString quote;
+ TQString comment;
+ TQString separator;
+ TQString quote;
};
typedef struct PageFormatInfo
@@ -57,10 +57,11 @@ typedef struct PageFormatInfo
class KPrinter;
class KComboBox;
-class PrinterSettings: public QObject {
+class PrinterSettings: public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- enum { High = QPrinter::HighResolution, Middle, VeryHigh };
+ enum { High = TQPrinter::HighResolution, Middle, VeryHigh };
enum { TEC, ZEBRA, INTERMEC, EPCL };
PrinterSettings();
@@ -80,7 +81,7 @@ class PrinterSettings: public QObject {
static PrinterSettings* getInstance();
// don't forget to delete printer
- KPrinter* setupPrinter( const KURL & url, QWidget* parent, bool immediately = false, const QString & prn = QString::null );
+ KPrinter* setupPrinter( const KURL & url, TQWidget* tqparent, bool immediately = false, const TQString & prn = TQString() );
public slots:
void loadConfig();