summaryrefslogtreecommitdiffstats
path: root/src/importdialog.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/importdialog.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/importdialog.h')
-rw-r--r--src/importdialog.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/importdialog.h b/src/importdialog.h
index 3802436..70d187e 100644
--- a/src/importdialog.h
+++ b/src/importdialog.h
@@ -20,14 +20,14 @@
#include <kdialogbase.h>
#include <kurl.h>
-class QRadioButton;
-class QCheckBox;
-class QShowEvent;
+class TQRadioButton;
+class TQCheckBox;
+class TQShowEvent;
namespace Tellico {
namespace Import {
class Importer;
- typedef QMap<Import::Format, QString> FormatMap;
+ typedef TQMap<Import::Format, TQString> FormatMap;
}
/**
@@ -35,18 +35,19 @@ namespace Tellico {
*/
class ImportDialog : public KDialogBase {
Q_OBJECT
+ TQ_OBJECT
public:
- ImportDialog(Import::Format format, const KURL::List& urls, QWidget* parent, const char* name);
+ ImportDialog(Import::Format format, const KURL::List& urls, TQWidget* tqparent, const char* name);
~ImportDialog();
Data::CollPtr collection();
- QString statusMessage() const;
+ TQString statusMessage() const;
Import::Action action() const;
- static QString fileFilter(Import::Format format);
+ static TQString fileFilter(Import::Format format);
static Import::Target importTarget(Import::Format format);
- static QString startDir(Import::Format format);
+ static TQString startDir(Import::Format format);
static Import::FormatMap formatMap();
static bool formatImportsText(Import::Format format);
@@ -62,9 +63,9 @@ private slots:
private:
Data::CollPtr m_coll;
Import::Importer* m_importer;
- QRadioButton* m_radioAppend;
- QRadioButton* m_radioReplace;
- QRadioButton* m_radioMerge;
+ TQRadioButton* m_radioAppend;
+ TQRadioButton* m_radioReplace;
+ TQRadioButton* m_radioMerge;
};
} // end namespace