summaryrefslogtreecommitdiffstats
path: root/konq-plugins/sidebar/metabar/src/metabarwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/sidebar/metabar/src/metabarwidget.h
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/sidebar/metabar/src/metabarwidget.h')
-rw-r--r--konq-plugins/sidebar/metabar/src/metabarwidget.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/konq-plugins/sidebar/metabar/src/metabarwidget.h b/konq-plugins/sidebar/metabar/src/metabarwidget.h
index abd901d..e88a003 100644
--- a/konq-plugins/sidebar/metabar/src/metabarwidget.h
+++ b/konq-plugins/sidebar/metabar/src/metabarwidget.h
@@ -30,7 +30,7 @@
#include <kpopupmenu.h>
#include <kdirwatch.h>
-#include <qmap.h>
+#include <tqmap.h>
#include "protocolplugin.h"
#include "metabarfunctions.h"
@@ -40,13 +40,13 @@ class MetabarWidget : public QWidget
Q_OBJECT
public:
- MetabarWidget(QWidget *parent = 0, const char* name=0);
+ MetabarWidget(TQWidget *parent = 0, const char* name=0);
~MetabarWidget();
void setFileItems(const KFileItemList &items, bool check = true);
- static QString getIconPath(const QString &name);
- static void addEntry(DOM::DOMString &html, const QString name, const QString url, const QString icon, const QString id = QString::null, const QString nameatt = QString::null, bool hidden = false);
+ static TQString getIconPath(const TQString &name);
+ static void addEntry(DOM::DOMString &html, const TQString name, const TQString url, const TQString icon, const TQString id = TQString::null, const TQString nameatt = TQString::null, bool hidden = false);
private:
KFileItemList *currentItems;
@@ -62,26 +62,26 @@ class MetabarWidget : public QWidget
KDirWatch *dir_watch;
KPopupMenu *popup;
- QDict<ProtocolPlugin> plugins;
+ TQDict<ProtocolPlugin> plugins;
bool skip;
bool loadComplete;
- void callAction(const QString &action);
- void openURL(const QString &url);
- void openTab(const QString &url);
+ void callAction(const TQString &action);
+ void openURL(const TQString &url);
+ void openTab(const TQString &url);
void loadLinks();
- QString getCurrentURL();
+ TQString getCurrentURL();
private slots:
void loadCompleted();
void slotShowSharingDialog();
void slotShowConfig();
- void slotShowPopup(const QString &url, const QPoint &pos);
+ void slotShowPopup(const TQString &url, const TQPoint &pos);
void handleURLRequest(const KURL &url, const KParts::URLArgs &args);
- void slotUpdateCurrentInfo(const QString &path);
- void slotDeleteCurrentInfo(const QString &path);
+ void slotUpdateCurrentInfo(const TQString &path);
+ void slotDeleteCurrentInfo(const TQString &path);
void setTheme();
};