From 4aed2c8219774f5d797760606b8489a92ddc5163 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konqueror/sidebar/trees/konqsidebar_tree.h | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 konqueror/sidebar/trees/konqsidebar_tree.h (limited to 'konqueror/sidebar/trees/konqsidebar_tree.h') diff --git a/konqueror/sidebar/trees/konqsidebar_tree.h b/konqueror/sidebar/trees/konqsidebar_tree.h new file mode 100644 index 000000000..968a59585 --- /dev/null +++ b/konqueror/sidebar/trees/konqsidebar_tree.h @@ -0,0 +1,47 @@ +#ifndef _konq_sidebar_test_h_ +#define _konq_sidebar_test_h_ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +class KonqSidebarTree; +class QVBox; + +class KonqSidebar_Tree: public KonqSidebarPlugin + { + Q_OBJECT + public: + KonqSidebar_Tree(KInstance *instance,QObject *parent,QWidget *widgetParent, QString &desktopName_, const char* name=0); + ~KonqSidebar_Tree(); + virtual void *provides(const QString &); +// void emitStatusBarText (const QString &); + virtual QWidget *getWidget(); + protected: + class QVBox *widget; + class KonqSidebarTree *tree; + virtual void handleURL(const KURL &url); + protected slots: + void copy(); + void cut(); + void paste(); + void trash(); + void del(); + void shred(); + void rename(); +signals: + void openURLRequest( const KURL &url, const KParts::URLArgs &args = KParts::URLArgs() ); + void createNewWindow( const KURL &url, const KParts::URLArgs &args = KParts::URLArgs() ); + void popupMenu( const QPoint &global, const KURL &url, + const QString &mimeType, mode_t mode = (mode_t)-1 ); + void popupMenu( const QPoint &global, const KFileItemList &items ); + void enableAction( const char * name, bool enabled ); + }; + +#endif -- cgit v1.2.1