Additional k => tde renaming and fixes

r14.0.x
Slávek Banko 11 years ago
parent e9172f4d91
commit 0bfcc16156

@ -783,7 +783,7 @@
2001.07.11 - v0.7.0 2001.07.11 - v0.7.0
- Added zoom in and out feature. - Added zoom in and out feature.
- Thumbnail generation is now non-blocking. - Thumbnail generation is now non-blocking.
- Uses KIO for file operations. - Uses TDEIO for file operations.
- Added "move" to file operations. - Added "move" to file operations.
- Selecting a folder which does not contain images will now empty the image - Selecting a folder which does not contain images will now empty the image
widget. widget.

@ -1 +1 @@
Subproject commit b4d585c643d92787bfa17b935ce00b09960ee360 Subproject commit 6b7f7225eff4c49b2dd71804d5fdacb03efcf461

@ -32,7 +32,7 @@ gwenview_la_SOURCES = \
history.cpp \ history.cpp \
main.cpp main.cpp
gwenview_la_LIBADD = libgwenshared.la ../gvcore/libgwenviewcore.la $(GV_LIB_KIPI) $(LIB_KUTILS) $(LIB_QT) gwenview_la_LIBADD = libgwenshared.la ../gvcore/libgwenviewcore.la $(GV_LIB_KIPI) $(LIB_TDEUTILS) $(LIB_QT)
# the library search path. # the library search path.
gwenview_la_LDFLAGS = $(all_libraries) $(LIB_QT) -module $(KDE_PLUGIN) gwenview_la_LDFLAGS = $(all_libraries) $(LIB_QT) -module $(KDE_PLUGIN)
@ -51,6 +51,6 @@ check_PROGRAMS = testvtabwidget
testvtabwidget_SOURCES = testvtabwidget.cpp testvtabwidget_SOURCES = testvtabwidget.cpp
testvtabwidget_LDADD = \ testvtabwidget_LDADD = \
libgwenshared.la \ libgwenshared.la \
$(LIB_KUTILS) $(LIB_TDEFILE) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TDEPRINT) $(LIB_QT) \ $(LIB_TDEUTILS) $(LIB_TDEFILE) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TDEPRINT) $(LIB_QT) \
$(LIBJPEG) $(LIBJPEG)
testvtabwidget_LDFLAGS = $(all_libraries) $(LIB_QT) testvtabwidget_LDFLAGS = $(all_libraries) $(LIB_QT)

