summaryrefslogtreecommitdiffstats
path: root/src/webquerypubmed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webquerypubmed.h')
-rw-r--r--src/webquerypubmed.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/src/webquerypubmed.h b/src/webquerypubmed.h
index 86d0326..a100da7 100644
--- a/src/webquerypubmed.h
+++ b/src/webquerypubmed.h
@@ -20,15 +20,15 @@
#ifndef KBIBTEXWEBQUERYPUBMED_H
#define KBIBTEXWEBQUERYPUBMED_H
-#include <qwidget.h>
-#include <qxml.h>
-#include <qvaluelist.h>
+#include <ntqwidget.h>
+#include <ntqxml.h>
+#include <ntqvaluelist.h>
#include <webquery.h>
-class QStringList;
-class QDomElement;
-class QDate;
+class TQStringList;
+class TQDomElement;
+class TQDate;
namespace KBibTeX
{
@@ -39,58 +39,58 @@ namespace KBibTeX
{
Q_OBJECT
public:
- WebQueryPubMedWidget( QWidget *parent, const char *name = 0 );
+ WebQueryPubMedWidget( TQWidget *parent, const char *name = 0 );
};
- class WebQueryPubMedStructureParserQuery : public QXmlDefaultHandler
+ class WebQueryPubMedStructureParserQuery : public TQXmlDefaultHandler
{
public:
- WebQueryPubMedStructureParserQuery( QValueList<int> *intList );
+ WebQueryPubMedStructureParserQuery( TQValueList<int> *intList );
~WebQueryPubMedStructureParserQuery( );
- bool startElement( const QString&, const QString&, const QString&, const QXmlAttributes& );
- bool endElement( const QString&, const QString&, const QString& );
- bool characters( const QString & ch );
+ bool startElement( const TQString&, const TQString&, const TQString&, const TQXmlAttributes& );
+ bool endElement( const TQString&, const TQString&, const TQString& );
+ bool characters( const TQString & ch );
private:
- QValueList<int> *m_intList;
- QString concatString;
+ TQValueList<int> *m_intList;
+ TQString concatString;
};
- class WebQueryPubMedResultParser: public QObject
+ class WebQueryPubMedResultParser: public TQObject
{
Q_OBJECT
public:
WebQueryPubMedResultParser();
~WebQueryPubMedResultParser();
- void parse( const QDomElement& rootElement );
+ void parse( const TQDomElement& rootElement );
signals:
void foundEntry( BibTeX::Entry*, bool );
private:
- void parsePubmedArticle( const QDomElement& element, BibTeX::Entry *entry );
- void parseMedlineCitation( const QDomElement& element, BibTeX::Entry *entry );
- void parseArticle( const QDomElement& element, BibTeX::Entry *entry );
- void parseJournal( const QDomElement& element, BibTeX::Entry *entry );
- void parseJournalIssue( const QDomElement& element, BibTeX::Entry *entry );
- void parsePubDate( const QDomElement& element, BibTeX::Entry *entry );
- void parseAuthorList( const QDomElement& element, BibTeX::Entry *entry );
+ void parsePubmedArticle( const TQDomElement& element, BibTeX::Entry *entry );
+ void parseMedlineCitation( const TQDomElement& element, BibTeX::Entry *entry );
+ void parseArticle( const TQDomElement& element, BibTeX::Entry *entry );
+ void parseJournal( const TQDomElement& element, BibTeX::Entry *entry );
+ void parseJournalIssue( const TQDomElement& element, BibTeX::Entry *entry );
+ void parsePubDate( const TQDomElement& element, BibTeX::Entry *entry );
+ void parseAuthorList( const TQDomElement& element, BibTeX::Entry *entry );
};
class WebQueryPubMed : public WebQuery
{
Q_OBJECT
public:
- WebQueryPubMed( QWidget *parent );
+ WebQueryPubMed( TQWidget *parent );
virtual ~WebQueryPubMed();
void query();
- QString title();
- QString disclaimer();
- QString disclaimerURL();
+ TQString title();
+ TQString disclaimer();
+ TQString disclaimerURL();
WebQueryWidget *widget();