summaryrefslogtreecommitdiffstats
path: root/src/gvcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore')
-rw-r--r--src/gvcore/deletedialog.cpp2
-rw-r--r--src/gvcore/document.cpp2
-rw-r--r--src/gvcore/externaltoolmanager.cpp4
-rw-r--r--src/gvcore/filedetailview.cpp2
-rw-r--r--src/gvcore/filedetailviewitem.cpp2
-rw-r--r--src/gvcore/filethumbnailview.cpp4
-rw-r--r--src/gvcore/imageview.cpp2
-rw-r--r--src/gvcore/thumbnailloadjob.cpp2
-rw-r--r--src/gvcore/timeutils.cpp2
9 files changed, 11 insertions, 11 deletions
diff --git a/src/gvcore/deletedialog.cpp b/src/gvcore/deletedialog.cpp
index 9fdfac5..0507cb3 100644
--- a/src/gvcore/deletedialog.cpp
+++ b/src/gvcore/deletedialog.cpp
@@ -98,7 +98,7 @@ void DeleteDialog::updateUI()
fileCount);
iconName = "trashcan_full";
}
- TQPixmap icon = KGlobal::iconLoader()->loadIcon(iconName, KIcon::NoGroup, KIcon::SizeMedium);
+ TQPixmap icon = TDEGlobal::iconLoader()->loadIcon(iconName, KIcon::NoGroup, KIcon::SizeMedium);
m_widget->ddDeleteText->setText(msg);
m_widget->ddWarningIcon->setPixmap(icon);
diff --git a/src/gvcore/document.cpp b/src/gvcore/document.cpp
index f4310cb..f6db357 100644
--- a/src/gvcore/document.cpp
+++ b/src/gvcore/document.cpp
@@ -367,7 +367,7 @@ void Document::doPaint(KPrinter *printer, TQPainter *painter) {
TQPaintDeviceMetrics pdMetrics(painter->device());
const int margin = pdMetrics.logicalDpiY() / 2; // half-inch margin
- painter->setFont( KGlobalSettings::generalFont() );
+ painter->setFont( TDEGlobalSettings::generalFont() );
TQFontMetrics fMetrics = painter->fontMetrics();
int x = 0;
diff --git a/src/gvcore/externaltoolmanager.cpp b/src/gvcore/externaltoolmanager.cpp
index 8872074..dc2f705 100644
--- a/src/gvcore/externaltoolmanager.cpp
+++ b/src/gvcore/externaltoolmanager.cpp
@@ -146,12 +146,12 @@ ExternalToolManager::ExternalToolManager() {
d=new ExternalToolManagerPrivate;
// Getting dirs
- d->mUserToolDir=KGlobal::dirs()->saveLocation("appdata", "tools");
+ d->mUserToolDir=TDEGlobal::dirs()->saveLocation("appdata", "tools");
d->mUserToolDir=addSlash(d->mUserToolDir);
Q_ASSERT(!d->mUserToolDir.isEmpty());
LOG("d->mUserToolDir:" << d->mUserToolDir);
- TQStringList dirs=KGlobal::dirs()->findDirs("appdata", "tools");
+ TQStringList dirs=TDEGlobal::dirs()->findDirs("appdata", "tools");
LOG("dirs:" << dirs.join(","));
// Loading desktop files
diff --git a/src/gvcore/filedetailview.cpp b/src/gvcore/filedetailview.cpp
index a7d9f64..28ac233 100644
--- a/src/gvcore/filedetailview.cpp
+++ b/src/gvcore/filedetailview.cpp
@@ -216,7 +216,7 @@ void FileDetailView::selected( TQListViewItem *item )
{
if ( !item ) return;
- if ( KGlobalSettings::singleClick() ) {
+ if ( TDEGlobalSettings::singleClick() ) {
const KFileItem *fi = ( (FileDetailViewItem*)item )->fileInfo();
if ( fi && (fi->isDir() || !onlyDoubleClickSelectsFiles()) )
sig->activate( fi );
diff --git a/src/gvcore/filedetailviewitem.cpp b/src/gvcore/filedetailviewitem.cpp
index 6d5fead..2115386 100644
--- a/src/gvcore/filedetailviewitem.cpp
+++ b/src/gvcore/filedetailviewitem.cpp
@@ -39,7 +39,7 @@ void FileDetailViewItem::init()
setPixmap( COL_NAME, inf->pixmap(KIcon::SizeSmall));
setText( COL_NAME, inf->text() );
- setText( COL_SIZE, KGlobal::locale()->formatNumber( inf->size(), 0));
+ setText( COL_SIZE, TDEGlobal::locale()->formatNumber( inf->size(), 0));
setText( COL_DATE, TimeUtils::formatTime(time) );
setText( COL_PERM, inf->permissionsString() );
setText( COL_OWNER, inf->user() );
diff --git a/src/gvcore/filethumbnailview.cpp b/src/gvcore/filethumbnailview.cpp
index 38bf9ff..57f436c 100644
--- a/src/gvcore/filethumbnailview.cpp
+++ b/src/gvcore/filethumbnailview.cpp
@@ -642,7 +642,7 @@ void FileThumbnailView::setSortingKey(TQIconViewItem *iconItem, const KFileItem
//--------------------------------------------------------------------------
void FileThumbnailView::slotDoubleClicked(TQIconViewItem* iconItem) {
if (!iconItem) return;
- if (KGlobalSettings::singleClick()) return;
+ if (TDEGlobalSettings::singleClick()) return;
FileThumbnailViewItem* thumbItem=static_cast<FileThumbnailViewItem*>(iconItem);
KFileItem* fileItem=thumbItem->fileItem();
@@ -655,7 +655,7 @@ void FileThumbnailView::slotDoubleClicked(TQIconViewItem* iconItem) {
void FileThumbnailView::slotClicked(TQIconViewItem* iconItem) {
if (!iconItem) return;
- if (!KGlobalSettings::singleClick()) return;
+ if (!TDEGlobalSettings::singleClick()) return;
FileThumbnailViewItem* thumbItem=static_cast<FileThumbnailViewItem*>(iconItem);
KFileItem* fileItem=thumbItem->fileItem();
diff --git a/src/gvcore/imageview.cpp b/src/gvcore/imageview.cpp
index 5300cdb..36d8db4 100644
--- a/src/gvcore/imageview.cpp
+++ b/src/gvcore/imageview.cpp
@@ -1143,7 +1143,7 @@ void ImageView::slotSelectZoom() {
if (currentItem>=int(d->mZoomComboActions.count()) ) {
TQString txt=d->mZoomCombo->currentText();
txt=txt.left(txt.find('%'));
- double value=KGlobal::locale()->readNumber(txt) / 100.0;
+ double value=TDEGlobal::locale()->readNumber(txt) / 100.0;
updateZoom(ZOOM_FREE, value);
} else {
d->mZoomComboActions[currentItem]->activate();
diff --git a/src/gvcore/thumbnailloadjob.cpp b/src/gvcore/thumbnailloadjob.cpp
index 63b38e4..d7650ba 100644
--- a/src/gvcore/thumbnailloadjob.cpp
+++ b/src/gvcore/thumbnailloadjob.cpp
@@ -378,7 +378,7 @@ ThumbnailLoadJob::ThumbnailLoadJob(const TQValueVector<const KFileItem*>* items,
{
LOG("");
- mBrokenPixmap=KGlobal::iconLoader()->loadIcon("file_broken",
+ mBrokenPixmap=TDEGlobal::iconLoader()->loadIcon("file_broken",
KIcon::NoGroup, ThumbnailSize::MIN);
// Look for images and store the items in our todo list
diff --git a/src/gvcore/timeutils.cpp b/src/gvcore/timeutils.cpp
index fbd3a5a..eda6749 100644
--- a/src/gvcore/timeutils.cpp
+++ b/src/gvcore/timeutils.cpp
@@ -45,7 +45,7 @@ time_t getTime(const KFileItem* item) {
TQString formatTime(time_t time) {
TQDateTime dt;
dt.setTime_t(time);
- return KGlobal::locale()->formatDateTime(dt);
+ return TDEGlobal::locale()->formatDateTime(dt);
}