summaryrefslogtreecommitdiffstats
path: root/src/fetcherconfigdialog.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/fetcherconfigdialog.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/fetcherconfigdialog.h')
-rw-r--r--src/fetcherconfigdialog.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/src/fetcherconfigdialog.h b/src/fetcherconfigdialog.h
index 6384102..5150c29 100644
--- a/src/fetcherconfigdialog.h
+++ b/src/fetcherconfigdialog.h
@@ -19,11 +19,11 @@
#include <kdialogbase.h>
-#include <qintdict.h>
+#include <tqintdict.h>
class KLineEdit;
-class QCheckBox;
-class QWidgetStack;
+class TQCheckBox;
+class TQWidgetStack;
namespace Tellico {
namespace GUI {
@@ -35,21 +35,22 @@ namespace Tellico {
*/
class FetcherConfigDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- FetcherConfigDialog(QWidget* parent);
- FetcherConfigDialog(const QString& sourceName, Fetch::Type type, bool updateOverwrite,
- Fetch::ConfigWidget* configWidget, QWidget* parent);
+ FetcherConfigDialog(TQWidget* tqparent);
+ FetcherConfigDialog(const TQString& sourceName, Fetch::Type type, bool updateOverwrite,
+ Fetch::ConfigWidget* configWidget, TQWidget* tqparent);
- QString sourceName() const;
+ TQString sourceName() const;
Fetch::Type sourceType() const;
bool updateOverwrite() const;
Fetch::ConfigWidget* configWidget() const;
private slots:
void slotNewSourceSelected(int idx);
- void slotNameChanged(const QString& name);
- void slotPossibleNewName(const QString& name);
+ void slotNameChanged(const TQString& name);
+ void slotPossibleNewName(const TQString& name);
private:
void init(Fetch::Type type);
@@ -57,12 +58,12 @@ private:
bool m_newSource : 1;
bool m_useDefaultName : 1;
Fetch::ConfigWidget* m_configWidget;
- QLabel* m_iconLabel;
+ TQLabel* m_iconLabel;
KLineEdit* m_nameEdit;
GUI::ComboBox* m_typeCombo;
- QCheckBox* m_cbOverwrite;
- QWidgetStack* m_stack;
- QIntDict<Fetch::ConfigWidget> m_configWidgets;
+ TQCheckBox* m_cbOverwrite;
+ TQWidgetStack* m_stack;
+ TQIntDict<Fetch::ConfigWidget> m_configWidgets;
};
} // end namespace