summaryrefslogtreecommitdiffstats
path: root/konqueror/listview/konq_textviewitem.cc
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:30:47 -0600
commitcc74f360bb40da3d79f58048f8e8611804980aa6 (patch)
treec4385d2c16b904757b1c8bb998a4aec6993373f7 /konqueror/listview/konq_textviewitem.cc
parent79b21d47bce1ee428affc97534cd8b257232a871 (diff)
downloadtdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.tar.gz
tdebase-cc74f360bb40da3d79f58048f8e8611804980aa6.zip
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'konqueror/listview/konq_textviewitem.cc')
-rw-r--r--konqueror/listview/konq_textviewitem.cc38
1 files changed, 19 insertions, 19 deletions
diff --git a/konqueror/listview/konq_textviewitem.cc b/konqueror/listview/konq_textviewitem.cc
index e594e8a9a..4b989a9e7 100644
--- a/konqueror/listview/konq_textviewitem.cc
+++ b/konqueror/listview/konq_textviewitem.cc
@@ -44,16 +44,16 @@ int KonqTextViewItem::compare( TQListViewItem *item, int col, bool ascending ) c
ColumnInfo *cInfo=&lv->columnConfigInfo()[i];
if (_column==cInfo->displayInColumn)
{
- if ((cInfo->udsId==KIO::UDS_MODIFICATION_TIME)
- || (cInfo->udsId==KIO::UDS_ACCESS_TIME)
- || (cInfo->udsId==KIO::UDS_CREATION_TIME))
+ if ((cInfo->udsId==TDEIO::UDS_MODIFICATION_TIME)
+ || (cInfo->udsId==TDEIO::UDS_ACCESS_TIME)
+ || (cInfo->udsId==TDEIO::UDS_CREATION_TIME))
{
tmp += TQString::number( m_fileitem->time(cInfo->udsId) ).rightJustify( 14, '0' );
return tmp;
}
- else if (cInfo->udsId==KIO::UDS_SIZE)
+ else if (cInfo->udsId==TDEIO::UDS_SIZE)
{
- tmp += KIO::number( m_fileitem->size() ).rightJustify( 20, '0' );
+ tmp += TDEIO::number( m_fileitem->size() ).rightJustify( 20, '0' );
return tmp;
}
else break;
@@ -68,7 +68,7 @@ int KonqTextViewItem::compare( TQListViewItem *item, int col, bool ascending ) c
void KonqTextViewItem::updateContents()
{
TQString tmp;
- KIO::filesize_t size=m_fileitem->size();
+ TDEIO::filesize_t size=m_fileitem->size();
mode_t m=m_fileitem->mode();
// The order is: .dir (0), dir (1), .file (2), file (3)
@@ -151,37 +151,37 @@ void KonqTextViewItem::updateContents()
{
switch (tmpColumn->udsId)
{
- case KIO::UDS_USER:
+ case TDEIO::UDS_USER:
setText(tmpColumn->displayInColumn,m_fileitem->user());
break;
- case KIO::UDS_GROUP:
+ case TDEIO::UDS_GROUP:
setText(tmpColumn->displayInColumn,m_fileitem->group());
break;
- case KIO::UDS_LINK_DEST:
+ case TDEIO::UDS_LINK_DEST:
setText(tmpColumn->displayInColumn,m_fileitem->linkDest());
break;
- case KIO::UDS_FILE_TYPE:
+ case TDEIO::UDS_FILE_TYPE:
setText(tmpColumn->displayInColumn,m_fileitem->mimeComment());
break;
- case KIO::UDS_MIME_TYPE:
+ case TDEIO::UDS_MIME_TYPE:
setText(tmpColumn->displayInColumn,m_fileitem->mimetype());
break;
- case KIO::UDS_URL:
+ case TDEIO::UDS_URL:
setText(tmpColumn->displayInColumn,m_fileitem->url().prettyURL());
break;
- case KIO::UDS_SIZE:
+ case TDEIO::UDS_SIZE:
if ( static_cast<KonqBaseListViewWidget *>(listView())->m_pSettings->fileSizeInBytes() )
setText(tmpColumn->displayInColumn,TDEGlobal::locale()->formatNumber(size, 0)+" ");
else
- setText(tmpColumn->displayInColumn,KIO::convertSize(size)+" ");
+ setText(tmpColumn->displayInColumn,TDEIO::convertSize(size)+" ");
break;
- case KIO::UDS_ACCESS:
+ case TDEIO::UDS_ACCESS:
setText(tmpColumn->displayInColumn,m_fileitem->permissionsString());
break;
- case KIO::UDS_MODIFICATION_TIME:
- case KIO::UDS_ACCESS_TIME:
- case KIO::UDS_CREATION_TIME:
- for( KIO::UDSEntry::ConstIterator it = m_fileitem->entry().begin(); it != m_fileitem->entry().end(); it++ )
+ case TDEIO::UDS_MODIFICATION_TIME:
+ case TDEIO::UDS_ACCESS_TIME:
+ case TDEIO::UDS_CREATION_TIME:
+ for( TDEIO::UDSEntry::ConstIterator it = m_fileitem->entry().begin(); it != m_fileitem->entry().end(); it++ )
{
if ((*it).m_uds==(unsigned int)tmpColumn->udsId)
{