diff options
Diffstat (limited to 'src/softwareimporters.h')
-rw-r--r-- | src/softwareimporters.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/src/softwareimporters.h b/src/softwareimporters.h index 05df6f8..2d7394f 100644 --- a/src/softwareimporters.h +++ b/src/softwareimporters.h @@ -21,12 +21,12 @@ #ifndef SOFTWAREIMPORTERS_H #define SOFTWAREIMPORTERS_H -#include <qnamespace.h> +#include <tqnamespace.h> #include <kdialogbase.h> -class QString; -class QVButtonGroup; -class QDomElement; +class TQString; +class TQVButtonGroup; +class TQDomElement; class KTextEdit; class Basket; @@ -38,12 +38,13 @@ class Note; class TreeImportDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - TreeImportDialog(QWidget *parent = 0); + TreeImportDialog(TQWidget *tqparent = 0); ~TreeImportDialog(); int choice(); private: - QVButtonGroup *m_choices; + TQVButtonGroup *m_choices; }; /** The dialog to ask how to import text files. @@ -52,16 +53,17 @@ class TreeImportDialog : public KDialogBase class TextFileImportDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - TextFileImportDialog(QWidget *parent = 0); + TextFileImportDialog(TQWidget *tqparent = 0); ~TextFileImportDialog(); - QString separator(); + TQString separator(); protected slots: void customSeparatorChanged(); private: - QVButtonGroup *m_choices; - QRadioButton *m_anotherSeparator; - QTextEdit *m_customSeparator; + TQVButtonGroup *m_choices; + TQRadioButton *m_anotherSeparator; + TQTextEdit *m_customSeparator; }; /** Functions that import data from other softwares. @@ -70,9 +72,9 @@ class TextFileImportDialog : public KDialogBase namespace SoftwareImporters { // Useful methods to design importers: - QString fromICS(const QString &ics); - QString fromTomboy(QString tomboy); - Note* insertTitledNote(Basket *parent, const QString &title, const QString &content, Qt::TextFormat format = Qt::PlainText, Note *parentNote = 0); + TQString fromICS(const TQString &ics); + TQString fromTomboy(TQString tomboy); + Note* insertTitledNote(Basket *tqparent, const TQString &title, const TQString &content, TQt::TextFormat format = TQt::PlainText, Note *tqparentNote = 0); void finishImport(Basket *basket); // The importers in themselves: @@ -85,7 +87,7 @@ namespace SoftwareImporters void importTextFile(); // - void importTuxCardsNode(const QDomElement &element, Basket *parentBasket, Note *parentNote, int remainingHierarchy); + void importTuxCardsNode(const TQDomElement &element, Basket *tqparentBasket, Note *tqparentNote, int remainingHierarchy); } #endif // SOFTWAREIMPORTERS_H |