summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 08:16:29 -0600
committerTimothy Pearson <[email protected]>2013-02-01 08:16:29 -0600
commit805781daef7a5af43065787637b1884207aa38b0 (patch)
tree783361509d68cdc802d78dff07bbdf7a52183726 /kghostview
parent6065bc449113d29f0a2728965c3b8ea803c194a5 (diff)
downloadtdegraphics-805781daef7a5af43065787637b1884207aa38b0.tar.gz
tdegraphics-805781daef7a5af43065787637b1884207aa38b0.zip
Rename KLocale to enhance compatibility with KDE4
Diffstat (limited to 'kghostview')
-rw-r--r--kghostview/infodialog.cpp2
-rw-r--r--kghostview/kgv_miniwidget.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kghostview/infodialog.cpp b/kghostview/infodialog.cpp
index e429d712..70826c11 100644
--- a/kghostview/infodialog.cpp
+++ b/kghostview/infodialog.cpp
@@ -110,7 +110,7 @@ namespace {
// FIXME: this ignores the timezone
TQDate date( year, month, day );
TQTime time( hour, min, sec );
- KLocale locale( "kghostview" );
+ TDELocale locale( "kghostview" );
return locale.formatDateTime( TQDateTime( date, time ) );
}
kdDebug( 4500 ) << "parseDate failed." << endl;
diff --git a/kghostview/kgv_miniwidget.cpp b/kghostview/kgv_miniwidget.cpp
index b226bb78..d8210cdf 100644
--- a/kghostview/kgv_miniwidget.cpp
+++ b/kghostview/kgv_miniwidget.cpp
@@ -61,7 +61,7 @@ KGVMiniWidget::KGVMiniWidget( KGVPart* part, const char* name ) :
_usePageLabels( true ),
_visiblePage( -1 )
{
- KLocale locale( "kghostview" );
+ TDELocale locale( "kghostview" );
_fallBackPageMedia = pageSizeToString(
static_cast< TQPrinter::PageSize >( locale.pageSize() ) );
_thumbnailService = new ThumbnailService( this );