summaryrefslogtreecommitdiffstats
path: root/kdict/queryview.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdict/queryview.h')
-rw-r--r--kdict/queryview.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kdict/queryview.h b/kdict/queryview.h
index e942d297..e87bd977 100644
--- a/kdict/queryview.h
+++ b/kdict/queryview.h
@@ -19,7 +19,7 @@
#ifndef _QUERYVIEW_H_
#define _QUERYVIEW_H_
-#include <qvbox.h>
+#include <tqvbox.h>
#include <khtml_part.h>
class QFile;
@@ -28,7 +28,7 @@ class KPopupMenu;
class DictComboAction;
-QString getShortString(QString str,unsigned int length);
+TQString getShortString(TQString str,unsigned int length);
//******** SaveHelper *******************************************
@@ -38,20 +38,20 @@ class SaveHelper {
public:
- SaveHelper(const QString &saveName, const QString &filter, QWidget *parent);
+ SaveHelper(const TQString &saveName, const TQString &filter, TQWidget *parent);
~SaveHelper();
// returns a file open for writing
- QFile* getFile(const QString &dialogTitle);
+ TQFile* getFile(const TQString &dialogTitle);
private:
- QWidget *p_arent;
- QString s_aveName, f_ilter;
+ TQWidget *p_arent;
+ TQString s_aveName, f_ilter;
KURL url;
- QFile* file;
+ TQFile* file;
KTempFile* tmpFile;
- static QString lastPath;
+ static TQString lastPath;
};
@@ -64,10 +64,10 @@ class BrowseData
public:
- BrowseData(const QString &Nhtml, const QString &NqueryText);
+ BrowseData(const TQString &Nhtml, const TQString &NqueryText);
- QString html;
- QString queryText;
+ TQString html;
+ TQString queryText;
int xPos,yPos;
};
@@ -80,7 +80,7 @@ class DictHTMLPart : public KHTMLPart
public:
- DictHTMLPart(QWidget *parentWidget = 0, const char *widgetname = 0);
+ DictHTMLPart(TQWidget *parentWidget = 0, const char *widgetname = 0);
~DictHTMLPart();
signals:
@@ -101,7 +101,7 @@ class QueryView : public QVBox
public:
- QueryView(QWidget *_parent = 0L);
+ QueryView(TQWidget *_parent = 0L);
~QueryView();
void setActions(KToolBarPopupAction* NactBack, KToolBarPopupAction* NactForward, DictComboAction* NactQueryCombo);
@@ -123,30 +123,30 @@ public slots:
signals:
- void defineRequested(const QString &query);
- void matchRequested(const QString &query);
+ void defineRequested(const TQString &query);
+ void matchRequested(const TQString &query);
void clipboardRequested();
void enableCopy(bool selected); // emited when the user selects/deselects text
void enablePrintSave();
void renderingStarted();
void renderingStopped();
- void newCaption(const QString&);
+ void newCaption(const TQString&);
protected:
- void paletteChange ( const QPalette & );
- void fontChange ( const QFont & );
+ void paletteChange ( const TQPalette & );
+ void fontChange ( const TQFont & );
void saveCurrentResultPos();
void showResult();
protected slots:
- void resultReady(const QString &result, const QString &query);
+ void resultReady(const TQString &result, const TQString &query);
void partCompleted();
void slotURLRequest (const KURL &url, const KParts::URLArgs &args);
void middleButtonClicked();
- void buildPopupMenu(const QString &url, const QPoint &point);
+ void buildPopupMenu(const TQString &url, const TQPoint &point);
void popupDefineLink();
void popupMatchLink();
void popupOpenLink();
@@ -166,11 +166,11 @@ private:
DictComboAction *actQueryCombo;
KPopupMenu *rightBtnMenu;
- QString popupLink,popupSelect; // needed for rightbtn-popup menu
+ TQString popupLink,popupSelect; // needed for rightbtn-popup menu
- QPtrList<BrowseData> browseList;
+ TQPtrList<BrowseData> browseList;
unsigned int browsePos; // position in browseList
- QString currentHTMLHeader;
+ TQString currentHTMLHeader;
bool isRendering;
};