diff options
Diffstat (limited to 'src/app/bookmarkviewcontroller.h')
-rw-r--r-- | src/app/bookmarkviewcontroller.h | 34 |
1 files changed, 18 insertions, 16 deletions
diff --git a/src/app/bookmarkviewcontroller.h b/src/app/bookmarkviewcontroller.h index 9e651ea..ab47051 100644 --- a/src/app/bookmarkviewcontroller.h +++ b/src/app/bookmarkviewcontroller.h @@ -21,17 +21,17 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #ifndef BOOKMARKVIEWCONTROLLER_H #define BOOKMARKVIEWCONTROLLER_H -// Qt -#include <qobject.h> +// TQt +#include <tqobject.h> // KDE #include <klistview.h> #include <kurl.h> -class QDragMoveEvent; -class QDropEvent; -class QListViewItem; -class QPoint; +class TQDragMoveEvent; +class TQDropEvent; +class TQListViewItem; +class TQPoint; class KBookmarkManager; class KURL; @@ -43,27 +43,29 @@ namespace Gwenview { */ class URLDropListView : public KListView { Q_OBJECT + TQ_OBJECT public: - URLDropListView(QWidget* parent); + URLDropListView(TQWidget* tqparent); signals: - void urlDropped(QDropEvent*, const KURL::List&); + void urlDropped(TQDropEvent*, const KURL::List&); protected: - virtual void contentsDragMoveEvent(QDragMoveEvent* event); - virtual void contentsDropEvent(QDropEvent* event); + virtual void contentsDragMoveEvent(TQDragMoveEvent* event); + virtual void contentsDropEvent(TQDropEvent* event); }; -class BookmarkViewController : public QObject { +class BookmarkViewController : public TQObject { Q_OBJECT + TQ_OBJECT public: - BookmarkViewController(QWidget*); + BookmarkViewController(TQWidget*); ~BookmarkViewController(); void init(KBookmarkManager*); - QWidget* widget() const; + TQWidget* widget() const; signals: void openURL(const KURL&); @@ -72,10 +74,10 @@ public slots: void setURL(const KURL&); private slots: - void slotOpenBookmark(QListViewItem*); + void slotOpenBookmark(TQListViewItem*); void fill(); - void slotContextMenu(QListViewItem*); - void slotURLDropped(QDropEvent*, const KURL::List&); + void slotContextMenu(TQListViewItem*); + void slotURLDropped(TQDropEvent*, const KURL::List&); void slotBookmarkDroppedURL(); void bookmarkCurrentURL(); void addBookmarkGroup(); |