summaryrefslogtreecommitdiffstats
path: root/konq-plugins/searchbar/searchbar.h
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/searchbar/searchbar.h')
-rw-r--r--konq-plugins/searchbar/searchbar.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/konq-plugins/searchbar/searchbar.h b/konq-plugins/searchbar/searchbar.h
index 25e7ded..2bce26d 100644
--- a/konq-plugins/searchbar/searchbar.h
+++ b/konq-plugins/searchbar/searchbar.h
@@ -27,9 +27,9 @@
#include <kparts/plugin.h>
#include <kparts/mainwindow.h>
-#include <qguardedptr.h>
-#include <qpixmap.h>
-#include <qstring.h>
+#include <tqguardedptr.h>
+#include <tqpixmap.h>
+#include <tqstring.h>
class KHTMLPart;
class KProcess;
@@ -47,23 +47,23 @@ class SearchBarCombo : public KHistoryCombo
/**
* Constructor.
*/
- SearchBarCombo(QWidget *parent, const char *name);
+ SearchBarCombo(TQWidget *parent, const char *name);
/**
* Returns the icon currently displayed in the combo box.
*/
- const QPixmap &icon() const;
+ const TQPixmap &icon() const;
/**
* Sets the icon displayed in the combo box.
*/
- void setIcon(const QPixmap &icon);
+ void setIcon(const TQPixmap &icon);
/**
* Finds a history item by its text.
* @return The item number, or -1 if the item is not found.
*/
- int findHistoryItem(const QString &text);
+ int findHistoryItem(const TQString &text);
/**
* Sets whether the plugin is active. It can be inactive
@@ -85,13 +85,13 @@ class SearchBarCombo : public KHistoryCombo
* Captures mouse clicks and emits iconClicked() if the icon
* was clicked.
*/
- virtual void mousePressEvent(QMouseEvent *e);
+ virtual void mousePressEvent(TQMouseEvent *e);
private slots:
void historyCleared();
private:
- QPixmap m_icon;
+ TQPixmap m_icon;
bool m_pluginActive;
};
@@ -111,19 +111,19 @@ class SearchBarPlugin : public KParts::Plugin
/** Possible search modes */
enum SearchModes { FindInThisPage = 0, UseSearchProvider };
- SearchBarPlugin(QObject *parent, const char *name,
- const QStringList &);
+ SearchBarPlugin(TQObject *parent, const char *name,
+ const TQStringList &);
virtual ~SearchBarPlugin();
protected:
- bool eventFilter(QObject *o, QEvent *e);
+ bool eventFilter(TQObject *o, TQEvent *e);
private slots:
/**
* Starts a search by putting the query URL from the selected
* search provider in the locationbar and calling goURL()
*/
- void startSearch(const QString &search);
+ void startSearch(const TQString &search);
/**
* Sets the icon to indicate which search engine is used.
@@ -157,10 +157,10 @@ class SearchBarPlugin : public KParts::Plugin
void selectGoogleSuggestMode();
void gsStartDelay();
void gsMakeCompletionList();
- void gsDataArrived(KIO::Job*, const QByteArray& data);
+ void gsDataArrived(KIO::Job*, const TQByteArray& data);
void gsJobFinished(KIO::Job* job);
- void gsSetCompletedText(const QString& text);
- void gsPutTextInBox(const QString& text);
+ void gsSetCompletedText(const TQString& text);
+ void gsPutTextInBox(const TQString& text);
signals:
@@ -172,22 +172,22 @@ class SearchBarPlugin : public KParts::Plugin
void nextSearchEntry();
void previousSearchEntry();
- QGuardedPtr<KHTMLPart> m_part;
+ TQGuardedPtr<KHTMLPart> m_part;
SearchBarCombo *m_searchCombo;
KWidgetAction *m_searchComboAction;
- QPopupMenu *m_popupMenu;
+ TQPopupMenu *m_popupMenu;
KSelectAction *m_googleMenu;
- QPixmap m_searchIcon;
+ TQPixmap m_searchIcon;
SearchModes m_searchMode;
- QString m_providerName;
+ TQString m_providerName;
bool m_urlEnterLock;
- QString m_currentEngine;
- QStringList m_searchEngines;
+ TQString m_currentEngine;
+ TQStringList m_searchEngines;
// Google Suggest private members
- QTimer m_gsTimer;
- QString m_gsData;
+ TQTimer m_gsTimer;
+ TQString m_gsData;
enum GoogleMode {GoogleOnly,ForAll,Never};
GoogleMode m_googleMode;
};