diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:28:13 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:28:13 -0600 |
commit | 17aba9f5f5b926c7568e93d7b13d2cfa5ff5ecce (patch) | |
tree | e2cac5935070125554570766dc425fa952aaab84 /kooka | |
parent | add5d23ac708b18b92751bfc49d48714d48ef511 (diff) | |
download | tdegraphics-17aba9f5f5b926c7568e93d7b13d2cfa5ff5ecce.tar.gz tdegraphics-17aba9f5f5b926c7568e93d7b13d2cfa5ff5ecce.zip |
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'kooka')
-rw-r--r-- | kooka/kocrbase.cpp | 2 | ||||
-rw-r--r-- | kooka/kocrkadmos.cpp | 4 | ||||
-rw-r--r-- | kooka/kookapref.cpp | 4 | ||||
-rw-r--r-- | kooka/thumbview.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/kooka/kocrbase.cpp b/kooka/kocrbase.cpp index ae1800b2..ebe78c0c 100644 --- a/kooka/kocrbase.cpp +++ b/kooka/kocrbase.cpp @@ -151,7 +151,7 @@ void KOCRBase::ocrIntro( ) (void) new TQLabel( i18n("<b>Starting Optical Character Recognition with %1</b><p>"). arg( ocrEngineName() ), m_ocrPage ); // Find the kadmos logo and display if available - KStandardDirs stdDir; + TDEStandardDirs stdDir; TQString logo = stdDir.findResource( "data", "kooka/pics/" + ocrEngineLogo() ); kdDebug(28000)<< "Reading logo " << logo << endl; diff --git a/kooka/kocrkadmos.cpp b/kooka/kocrkadmos.cpp index de0e520e..0e2ebdf7 100644 --- a/kooka/kocrkadmos.cpp +++ b/kooka/kocrkadmos.cpp @@ -142,7 +142,7 @@ EngineError KadmosDialog::findClassifiers() else { /* standard location */ - KStandardDirs stdDir; + TDEStandardDirs stdDir; kdDebug(28000) << "Starting to read resource" << endl; lst = stdDir.findAllResources( "data", @@ -233,7 +233,7 @@ EngineError KadmosDialog::findClassifiers() EngineError KadmosDialog::findClassifierPath() { - KStandardDirs stdDir; + TDEStandardDirs stdDir; EngineError err = ENG_OK; TDEConfig *conf = TDEGlobal::config (); diff --git a/kooka/kookapref.cpp b/kooka/kookapref.cpp index 13db5c95..5513455f 100644 --- a/kooka/kookapref.cpp +++ b/kooka/kookapref.cpp @@ -383,7 +383,7 @@ void KookaPreferences::setupThumbnailPage() top->addWidget( new TQLabel( i18n("Here you can configure the appearance of the thumbnail view of your scan picture gallery."),page )); /* Backgroundimage */ - KStandardDirs stdDir; + TDEStandardDirs stdDir; TQString bgImg = konf->readPathEntry( BG_WALLPAPER ); if( bgImg.isEmpty() ) bgImg = stdDir.findResource( "data", STD_TILE_IMG ); @@ -527,7 +527,7 @@ void KookaPreferences::slotDefault( void ) cbShowScannerSelection->setChecked( true); cbReadStartupImage->setChecked( true); cbSkipFormatAsk->setChecked( true ); - KStandardDirs stdDir; + TDEStandardDirs stdDir; TQString bgImg = stdDir.findResource( "data", STD_TILE_IMG ); m_tileSelector->setURL( KURL(bgImg) ); m_thumbWidth->setValue( 100 ); diff --git a/kooka/thumbview.cpp b/kooka/thumbview.cpp index e69f7b52..51134661 100644 --- a/kooka/thumbview.cpp +++ b/kooka/thumbview.cpp @@ -137,7 +137,7 @@ bool ThumbView::readSettings() kdDebug(28000) << "Setting Grid " << gX << " - " << gY << endl; } - KStandardDirs stdDir; + TDEStandardDirs stdDir; TQString newBgImg = cfg->readEntry( BG_WALLPAPER, stdDir.findResource( "data", STD_TILE_IMG ) ); if( m_bgImg != newBgImg ) |