diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /konqueror/sidebar/trees/history_module/history_item.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/trees/history_module/history_item.h')
-rw-r--r-- | konqueror/sidebar/trees/history_module/history_item.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/konqueror/sidebar/trees/history_module/history_item.h b/konqueror/sidebar/trees/history_module/history_item.h index a7c77a677..fb7786e60 100644 --- a/konqueror/sidebar/trees/history_module/history_item.h +++ b/konqueror/sidebar/trees/history_module/history_item.h @@ -43,23 +43,23 @@ public: // The URL to open when this link is clicked virtual KURL externalURL() const { return m_entry->url; } const KURL& url() const { return m_entry->url; } // a faster one - virtual QString toolTipText() const; + virtual TQString toolTipText() const; - QString host() const { return m_entry->url.host(); } - QString path() const { return m_entry->url.path(); } + TQString host() const { return m_entry->url.host(); } + TQString path() const { return m_entry->url.path(); } - const QDateTime& lastVisited() const { return m_entry->lastVisited; } + const TQDateTime& lastVisited() const { return m_entry->lastVisited; } void update( const KonqHistoryEntry *entry ); const KonqHistoryEntry *entry() const { return m_entry; } - virtual QDragObject * dragObject( QWidget * parent, bool move = false ); + virtual TQDragObject * dragObject( TQWidget * parent, bool move = false ); - virtual QString key( int column, bool ascending ) const; + virtual TQString key( int column, bool ascending ) const; static void setSettings( KonqSidebarHistorySettings *s ) { s_settings = s; } - virtual void paintCell( QPainter *, const QColorGroup & cg, int column, + virtual void paintCell( TQPainter *, const TQColorGroup & cg, int column, int width, int alignment ); private: @@ -85,25 +85,25 @@ public: virtual void setOpen( bool open ); - virtual QString key( int column, bool ascending ) const; + virtual TQString key( int column, bool ascending ) const; void itemUpdated( KonqSidebarHistoryItem *item ); bool hasFavIcon() const { return m_hasFavIcon; } - void setFavIcon( const QPixmap& pix ); + void setFavIcon( const TQPixmap& pix ); - virtual QDragObject * dragObject( QWidget *, bool ); + virtual TQDragObject * dragObject( TQWidget *, bool ); virtual void itemSelected(); // we don't support the following of KonqSidebarTreeItem - bool acceptsDrops( const QStrList& ) { return false; } - virtual void drop( QDropEvent * ) {} + bool acceptsDrops( const TQStrList& ) { return false; } + virtual void drop( TQDropEvent * ) {} virtual KURL externalURL() const { return KURL(); } private: bool m_hasFavIcon; const KURL m_url; - QDateTime m_lastVisited; + TQDateTime m_lastVisited; }; |