summaryrefslogtreecommitdiffstats
path: root/konqueror/sidebar/konqsidebarplugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/sidebar/konqsidebarplugin.h
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konqueror/sidebar/konqsidebarplugin.h')
-rw-r--r--konqueror/sidebar/konqsidebarplugin.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/konqueror/sidebar/konqsidebarplugin.h b/konqueror/sidebar/konqsidebarplugin.h
index ad931070f..d3ecf7ce4 100644
--- a/konqueror/sidebar/konqsidebarplugin.h
+++ b/konqueror/sidebar/konqsidebarplugin.h
@@ -18,14 +18,14 @@
*/
#ifndef _konqsidebarplugin_h_
#define _konqsidebarplugin_h_
-#include <qwidget.h>
-#include <qobject.h>
+#include <tqwidget.h>
+#include <tqobject.h>
#include <kurl.h>
-#include <qstring.h>
+#include <tqstring.h>
#include <kparts/part.h>
#include <kparts/browserextension.h>
#include <kio/job.h>
-#include <qguardedptr.h>
+#include <tqguardedptr.h>
#include <kfileitem.h>
class KonqSidebarPluginPrivate;
@@ -34,16 +34,16 @@ class KDE_EXPORT KonqSidebarPlugin : public QObject
{
Q_OBJECT
public:
- KonqSidebarPlugin(KInstance *instance,QObject *parent,QWidget *widgetParent,QString &desktopName_, const char* name=0);
+ KonqSidebarPlugin(KInstance *instance,TQObject *parent,TQWidget *widgetParent,TQString &desktopName_, const char* name=0);
~KonqSidebarPlugin();
- virtual QWidget *getWidget()=0;
- virtual void *provides(const QString &)=0;
+ virtual TQWidget *getWidget()=0;
+ virtual void *provides(const TQString &)=0;
KInstance *parentInstance();
protected:
virtual void handleURL(const KURL &url)=0;
virtual void handlePreview(const KFileItemList & items);
virtual void handlePreviewOnMouseOver(const KFileItem &items); //not used yet, perhaps in KDE 3.1
- QString desktopName;
+ TQString desktopName;
KInstance* m_parentInstance;
private:
@@ -53,8 +53,8 @@ class KDE_EXPORT KonqSidebarPlugin : public QObject
void requestURL(KURL&);
void started(KIO::Job *);
void completed();
- void setIcon(const QString& icon);
- void setCaption(const QString& caption);
+ void setIcon(const TQString& icon);
+ void setCaption(const TQString& caption);
protected:
@@ -67,7 +67,7 @@ class KDE_EXPORT KonqSidebarPlugin : public QObject
void openPreviewOnMouseOver(const KFileItem& item); // not used yet, perhaps KDE 3.1
/*
if your plugin supports a setup dialog, instead (replaces the url menu entry in the popup) (not supported yet)
- void setup(QWidget *parent);
+ void setup(TQWidget *parent);
*/
@@ -79,16 +79,16 @@ class KDE_EXPORT KonqSidebarPlugin : public QObject
void enableAction( const char * name, bool enabled );
- void popupMenu( const QPoint &global, const KFileItemList &items );
- void popupMenu( KXMLGUIClient *client, const QPoint &global, const KFileItemList &items );
- void popupMenu( const QPoint &global, const KURL &url,
- const QString &mimeType, mode_t mode = (mode_t)-1 );
+ void popupMenu( const TQPoint &global, const KFileItemList &items );
+ void popupMenu( KXMLGUIClient *client, const TQPoint &global, const KFileItemList &items );
+ void popupMenu( const TQPoint &global, const KURL &url,
+ const TQString &mimeType, mode_t mode = (mode_t)-1 );
void popupMenu( KXMLGUIClient *client,
- const QPoint &global, const KURL &url,
- const QString &mimeType, mode_t mode = (mode_t)-1 );
+ const TQPoint &global, const KURL &url,
+ const TQString &mimeType, mode_t mode = (mode_t)-1 );
- void showError(QString &); //for later extension
- void showMessage(QString &); //for later extension
+ void showError(TQString &); //for later extension
+ void showMessage(TQString &); //for later extension
*/