summaryrefslogtreecommitdiffstats
path: root/src/fetch/configwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/fetch/configwidget.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/fetch/configwidget.h')
-rw-r--r--src/fetch/configwidget.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/fetch/configwidget.h b/src/fetch/configwidget.h
index 9f18f83..f0a981c 100644
--- a/src/fetch/configwidget.h
+++ b/src/fetch/configwidget.h
@@ -16,12 +16,12 @@
#include "../datavectors.h"
-#include <qwidget.h>
-#include <qdict.h>
-#include <qcheckbox.h>
+#include <tqwidget.h>
+#include <tqdict.h>
+#include <tqcheckbox.h>
class KConfigGroup;
-class QStringList;
+class TQStringList;
namespace Tellico {
namespace Fetch {
@@ -29,11 +29,12 @@ namespace Tellico {
/**
* @author Robby Stephenson
*/
-class ConfigWidget : public QWidget {
+class ConfigWidget : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
- ConfigWidget(QWidget* parent);
+ ConfigWidget(TQWidget* tqparent);
virtual ~ConfigWidget() {}
void setAccepted(bool accepted_) { m_accepted = accepted_; }
@@ -52,24 +53,24 @@ public:
* class than in the Fetcher class itself
*/
virtual void removed() {}
- virtual QString preferredName() const = 0;
+ virtual TQString preferredName() const = 0;
signals:
- void signalName(const QString& name);
+ void signalName(const TQString& name);
public slots:
void slotSetModified(bool modified_ = true) { m_modified = modified_; }
protected:
- QWidget* optionsWidget() { return m_optionsWidget; }
- void addFieldsWidget(const StringMap& customFields, const QStringList& fieldsToAdd);
+ TQWidget* optionsWidget() { return m_optionsWidget; }
+ void addFieldsWidget(const StringMap& customFields, const TQStringList& fieldsToAdd);
void saveFieldsConfig(KConfigGroup& config) const;
private:
bool m_modified;
bool m_accepted;
- QWidget* m_optionsWidget;
- QDict<QCheckBox> m_fields;
+ TQWidget* m_optionsWidget;
+ TQDict<TQCheckBox> m_fields;
};
}