summaryrefslogtreecommitdiffstats
path: root/src/webqueryciteseerx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/webqueryciteseerx.h')
-rw-r--r--src/webqueryciteseerx.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/webqueryciteseerx.h b/src/webqueryciteseerx.h
index 458e188..10f6533 100644
--- a/src/webqueryciteseerx.h
+++ b/src/webqueryciteseerx.h
@@ -20,8 +20,8 @@
#ifndef KBIBTEXWEBQUERYCITESEERX_H
#define KBIBTEXWEBQUERYCITESEERX_H
-#include <qstring.h>
-#include <qstringlist.h>
+#include <ntqstring.h>
+#include <ntqstringlist.h>
#include <kio/job.h>
@@ -30,7 +30,7 @@
#include <deque>
-class QBuffer;
+class TQBuffer;
namespace KBibTeX
{
@@ -43,14 +43,14 @@ namespace KBibTeX
Q_OBJECT
public:
- WebQueryCiteSeerXWidget( QWidget *parent, const char *name = 0 );
+ WebQueryCiteSeerXWidget( TQWidget *parent, const char *name = 0 );
};
/// Convinience typedef for member pointer to parsing function
class WebQueryCiteSeerX;
- typedef void ( WebQueryCiteSeerX::* DataParser )( const QString & );
+ typedef void ( WebQueryCiteSeerX::* DataParser )( const TQString & );
/// Query the citeseer database.
/** This class is used for querying the citeseer data base. CiteSeerX is still beta, so this class has to be adapted as soon as the CiteSeer people change their web interface. After entering the search term, citeseer returns a page with 10 links (one for each paper), and one link for the next 10 hits. This class uses a queue to schedule each reading job, and two parsing functions, one for the summary page and one for each paper result. BibTeX fields abstract, title, author, year, journal, and pages are found.
@@ -69,7 +69,7 @@ namespace KBibTeX
};
/// Construct.
- WebQueryCiteSeerX( QWidget* parent );
+ WebQueryCiteSeerX( TQWidget* parent );
/// Destroy.
virtual ~WebQueryCiteSeerX();
@@ -78,13 +78,13 @@ namespace KBibTeX
void query();
/// Return title.
- QString title();
+ TQString title();
/// Return disclaimer.
- QString disclaimer();
+ TQString disclaimer();
/// Return disclaimer URL.
- QString disclaimerURL();
+ TQString disclaimerURL();
/// Return GUI element.
WebQueryWidget *widget();
@@ -103,11 +103,11 @@ namespace KBibTeX
/// Parses the main page and schedules single-paper reading jobs.
/** Function parses the summary page, and schedules one job for each paper link, and one job for the "Next 10" summary page. */
- void parseSummaryPage( const QString &data );
+ void parseSummaryPage( const TQString &data );
/// Parses single-paper pages.
/** Function reads the "Abstract:" and the "@entrytype{" strings found in the html page. */
- void parsePaperPage( const QString &data );
+ void parsePaperPage( const TQString &data );
/// Execute next waiting job.
/** Takes the next query out of the queue, sets the appropriate parser, and schedules getData with the URL. */
@@ -115,13 +115,13 @@ namespace KBibTeX
/// Find single bibtex field in html page and add to entry.
/** Function uses the first collected text from the description (a regular expression), and adds it as type "type" to the "entry". */
- void parseForSingleExpression( QString description, const QString &data, BibTeX::Entry *entry, BibTeX::EntryField::FieldType type );
+ void parseForSingleExpression( TQString description, const TQString &data, BibTeX::Entry *entry, BibTeX::EntryField::FieldType type );
/// The currently active parser.
DataParser m_currentParser;
/// The internet address of CiteSeerX.
- QString m_citeSeerXServer;
+ TQString m_citeSeerXServer;
/// Number of hits desired by user.
int m_desiredHits;