summaryrefslogtreecommitdiffstats
path: root/src/urlnavigator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/urlnavigator.h')
-rw-r--r--src/urlnavigator.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/urlnavigator.h b/src/urlnavigator.h
index 706215a..ecd50b1 100644
--- a/src/urlnavigator.h
+++ b/src/urlnavigator.h
@@ -21,14 +21,14 @@
#ifndef URLNAVIGATOR_H
#define URLNAVIGATOR_H
-#include <qhbox.h>
+#include <tqhbox.h>
#include <kurl.h>
-#include <qstring.h>
+#include <tqstring.h>
class DolphinView;
-class QPopupMenu;
-class QPushButton;
-class QComboBox;
+class TQPopupMenu;
+class TQPushButton;
+class TQComboBox;
class BookmarkSelector;
class KURLComboBox;
class KFileItem;
@@ -52,9 +52,10 @@ class KFileItem;
*
* @author Peter Penz
*/
-class URLNavigator : public QHBox
+class URLNavigator : public TQHBox
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -72,8 +73,8 @@ public:
const KURL& url() const { return m_url; }
- void setCurrentFileName(const QString& name) { m_currentFileName = name; }
- const QString& currentFileName() const { return m_currentFileName; }
+ void setCurrentFileName(const TQString& name) { m_currentFileName = name; }
+ const TQString& currentFileName() const { return m_currentFileName; }
void setContentsX(int x) { m_contentsX = x; }
int contentsX() const { return m_contentsX; }
@@ -83,7 +84,7 @@ public:
private:
KURL m_url;
- QString m_currentFileName;
+ TQString m_currentFileName;
int m_contentsX;
int m_contentsY;
};
@@ -110,7 +111,7 @@ public:
* @param index Output parameter which indicates the current
* index of the location.
*/
- const QValueList<HistoryElem>& history(int& index) const;
+ const TQValueList<HistoryElem>& history(int& index) const;
/**
* Goes back one step in the URL history. The signals
@@ -168,10 +169,10 @@ signals:
protected:
/** If the Escape key is pressed, the navigation bar should switch
to the browse mode. */
- virtual void keyReleaseEvent(QKeyEvent* event);
+ virtual void keyReleaseEvent(TQKeyEvent* event);
private slots:
- void slotReturnPressed(const QString& text);
+ void slotReturnPressed(const TQString& text);
void slotURLActivated(const KURL& url);
void slotRequestActivation();
@@ -194,8 +195,8 @@ private slots:
private:
int m_historyIndex;
DolphinView* m_dolphinView;
- QValueList<HistoryElem> m_history;
- QPushButton* m_toggleButton;
+ TQValueList<HistoryElem> m_history;
+ TQPushButton* m_toggleButton;
BookmarkSelector* m_bookmarkSelector;
KURLComboBox* m_pathBox;