summaryrefslogtreecommitdiffstats
path: root/src/fetch/configwidget.h
diff options
context:
space:
mode:
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;
};
}