@ -141,7 +141,7 @@ enum { StackIDBrowse, StackIDView };
static bool urlIsDirectory(TQWidget* parent, const KURL& url) { static bool urlIsDirectory(TQWidget* parent, const KURL& url) {
if( url.filename( false ).isEmpty()) return true; // file:/somewhere/<nothing here> if( url.filename( false ).isEmpty()) return true; // file:/somewhere/<nothing here>
// Do direct stat instead of using KIO if the file is local (faster) // Do direct stat instead of using TDEIO if the file is local (faster)
if( url.isLocalFile() if( url.isLocalFile()
&& !TDEIO::probably_slow_mounted( url.path())) { && !TDEIO::probably_slow_mounted( url.path())) {
KDE_struct_stat buff; KDE_struct_stat buff;

@ -6,7 +6,7 @@ libgwenviewcore_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined
libgwenviewcore_la_LIBADD = \ libgwenviewcore_la_LIBADD = \
$(LIB_TDEFILE) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TDEPRINT) $(LIB_QT) \ $(LIB_TDEFILE) $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_TDEPRINT) $(LIB_QT) \
$(LIBJPEG) $(LIBPNG) $(LIBMNG) $(GV_LIB_XCURSOR) $(LIB_EXIV2) $(LIB_KPARTS) -ltdefx \ $(LIBJPEG) $(LIBPNG) $(LIBMNG) $(GV_LIB_XCURSOR) $(LIB_EXIV2) $(LIB_TDEPARTS) -ltdefx \
-ltdemediaplayer ../imageutils/libgvimageutils.la \ -ltdemediaplayer ../imageutils/libgvimageutils.la \
../tsthread/libtsthread.la ../tsthread/libtsthread.la

@ -182,7 +182,7 @@ void Document::setURL(const KURL& paramURL) {
} }
// Set high busy level, so that operations like smoothing are suspended. // Set high busy level, so that operations like smoothing are suspended.
// Otherwise the stat() below done using KIO can take quite long. // Otherwise the stat() below done using TDEIO can take quite long.
BusyLevelManager::instance()->setBusyLevel( this, BUSY_CHECKING_NEW_IMAGE ); BusyLevelManager::instance()->setBusyLevel( this, BUSY_CHECKING_NEW_IMAGE );

@ -34,7 +34,7 @@ class TQWidget;
namespace Gwenview { namespace Gwenview {
/** /**
* This class is a base class for wrappers to KIO slaves asynchronous * This class is a base class for wrappers to TDEIO slaves asynchronous
* file operations. These classes handle all steps of a file operation : * file operations. These classes handle all steps of a file operation :
* - asking the user what to do with a file * - asking the user what to do with a file
* - performing the operation * - performing the operation

@ -543,7 +543,7 @@ void ThumbnailLoadJob::determineNextIcon() {
mCurrentURL = mCurrentItem->url(); mCurrentURL = mCurrentItem->url();
mCurrentURL.cleanPath(); mCurrentURL.cleanPath();
// Do direct stat instead of using KIO if the file is local (faster) // Do direct stat instead of using TDEIO if the file is local (faster)
if( mCurrentURL.isLocalFile() if( mCurrentURL.isLocalFile()
&& !TDEIO::probably_slow_mounted( mCurrentURL.path())) { && !TDEIO::probably_slow_mounted( mCurrentURL.path())) {
KDE_struct_stat buff; KDE_struct_stat buff;
@ -552,7 +552,7 @@ void ThumbnailLoadJob::determineNextIcon() {
TQTimer::singleShot( 0, this, TQT_SLOT( checkThumbnail())); TQTimer::singleShot( 0, this, TQT_SLOT( checkThumbnail()));
} }
} }
if( mOriginalTime == 0 ) { // KIO must be used if( mOriginalTime == 0 ) { // TDEIO must be used
TDEIO::Job* job = TDEIO::stat(mCurrentURL,false); TDEIO::Job* job = TDEIO::stat(mCurrentURL,false);
job->setWindow(TDEApplication::kApplication()->mainWidget()); job->setWindow(TDEApplication::kApplication()->mainWidget());
LOG( "TDEIO::stat orig " << mCurrentURL.url() ); LOG( "TDEIO::stat orig " << mCurrentURL.url() );

@ -5,8 +5,8 @@ INCLUDES = -I$(srcdir)/.. $(all_includes)
kde_module_LTLIBRARIES = libgvdirpart.la kde_module_LTLIBRARIES = libgvdirpart.la
libgvdirpart_la_SOURCES = gvdirpart.cpp gvdirpartconfig.kcfgc libgvdirpart_la_SOURCES = gvdirpart.cpp gvdirpartconfig.kcfgc
libgvdirpart_la_LIBADD = $(LIB_KPARTS) ../gvcore/libgwenviewcore.la libgvdirpart_la_LIBADD = $(LIB_TDEPARTS) ../gvcore/libgwenviewcore.la
libgvdirpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(LIB_QT) $(KDE_PLUGIN) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KIO) $(LIB_TDEPRINT) libgvdirpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) $(LIB_QT) $(KDE_PLUGIN) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_TDEPRINT)
# Automatically generate moc files # Automatically generate moc files
METASOURCES = AUTO METASOURCES = AUTO

@ -5,8 +5,8 @@ INCLUDES = -I$(srcdir)/.. $(all_includes)
kde_module_LTLIBRARIES = libgvimagepart.la kde_module_LTLIBRARIES = libgvimagepart.la
libgvimagepart_la_SOURCES = gvimagepart.cpp libgvimagepart_la_SOURCES = gvimagepart.cpp
libgvimagepart_la_LIBADD = $(LIB_KPARTS) ../gvcore/libgwenviewcore.la libgvimagepart_la_LIBADD = $(LIB_TDEPARTS) ../gvcore/libgwenviewcore.la
libgvimagepart_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(KDE_PLUGIN) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KIO) $(LIB_TDEPRINT) libgvimagepart_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(KDE_PLUGIN) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_TDEIO) $(LIB_TDEPRINT)
# Automatically generate moc files # Automatically generate moc files
METASOURCES = AUTO METASOURCES = AUTO

@ -47,7 +47,7 @@ All common image formats are supported, such as PNG(including transparency),
JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp JPEG(including EXIF tags and lossless transformations), GIF, XCF (Gimp
image format), BMP, XPM and others. Standard features include slideshow, image format), BMP, XPM and others. Standard features include slideshow,
fullscreen view, image thumbnails, drag'n'drop, image zoom, full network fullscreen view, image thumbnails, drag'n'drop, image zoom, full network
transparency using the KIO framework, including basic file operations and transparency using the TDEIO framework, including basic file operations and
browsing in compressed archives, non-blocking GUI with adjustable views. browsing in compressed archives, non-blocking GUI with adjustable views.
Gwenview also provides image and directory KParts components for use e.g. in Gwenview also provides image and directory KParts components for use e.g. in
Konqueror. Additional features, such as image renaming, comparing, Konqueror. Additional features, such as image renaming, comparing,

Loading…
Cancel
Save