summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:26:45 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:26:45 -0600
commit01c60a267846a8712bca34218ecf7da57566c049 (patch)
treee851781b4ff0487aad8a48739ac0061186343e49 /tdeioslave/trash
parent5e5409d89552fa6839ab6cd52a47306eb4d650f0 (diff)
downloadtdebase-01c60a267846a8712bca34218ecf7da57566c049.tar.gz
tdebase-01c60a267846a8712bca34218ecf7da57566c049.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'tdeioslave/trash')
-rw-r--r--tdeioslave/trash/trashimpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeioslave/trash/trashimpl.cpp b/tdeioslave/trash/trashimpl.cpp
index b78427d12..d49123572 100644
--- a/tdeioslave/trash/trashimpl.cpp
+++ b/tdeioslave/trash/trashimpl.cpp
@@ -133,7 +133,7 @@ bool TrashImpl::init()
m_initStatus = InitError;
// $XDG_DATA_HOME/Trash, i.e. ~/.local/share/Trash by default.
const TQString xdgDataDir = TDEGlobal::dirs()->localxdgdatadir();
- if ( !KStandardDirs::makeDir( xdgDataDir, 0700 ) ) {
+ if ( !TDEStandardDirs::makeDir( xdgDataDir, 0700 ) ) {
kdWarning() << "failed to create " << xdgDataDir << endl;
return false;
}
@@ -282,7 +282,7 @@ bool TrashImpl::createInfo( const TQString& origPath, int& trashId, TQString& fi
TQString TrashImpl::makeRelativePath( const TQString& topdir, const TQString& path )
{
- const TQString realPath = KStandardDirs::realFilePath( path );
+ const TQString realPath = TDEStandardDirs::realFilePath( path );
// topdir ends with '/'
if ( realPath.startsWith( topdir ) ) {
const TQString rel = realPath.mid( topdir.length() );