From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- konqueror/sidebar/trees/konq_sidebartreeitem.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'konqueror/sidebar/trees/konq_sidebartreeitem.h') diff --git a/konqueror/sidebar/trees/konq_sidebartreeitem.h b/konqueror/sidebar/trees/konq_sidebartreeitem.h index ef6f73931..0cb7a7d12 100644 --- a/konqueror/sidebar/trees/konq_sidebartreeitem.h +++ b/konqueror/sidebar/trees/konq_sidebartreeitem.h @@ -20,8 +20,8 @@ #ifndef konq_treeitem_h #define konq_treeitem_h -#include -#include +#include +#include #include class QPainter; @@ -48,14 +48,14 @@ public: virtual ~KonqSidebarTreeItem(); // Whether the item accepts a drop consisting in those @p formats - virtual bool acceptsDrops( const QStrList & ) { return false; } + virtual bool acceptsDrops( const TQStrList & ) { return false; } // Handle a drop on this item. If you didn't want it, you shouln't // have return true in acceptsDrops :) - virtual void drop( QDropEvent * ) {} + virtual void drop( TQDropEvent * ) {} // Create a drag object from this item. - virtual QDragObject * dragObject( QWidget * parent, bool move = false ) = 0; + virtual TQDragObject * dragObject( TQWidget * parent, bool move = false ) = 0; virtual void middleButtonClicked(); virtual void rightButtonPressed() = 0; @@ -65,17 +65,17 @@ public: virtual void del() {} virtual void shred() {} virtual void rename() {} - virtual void rename( const QString& ) {} + virtual void rename( const TQString& ) {} // The URL to open when this link is clicked virtual KURL externalURL() const = 0; // The mimetype to use when this link is clicked - // If unknown, return QString::null, konq will determine the mimetype itself - virtual QString externalMimeType() const { return QString::null; } + // If unknown, return TQString::null, konq will determine the mimetype itself + virtual TQString externalMimeType() const { return TQString::null; } // overwrite this if you want a tooltip shown on your item - virtual QString toolTipText() const { return QString::null; } + virtual TQString toolTipText() const { return TQString::null; } // Called when this item is selected // Reimplement, and call tree()->part()->extension()->enableActions(...) @@ -100,10 +100,10 @@ public: // returns the tree inside which this item is KonqSidebarTree *tree() const; - virtual QString key( int column, bool ) const { return text( column ).lower(); } + virtual TQString key( int column, bool ) const { return text( column ).lower(); } // List of alternative names (URLs) this entry is known under - QStringList alias; + TQStringList alias; protected: // Create an item at the toplevel - only for toplevel items -> protected KonqSidebarTreeItem( KonqSidebarTree *parent, KonqSidebarTreeTopLevelItem *topLevelItem ); -- cgit v1.2.1