summaryrefslogtreecommitdiffstats
path: root/tdeioslave/trash/testtrash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/trash/testtrash.cpp')
-rw-r--r--tdeioslave/trash/testtrash.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tdeioslave/trash/testtrash.cpp b/tdeioslave/trash/testtrash.cpp
index 60fe2d1a6..84c0106d8 100644
--- a/tdeioslave/trash/testtrash.cpp
+++ b/tdeioslave/trash/testtrash.cpp
@@ -41,7 +41,7 @@
#include <unistd.h>
#include <assert.h>
#include <tdefileitem.h>
-#include <kstandarddirs.h>
+#include <tdestandarddirs.h>
static bool check(const TQString& txt, TQString a, TQString b)
{
@@ -372,7 +372,7 @@ static void checkInfoFile( const TQString& infoPath, const TQString& origFilePat
TQFileInfo info( infoPath );
assert( info.exists() );
assert( info.isFile() );
- KSimpleConfig infoFile( info.absFilePath(), true );
+ TDESimpleConfig infoFile( info.absFilePath(), true );
if ( !infoFile.hasGroup( "Trash Info" ) )
kdFatal() << "no Trash Info group in " << info.absFilePath() << endl;
infoFile.setGroup( "Trash Info" );
@@ -476,7 +476,7 @@ void TestTrash::trashUmlautFileFromHome()
void TestTrash::testTrashNotEmpty()
{
- KSimpleConfig cfg( "trashrc", true );
+ TDESimpleConfig cfg( "trashrc", true );
assert( cfg.hasGroup( "Status" ) );
cfg.setGroup( "Status" );
assert( cfg.readBoolEntry( "Empty", true ) == false );
@@ -1094,8 +1094,8 @@ void TestTrash::listRootDir()
m_entryCount = 0;
m_listResult.clear();
TDEIO::ListJob* job = TDEIO::listDir( "trash:/" );
- connect( job, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
- TQT_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
+ connect( job, TQ_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
+ TQ_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
bool ok = TDEIO::NetAccess::synchronousRun( job, 0 );
assert( ok );
kdDebug() << "listDir done - m_entryCount=" << m_entryCount << endl;
@@ -1111,8 +1111,8 @@ void TestTrash::listRecursiveRootDir()
m_entryCount = 0;
m_listResult.clear();
TDEIO::ListJob* job = TDEIO::listRecursive( "trash:/" );
- connect( job, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
- TQT_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
+ connect( job, TQ_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
+ TQ_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
bool ok = TDEIO::NetAccess::synchronousRun( job, 0 );
assert( ok );
kdDebug() << "listDir done - m_entryCount=" << m_entryCount << endl;
@@ -1128,8 +1128,8 @@ void TestTrash::listSubDir()
m_entryCount = 0;
m_listResult.clear();
TDEIO::ListJob* job = TDEIO::listDir( "trash:/0-trashDirFromHome" );
- connect( job, TQT_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
- TQT_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
+ connect( job, TQ_SIGNAL( entries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ),
+ TQ_SLOT( slotEntries( TDEIO::Job*, const TDEIO::UDSEntryList& ) ) );
bool ok = TDEIO::NetAccess::synchronousRun( job, 0 );
assert( ok );
kdDebug() << "listDir done - m_entryCount=" << m_entryCount << endl;
@@ -1179,7 +1179,7 @@ void TestTrash::emptyTrash()
bool ok = TDEIO::NetAccess::synchronousRun( job, 0 );
assert( ok );
- KSimpleConfig cfg( "trashrc", true );
+ TDESimpleConfig cfg( "trashrc", true );
assert( cfg.hasGroup( "Status" ) );
cfg.setGroup( "Status" );
assert( cfg.readBoolEntry( "Empty", false ) == true );