summaryrefslogtreecommitdiffstats
path: root/src/likeback_private.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/likeback_private.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/likeback_private.h')
-rw-r--r--src/likeback_private.h50
1 files changed, 26 insertions, 24 deletions
diff --git a/src/likeback_private.h b/src/likeback_private.h
index 37ed60f..e4258a5 100644
--- a/src/likeback_private.h
+++ b/src/likeback_private.h
@@ -22,14 +22,14 @@
#define LIKEBACK_PRIVATE_H
#include <kdialogbase.h>
-#include <qtimer.h>
+#include <tqtimer.h>
#include "likeback.h"
-class QToolButton;
-class QTextEdit;
-class QCheckBox;
-class QButtonGroup;
+class TQToolButton;
+class TQTextEdit;
+class TQCheckBox;
+class TQButtonGroup;
class Kaction;
class LikeBackPrivate
@@ -41,22 +41,23 @@ class LikeBackPrivate
KConfig *config;
const KAboutData *aboutData;
LikeBack::Button buttons;
- QString hostName;
- QString remotePath;
- Q_UINT16 hostPort;
- QStringList acceptedLocales;
- QString acceptedLanguagesMessage;
+ TQString hostName;
+ TQString remotePath;
+ TQ_UINT16 hostPort;
+ TQStringList acceptedLocales;
+ TQString acceptedLanguagesMessage;
LikeBack::WindowListing windowListing;
bool showBarByDefault;
bool showBar;
int disabledCount;
- QString fetchedEmail;
+ TQString fetchedEmail;
KAction *action;
};
-class LikeBackBar : public QWidget
+class LikeBackBar : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
LikeBackBar(LikeBack *likeBack);
~LikeBackBar();
@@ -71,27 +72,28 @@ class LikeBackBar : public QWidget
void clickedFeature();
private:
LikeBack *m_likeBack;
- QTimer m_timer;
- QToolButton *m_likeButton;
- QToolButton *m_dislikeButton;
- QToolButton *m_bugButton;
- QToolButton *m_featureButton;
+ TQTimer m_timer;
+ TQToolButton *m_likeButton;
+ TQToolButton *m_dislikeButton;
+ TQToolButton *m_bugButton;
+ TQToolButton *m_featureButton;
};
class LikeBackDialog : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
- LikeBackDialog(LikeBack::Button reason, const QString &initialComment, const QString &windowPath, const QString &context, LikeBack *likeBack);
+ LikeBackDialog(LikeBack::Button reason, const TQString &initialComment, const TQString &windowPath, const TQString &context, LikeBack *likeBack);
~LikeBackDialog();
private:
LikeBack *m_likeBack;
- QString m_windowPath;
- QString m_context;
- QButtonGroup *m_group;
- QTextEdit *m_comment;
- QCheckBox *m_showButtons;
- QString introductionText();
+ TQString m_windowPath;
+ TQString m_context;
+ TQButtonGroup *m_group;
+ TQTextEdit *m_comment;
+ TQCheckBox *m_showButtons;
+ TQString introductionText();
private slots:
void polish();
void slotDefault();