diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:22:56 +0000 |
commit | 7346aee26bf190a7e70333c40fab4caca847cd27 (patch) | |
tree | 4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/sidebar/delicious/bookmarkListItem.cpp | |
parent | 23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff) | |
download | tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/sidebar/delicious/bookmarkListItem.cpp')
-rw-r--r-- | konq-plugins/sidebar/delicious/bookmarkListItem.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/konq-plugins/sidebar/delicious/bookmarkListItem.cpp b/konq-plugins/sidebar/delicious/bookmarkListItem.cpp index 64e626d..5e3b0b3 100644 --- a/konq-plugins/sidebar/delicious/bookmarkListItem.cpp +++ b/konq-plugins/sidebar/delicious/bookmarkListItem.cpp @@ -24,18 +24,18 @@ #include <kglobal.h> #include <klocale.h> -BookmarkListItem::BookmarkListItem( QListView *parent, const QString & url, const QString & desc, time_t time ) +BookmarkListItem::BookmarkListItem( TQListView *parent, const TQString & url, const TQString & desc, time_t time ) : KListViewItem( parent ), m_desc( desc ) { m_url = KURL::fromPathOrURL( url ); m_dateTime.setTime_t( time ); } -int BookmarkListItem::compare( QListViewItem * i, int col, bool ascending ) const +int BookmarkListItem::compare( TQListViewItem * i, int col, bool ascending ) const { if ( col == 1 ) { - QDateTime them = static_cast<BookmarkListItem *>( i )->date(); + TQDateTime them = static_cast<BookmarkListItem *>( i )->date(); if ( m_dateTime < them ) return -1; else if ( m_dateTime > them ) @@ -43,17 +43,17 @@ int BookmarkListItem::compare( QListViewItem * i, int col, bool ascending ) cons else return 0; } - return QListViewItem::compare( i, col, ascending ); + return TQListViewItem::compare( i, col, ascending ); } -QString BookmarkListItem::text( int column ) const +TQString BookmarkListItem::text( int column ) const { if ( column == 0 ) return m_desc; else if ( column == 1 ) return KGlobal::locale()->formatDateTime( m_dateTime ); - return QString::null; + return TQString::null; } KURL BookmarkListItem::url() const @@ -61,12 +61,12 @@ KURL BookmarkListItem::url() const return m_url; } -QDateTime BookmarkListItem::date() const +TQDateTime BookmarkListItem::date() const { return m_dateTime; } -QString BookmarkListItem::desc() const +TQString BookmarkListItem::desc() const { return m_desc; } |