summaryrefslogtreecommitdiffstats
path: root/kbarcode/smalldialogs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 00:55:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-29 00:55:34 +0000
commitc4189d200e71c7ef82e9a6e34935ad225154d658 (patch)
treef7f29a1159e0402472ff2ab22617a8113f66263c /kbarcode/smalldialogs.h
parent2f888b1578e65ec1bc514996eb509fcaf34462d6 (diff)
downloadkbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.tar.gz
kbarcode-c4189d200e71c7ef82e9a6e34935ad225154d658.zip
TQt4 port kbarcode
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1233956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbarcode/smalldialogs.h')
-rw-r--r--kbarcode/smalldialogs.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/kbarcode/smalldialogs.h b/kbarcode/smalldialogs.h
index 6687b64..228450c 100644
--- a/kbarcode/smalldialogs.h
+++ b/kbarcode/smalldialogs.h
@@ -18,7 +18,7 @@
#ifndef SMALLDIALOGS_H
#define SMALLDIALOGS_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <kdialogbase.h>
class KCompletion;
@@ -29,10 +29,11 @@ namespace DSSmallDialogs {
class AddAllDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- AddAllDialog(QWidget *parent=0, const char *name=0);
+ AddAllDialog(TQWidget *tqparent=0, const char *name=0);
- QString groupName() const;
+ TQString groupName() const;
int numberLabels() const;
protected:
@@ -42,18 +43,19 @@ namespace DSSmallDialogs {
class AddItemsDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- AddItemsDialog( QWidget* parent = 0, const char* name = 0 );
- AddItemsDialog( const QString & a, const QString & g, int c, QWidget* parent = 0, const char* name = 0 );
+ AddItemsDialog( TQWidget* tqparent = 0, const char* name = 0 );
+ AddItemsDialog( const TQString & a, const TQString & g, int c, TQWidget* tqparent = 0, const char* name = 0 );
void setGroupCompletion( KCompletion* c );
int count() const;
- const QString articleNo() const;
- const QString groupName() const;
+ const TQString articleNo() const;
+ const TQString groupName() const;
signals:
- void add( const QString & article, const QString & group, int count);
+ void add( const TQString & article, const TQString & group, int count);
private slots:
void setupSql();