diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c7de83b..243b5fb0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -214,12 +214,6 @@ add_feature_info(wrestool "ICO thumbnails support in KIO slave" ) -find_program(MTOOLS_EXECUTABLES NAMES mdir mmd mdel mrd mren mcopy) -add_feature_info(mtools - MTOOLS_EXECUTABLES - "KIO floppy support" -) - find_program(QRENCODE_EXECUTABLE qrencode) add_feature_info(qrencode QRENCODE_EXECUTABLE diff --git a/kioslave/CMakeLists.txt b/kioslave/CMakeLists.txt index f59258aa..bdfe2ef4 100644 --- a/kioslave/CMakeLists.txt +++ b/kioslave/CMakeLists.txt @@ -1,4 +1,3 @@ -add_subdirectory(floppy) add_subdirectory(network) add_subdirectory(remote) add_subdirectory(thumbnail) diff --git a/kioslave/floppy/AUTHORS b/kioslave/floppy/AUTHORS deleted file mode 100644 index 062f9d6c..00000000 --- a/kioslave/floppy/AUTHORS +++ /dev/null @@ -1,2 +0,0 @@ -Written and maintained by: -Alexander Neundorf, neundorf@kde.org diff --git a/kioslave/floppy/CMakeLists.txt b/kioslave/floppy/CMakeLists.txt deleted file mode 100644 index 8ed14817..00000000 --- a/kioslave/floppy/CMakeLists.txt +++ /dev/null @@ -1,16 +0,0 @@ - -########### next target ############### - -set(kio_floppy_PART_SRCS kio_floppy.cpp program.cpp ) - -add_executable(kio_floppy ${kio_floppy_PART_SRCS}) - -target_link_libraries(kio_floppy KDE4::kio ) - -install(TARGETS kio_floppy DESTINATION ${KDE4_LIBEXEC_INSTALL_DIR} ) - - -########### install files ############### - -install( FILES floppy.protocol DESTINATION ${KDE4_SERVICES_INSTALL_DIR} ) - diff --git a/kioslave/floppy/Messages.sh b/kioslave/floppy/Messages.sh deleted file mode 100644 index a38209e9..00000000 --- a/kioslave/floppy/Messages.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -$XGETTEXT *.cpp -o $podir/kio_floppy.pot diff --git a/kioslave/floppy/README b/kioslave/floppy/README deleted file mode 100644 index 6bf0624d..00000000 --- a/kioslave/floppy/README +++ /dev/null @@ -1,6 +0,0 @@ -this is an ioslave for KDE 2/3 for accessing fat/vfat floppies without -mounting. It is a wrapper around the mtools. - - -Alex -neundorf@kde.org diff --git a/kioslave/floppy/floppy.protocol b/kioslave/floppy/floppy.protocol deleted file mode 100644 index 9673afd3..00000000 --- a/kioslave/floppy/floppy.protocol +++ /dev/null @@ -1,12 +0,0 @@ -[Protocol] -exec=kio_floppy -protocol=floppy -listing=true -reading=true -writing=true -makedir=true -deleting=true -moving=true -Icon=media-floppy -X-DocPath=kioslave/floppy/index.html -Class=:local diff --git a/kioslave/floppy/kio_floppy.cpp b/kioslave/floppy/kio_floppy.cpp deleted file mode 100644 index 9c7a0b49..00000000 --- a/kioslave/floppy/kio_floppy.cpp +++ /dev/null @@ -1,1133 +0,0 @@ -/* This file is part of the KDE project - - Copyright (C) 2000 Alexander Neundorf - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "kio_floppy.h" - -#include "config-unix.h" - -#include -#include -#include -#include -#include -#include -#include -#include - -#include -#include -#include - -#include -#include -#include -#include -#include - -using namespace KIO; - -int main( int argc, char **argv ) -{ - KComponentData componentData( "kio_floppy" ); - - if (argc != 2) - { - fprintf(stderr, "Usage: kio_floppy app-socket\n"); - exit(-1); - } - kDebug(7104) << "Floppy: starting"; - - FloppyProtocol slave(argv[1]); - slave.dispatchLoop(); - return 0; -} - -void getDriveAndPath(const QString& path, QString& drive, QString& rest) -{ - drive.clear(); - rest.clear(); - const QStringList list=path.split('/'); - for (QStringList::const_iterator it=list.constBegin(); it!=list.constEnd(); ++it) - { - if (it==list.begin()) - drive=(*it)+':'; - else - rest=rest+'/'+(*it); - } -} - -FloppyProtocol::FloppyProtocol (const QByteArray &app ) -:SlaveBase( "floppy", app ) -,m_mtool(0) -,m_stdoutBuffer(0) -,m_stderrBuffer(0) -,m_stdoutSize(0) -,m_stderrSize(0) -{ - kDebug(7104)<<"Floppy::Floppy: -"<stdoutFD(),buffer,16*1024); - if (length<=0) return 0; - - //+1 gives us room for a terminating 0 - char *newBuffer=new char[length+m_stdoutSize+1]; - kDebug(7104)<<"Floppy::readStdout(): length: "<stderrFD(),buffer,16*1024); - kDebug(7104)<<"Floppy::readStderr(): read "< -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not access drive %1.\nThe drive is still busy.\nWait until it is inactive and then try again.", drive)); - } - else if ((line.indexOf("Disk full") > -1) || (line.indexOf("No free cluster") > -1)) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not write to file %1.\nThe disk in drive %2 is probably full.", url.prettyUrl(), drive)); - } - //file not found - else if (line.indexOf("not found") > -1) - { - error( KIO::ERR_DOES_NOT_EXIST, url.prettyUrl()); - } - //no disk - else if (line.indexOf("not configured") > -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not access %1.\nThere is probably no disk in the drive %2", url.prettyUrl(), drive)); - } - else if (line.indexOf("No such device") > -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not access %1.\nThere is probably no disk in the drive %2 or you do not have enough permissions to access the drive.", url.prettyUrl(), drive)); - } - else if (line.indexOf("not supported") > -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not access %1.\nThe drive %2 is not supported.", url.prettyUrl(), drive)); - } - //not supported or no such drive - else if (line.indexOf("Permission denied") > -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not access %1.\nMake sure the floppy in drive %2 is a DOS-formatted floppy disk \nand that the permissions of the device file (e.g. /dev/fd0) are set correctly (e.g. rwxrwxrwx).", url.prettyUrl(), drive)); - } - else if (line.indexOf("non DOS media") > -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not access %1.\nThe disk in drive %2 is probably not a DOS-formatted floppy disk.", url.prettyUrl(), drive)); - } - else if (line.indexOf("Read-only") > -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Access denied.\nCould not write to %1.\nThe disk in drive %2 is probably write-protected.", url.prettyUrl(), drive)); - } - else if ((outputString.indexOf("already exists") > -1) || (outputString.indexOf("Skipping ") > -1)) - { - error( KIO::ERR_FILE_ALREADY_EXIST,url.prettyUrl()); - //return false; - } - else if (outputString.indexOf("could not read boot sector") > -1) - { - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not read boot sector for %1.\nThere is probably not any disk in drive %2.", url.prettyUrl(), drive)); - //return false; - } - else - { - error( KIO::ERR_UNKNOWN, outputString); - } - return true; -} - -void FloppyProtocol::listDir( const KUrl& _url) -{ - kDebug(7104)<<"Floppy::listDir() "<<_url.path(); - KUrl url(_url); - QString path(url.path()); - - if ((path.isEmpty()) || (path=="/")) - { - url.setPath("/a/"); - redirection(url); - finished(); - return; - } - QString drive; - QString floppyPath; - getDriveAndPath(path,drive,floppyPath); - - QStringList args; - - args<<"mdir"<<"-a"<<(drive+floppyPath); - delete m_mtool; - m_mtool=new Program(args); - - clearBuffers(); - - if (!m_mtool->start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram("mdir"); - return; - } - - int result; - bool loopFinished(false); - bool errorOccured(false); - do - { - bool stdoutEvent; - bool stderrEvent; - result=m_mtool->select(1,0,stdoutEvent, stderrEvent); - if (stdoutEvent) - if (readStdout()==0) - loopFinished=true; - if (stderrEvent) - { - if (readStderr()==0) - loopFinished=true; - else - if (stopAfterError(url,drive)) - { - loopFinished=true; - errorOccured=true; - } - } - } while (!loopFinished); - - delete m_mtool; - m_mtool=0; - //now mdir has finished - //let's parse the output - terminateBuffers(); - - if (errorOccured) - return; - - QString outputString(m_stdoutBuffer); - QTextStream output(&outputString, QIODevice::ReadOnly); - QString line; - - int totalNumber(0); - int mode(0); - UDSEntry entry; - - while (!output.atEnd()) - { - line=output.readLine(); - kDebug(7104)<<"Floppy::listDir(): line: -"<") - { - //kDebug(7104)<<"Floppy::createUDSEntry() isDir"; - size="1024"; - isDir=true; - } - else - { - p = line.indexOf(' ',p-1); - size=line.mid(13,p-13); - //kDebug(7104)<<"Floppy::createUDSEntry() size: -"<0) - { - name=line.mid(0,nameLength); - QString ext=line.mid(9,3); - ext=ext.trimmed(); - if (!ext.isEmpty()) - name+='.'+ext; - } - kDebug(7104)<<"Floppy::createStatInfo() name 8.3= -"<p+19) - { - name=line.mid(p+20); - kDebug(7104)<<"Floppy::createStatInfo() name vfat: -"<start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram("mdir"); - return info; - } - - - clearBuffers(); - - int result; - bool loopFinished(false); - bool errorOccured(false); - do - { - bool stdoutEvent; - bool stderrEvent; - result=m_mtool->select(1,0,stdoutEvent, stderrEvent); - if (stdoutEvent) - if (readStdout()==0) - loopFinished=true; - if (stderrEvent) - { - if (readStderr()==0) - loopFinished=true; - else - if (stopAfterError(url,drive)) - { - loopFinished=true; - errorOccured=true; - } - } - } while (!loopFinished); - - //kDebug(7104)<<"Floppy::_stat(): delete m_mtool"; - delete m_mtool; - m_mtool=0; - //now mdir has finished - //let's parse the output - terminateBuffers(); - - if (errorOccured) - { - info.isValid=false; - return info; - } - - if (m_stdoutSize==0) - { - info.isValid=false; - error( KIO::ERR_COULD_NOT_STAT, url.prettyUrl()); - return info; - } - - kDebug(7104)<<"Floppy::_stat(): parse stuff"; - QString outputString(m_stdoutBuffer); - QTextStream output(&outputString, QIODevice::ReadOnly); - QString line; - for (int lineNumber=0; !output.atEnd(); lineNumber++) - { - line=output.readLine(); - if ( (lineNumber<3) || (line.isEmpty()) ) - continue; - StatInfo info=createStatInfo(line,true,url.fileName()); - if (info.isValid==false) - error( KIO::ERR_COULD_NOT_STAT, url.prettyUrl()); - return info; - } - if (info.isValid==false) - error( KIO::ERR_COULD_NOT_STAT, url.prettyUrl()); - return info; -} - -int FloppyProtocol::freeSpace(const KUrl& url) -{ - QString path(url.path()); - QString drive; - QString floppyPath; - getDriveAndPath(path,drive,floppyPath); - - //kDebug(7104)<<"Floppy::freeSpace(): delete m_mtool"; - delete m_mtool; - - QStringList args; - args<<"mdir"<<"-a"<start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram("mdir"); - return -1; - } - - - clearBuffers(); - - int result; - bool loopFinished(false); - bool errorOccured(false); - do - { - bool stdoutEvent; - bool stderrEvent; - result=m_mtool->select(1,0,stdoutEvent, stderrEvent); - if (stdoutEvent) - if (readStdout()==0) - loopFinished=true; - if (stderrEvent) - { - if (readStderr()==0) - loopFinished=true; - else - if (stopAfterError(url,drive)) - { - loopFinished=true; - errorOccured=true; - } - } - } while (!loopFinished); - - //kDebug(7104)<<"Floppy::freeSpace(): delete m_mtool"; - delete m_mtool; - m_mtool=0; - //now mdir has finished - //let's parse the output - terminateBuffers(); - - if (errorOccured) - { - return -1; - } - - if (m_stdoutSize==0) - { - error( KIO::ERR_COULD_NOT_STAT, url.prettyUrl()); - return -1; - } - - kDebug(7104)<<"Floppy::freeSpace(): parse stuff"; - QString outputString(m_stdoutBuffer); - QTextStream output(&outputString, QIODevice::ReadOnly); - QString line; - int lineNumber(0); - while (!output.atEnd()) - { - line=output.readLine(); - if (line.indexOf("bytes free")==36) - { - QString tmp=line.mid(24,3); - tmp=tmp.trimmed(); - tmp+=line.mid(28,3); - tmp=tmp.trimmed(); - tmp+=line.mid(32,3); - tmp=tmp.trimmed(); - - return tmp.toInt(); - } - lineNumber++; - } - return -1; -} - -void FloppyProtocol::stat( const KUrl & _url) -{ - kDebug(7104)<<"Floppy::stat() "<<_url.path(); - KUrl url(_url); - QString path(url.path()); - - if ((path.isEmpty()) || (path=="/")) - { - url.setPath("/a/"); - redirection(url); - finished(); - return; - } - StatInfo info=this->_stat(url); - if (info.isValid) - { - UDSEntry entry; - createUDSEntry(info,entry); - statEntry( entry ); - finished(); - //kDebug(7104)<<"Floppy::stat(): ends"; - return; - } - //otherwise the error() was already reported in _stat() -} - -void FloppyProtocol::mkdir( const KUrl& url, int) -{ - kDebug(7104)<<"FloppyProtocol::mkdir()"; - QString path(url.path()); - - if ((path.isEmpty()) || (path=="/")) - { - KUrl newUrl(url); - newUrl.setPath("/a/"); - redirection(newUrl); - finished(); - return; - } - QString drive; - QString floppyPath; - getDriveAndPath(path,drive,floppyPath); - if (floppyPath.isEmpty()) - { - finished(); - return; - } - delete m_mtool; - //kDebug(7104)<<"Floppy::stat(): create args"; - QStringList args; - - args<<"mmd"<<(drive+floppyPath); - kDebug(7104)<<"Floppy::mkdir(): executing: mmd -"<<(drive+floppyPath)<<"-"; - - m_mtool=new Program(args); - if (!m_mtool->start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram("mmd"); - return; - } - - - clearBuffers(); - int result; - bool loopFinished(false); - bool errorOccured(false); - do - { - bool stdoutEvent; - bool stderrEvent; - result=m_mtool->select(1,0,stdoutEvent, stderrEvent); - if (stdoutEvent) - if (readStdout()==0) - loopFinished=true; - if (stderrEvent) - { - if (readStderr()==0) - loopFinished=true; - else - if (stopAfterError(url,drive)) - { - loopFinished=true; - errorOccured=true; - } - } - } while (!loopFinished); - - delete m_mtool; - m_mtool=0; - terminateBuffers(); - if (errorOccured) - return; - finished(); -} - -void FloppyProtocol::del( const KUrl& url, bool isfile) -{ - kDebug(7104)<<"FloppyProtocol::del()"; - const QString path(url.path()); - - if ((path.isEmpty()) || (path=="/")) - { - KUrl newUrl(url); - newUrl.setPath("/a/"); - redirection(newUrl); - finished(); - return; - } - QString drive; - QString floppyPath; - getDriveAndPath(path,drive,floppyPath); - if (floppyPath.isEmpty()) - { - finished(); - return; - } - - delete m_mtool; - //kDebug(7104)<<"Floppy::stat(): create args"; - QStringList args; - - bool usingmdel; - - if (isfile) - { - args<<"mdel"<<(drive+floppyPath); - usingmdel=true; - } - else - { - args<<"mrd"<<(drive+floppyPath); - usingmdel=false; - } - - kDebug(7104)<<"Floppy::del(): executing: " << (usingmdel ? QString("mdel") : QString("mrd") ) << "-"<<(drive+floppyPath)<<"-"; - - m_mtool=new Program(args); - if (!m_mtool->start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram(usingmdel ? QString("mdel") : QString("mrd")); - return; - } - - - clearBuffers(); - int result; - bool loopFinished(false); - bool errorOccured(false); - do - { - bool stdoutEvent; - bool stderrEvent; - result=m_mtool->select(1,0,stdoutEvent, stderrEvent); - if (stdoutEvent) - if (readStdout()==0) - loopFinished=true; - if (stderrEvent) - { - if (readStderr()==0) - loopFinished=true; - else - if (stopAfterError(url,drive)) - { - loopFinished=true; - errorOccured=true; - } - } - } while (!loopFinished); - - delete m_mtool; - m_mtool=0; - terminateBuffers(); - if (errorOccured) - return; - finished(); -} - -void FloppyProtocol::rename( const KUrl &src, const KUrl &dest, KIO::JobFlags flags ) -{ - QString srcPath(src.path()); - QString destPath(dest.path()); - - kDebug(7104)<<"Floppy::rename() -"<start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram("mren"); - return; - } - - - clearBuffers(); - int result; - bool loopFinished(false); - bool errorOccured(false); - do - { - bool stdoutEvent; - bool stderrEvent; - result=m_mtool->select(1,0,stdoutEvent, stderrEvent); - if (stdoutEvent) - if (readStdout()==0) - loopFinished=true; - if (stderrEvent) - { - if (readStderr()==0) - loopFinished=true; - else - if (stopAfterError(src,srcDrive)) - { - loopFinished=true; - errorOccured=true; - } - } - } while (!loopFinished); - - delete m_mtool; - m_mtool=0; - terminateBuffers(); - if (errorOccured) - return; - finished(); -} - -void FloppyProtocol::get( const KUrl& url ) -{ - QString path(url.path()); - kDebug(7104)<<"Floppy::get() -"<_stat(url); - //the error was already reported in _stat() - if (info.isValid==false) - return; - - totalSize( info.size); - - QString drive; - QString floppyPath; - getDriveAndPath(path,drive,floppyPath); - if (floppyPath.isEmpty()) - { - finished(); - return; - } - - delete m_mtool; - //kDebug(7104)<<"Floppy::stat(): create args"; - QStringList args; - args<<"mcopy"<<(drive+floppyPath)<<"-"; - - kDebug(7104)<<"Floppy::get(): executing: mcopy -"<<(drive+floppyPath)<<"-"; - - m_mtool=new Program(args); - if (!m_mtool->start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram("mcopy"); - return; - } - - clearBuffers(); - int result; - bool loopFinished(false); - bool errorOccured(false); - do - { - bool stdoutEvent; - bool stderrEvent; - result=m_mtool->select(1,0,stdoutEvent, stderrEvent); - if (stdoutEvent) - { - delete [] m_stdoutBuffer; - m_stdoutBuffer=0; - m_stdoutSize=0; - if (readStdout()>0) - { - kDebug(7104)<<"Floppy::get(): m_stdoutSize:"<start()) - { - delete m_mtool; - m_mtool=0; - errorMissingMToolsProgram("mcopy"); - return; - } - - - clearBuffers(); - int result(0); - int bytesRead(0); - - //from file.cc - // Loop until we got 0 (end of data) - do - { - bool stdoutEvent; - bool stderrEvent; - kDebug(7104)<<"Floppy::put(): select()..."; - m_mtool->select(0,100,stdoutEvent, stderrEvent); - if (stdoutEvent) - { - if (readStdout()==0) - result=0; - } - if (stderrEvent) - { - if (readStderr()==0) - result=0; - else - if (stopAfterError(url,drive)) - result=-1; - kDebug(7104)<<"Floppy::put(): error: result=="< 0) - { - bytesRead+=result; - kDebug(7104)<<"Floppy::put() bytesRead: "<freeSpaceLeft) - { - result=0; - error( KIO::ERR_SLAVE_DEFINED, i18n("Could not write to file %1.\nThe disk in drive %2 is probably full.", url.prettyUrl(), drive)); - } - else - { - //kDebug(7104)<<"Floppy::put(): writing..."; - result=::write(m_mtool->stdinFD(),buffer.data(), buffer.size()); - kDebug(7104)<<"Floppy::put(): after write(), wrote "< 0 ); - - if (result<0) - { - perror("writing to stdin"); - error( KIO::ERR_CANNOT_OPEN_FOR_WRITING, url.prettyUrl()); - return; - } - - delete m_mtool; - m_mtool=0; - - finished(); -} - diff --git a/kioslave/floppy/kio_floppy.h b/kioslave/floppy/kio_floppy.h deleted file mode 100644 index 9a08e08c..00000000 --- a/kioslave/floppy/kio_floppy.h +++ /dev/null @@ -1,77 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2000 Alexander Neundorf - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef KIO_FLOPPY_H -#define KIO_FLOPPY_H - -#include -#include - -#include "program.h" - - -struct StatInfo -{ - StatInfo():name(""),time(0),size(0),mode(0),freeSpace(0),isDir(false),isValid(false) {;} - QString name; - time_t time; - int size; - int mode; - int freeSpace; - bool isDir:1; - bool isValid:1; -}; - - -class FloppyProtocol : public KIO::SlaveBase -{ - public: - FloppyProtocol (const QByteArray &app ); - virtual ~FloppyProtocol(); - - virtual void listDir( const KUrl& url); - virtual void stat( const KUrl & url); - virtual void mkdir( const KUrl& url, int); - virtual void del( const KUrl& url, bool isfile); - virtual void rename(const KUrl &src, const KUrl &dest, KIO::JobFlags _flags); - virtual void get( const KUrl& url ); - virtual void put( const KUrl& url, int _mode, KIO::JobFlags _flags ); - //virtual void copy( const KUrl& src, const KUrl &dest, int, bool overwrite ); - protected: - Program *m_mtool; - int readStdout(); - int readStderr(); - - StatInfo createStatInfo(const QString line, bool makeStat=false, const QString& dirName=""); - void createUDSEntry(const StatInfo& info, KIO::UDSEntry& entry); - StatInfo _stat(const KUrl& _url); - int freeSpace(const KUrl& url); - - bool stopAfterError(const KUrl& url, const QString& drive); - void errorMissingMToolsProgram(const QString& name); - - void clearBuffers(); - void terminateBuffers(); - char *m_stdoutBuffer; - char *m_stderrBuffer; - int m_stdoutSize; - int m_stderrSize; -}; - -#endif diff --git a/kioslave/floppy/program.cpp b/kioslave/floppy/program.cpp deleted file mode 100644 index e85d886d..00000000 --- a/kioslave/floppy/program.cpp +++ /dev/null @@ -1,198 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2000-2002 Alexander Neundorf - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#include "program.h" - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -Program::Program(const QStringList &args) -:m_pid(0) -,mArgs(args) -,mStarted(false) -{ -} - -Program::~Program() -{ - if (m_pid!=0) - { - ::close(mStdin[0]); - ::close(mStdout[0]); - ::close(mStderr[0]); - - ::close(mStdin[1]); - ::close(mStdout[1]); - ::close(mStderr[1]); - - int s(0); - //::wait(&s); - ::waitpid(m_pid,&s,0); - this->kill(); - ::waitpid(m_pid,&s,WNOHANG); - }; -} - -bool Program::start() -{ - if (mStarted) return false; - if (pipe(mStdout)==-1) return false; - if (pipe(mStdin )==-1) return false; - if (pipe(mStderr )==-1) return false; - - int notificationPipe[2]; - if (pipe(notificationPipe )==-1) return false; - - m_pid=fork(); - - if (m_pid>0) - { - //parent - ::close(mStdin[0]); - ::close(mStdout[1]); - ::close(mStderr[1]); - ::close(notificationPipe[1]); - mStarted=true; - fd_set notifSet; - FD_ZERO(¬ifSet); - FD_SET(notificationPipe[0],¬ifSet); - struct timeval tv; - //wait up to five seconds - - kDebug(7104)<<"**** waiting for notification"; - //0.2 sec - tv.tv_sec=0; - tv.tv_usec=1000*200; - int result=::select(notificationPipe[0]+1,¬ifSet,0,0,&tv); -/* if (result<1) - { - kDebug(7104)<<"**** waiting for notification: failed "<0) - return false; - }; - kDebug(7104)<<"**** waiting for notification: succeeded"<maxFD) maxFD=stderrFD(); - - /*fd_set writeFDs; - FD_ZERO(&writeFDs); - FD_SET(stdinFD(),&writeFDs); - if (stdinFD()>maxFD) maxFD=stdinFD();*/ - maxFD++; - - int result=::select(maxFD,&readFDs,/*&writeFDs*/0,0,&tv); - if (result>0) - { - stdoutReceived=FD_ISSET(stdoutFD(),&readFDs); - stderrReceived=FD_ISSET(stderrFD(),&readFDs); - //stdinWaiting=(FD_ISSET(stdinFD(),&writeFDs)); - }; - return result; -} - -int Program::kill() -{ - if (m_pid==0) - return -1; - return ::kill(m_pid, SIGTERM); - //::kill(m_pid, SIGKILL); -} - diff --git a/kioslave/floppy/program.h b/kioslave/floppy/program.h deleted file mode 100644 index c4342d4a..00000000 --- a/kioslave/floppy/program.h +++ /dev/null @@ -1,53 +0,0 @@ -/* This file is part of the KDE project - Copyright (C) 2000-2002 Alexander Neundorf - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Library General Public - License as published by the Free Software Foundation; either - version 2 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Library General Public License for more details. - - You should have received a copy of the GNU Library General Public License - along with this library; see the file COPYING.LIB. If not, write to - the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, - Boston, MA 02110-1301, USA. -*/ - -#ifndef PROGRAM_H -#define PROGRAM_H - -#include - -/** - * start programs and write to thieir stdin, stderr, - * and read from stdout - **/ -class Program -{ -public: - Program(const QStringList &args); - ~Program(); - bool start(); - bool isRunning(); - - int stdinFD() {return mStdin[1];} - int stdoutFD() {return mStdout[0];} - int stderrFD() {return mStderr[0];} - int pid() {return m_pid;} - int kill(); - int select(int secs, int usecs, bool& stdoutReceived, bool& stderrReceived/*, bool& stdinWaiting*/); -protected: - int mStdout[2]; - int mStdin[2]; - int mStderr[2]; - int m_pid; - QStringList mArgs; - bool mStarted; -}; - -#endif - diff --git a/libs/konq/Templates/CMakeLists.txt b/libs/konq/Templates/CMakeLists.txt index 3a610b20..d46de53f 100644 --- a/libs/konq/Templates/CMakeLists.txt +++ b/libs/konq/Templates/CMakeLists.txt @@ -4,17 +4,14 @@ install( FILES linkProgram.desktop linkURL.desktop linkPath.desktop - linkFloppy.desktop linkHD.desktop linkCDROM.desktop Directory.desktop TextFile.desktop HTMLFile.desktop - linkZIP.desktop linkDVDROM.desktop linkCAMERA.desktop linkCDWRITER.desktop - linkMO.desktop DESTINATION ${KDE4_TEMPLATES_INSTALL_DIR} ) @@ -23,15 +20,12 @@ install( FILES Program.desktop URL.desktop - Floppy.desktop HD.desktop CDROM-Device.desktop TextFile.txt HTMLFile.html - ZIP-Device.desktop DVDROM-Device.desktop CAMERA-Device.desktop CDWRITER-Device.desktop - MO-Device.desktop DESTINATION ${KDE4_TEMPLATES_INSTALL_DIR}/.source ) diff --git a/libs/konq/Templates/Floppy.desktop b/libs/konq/Templates/Floppy.desktop deleted file mode 100644 index d9627577..00000000 --- a/libs/konq/Templates/Floppy.desktop +++ /dev/null @@ -1,79 +0,0 @@ -[Desktop Entry] -Actions=Format; -MountPoint= -Dev= -ReadOnly=false -Type=FSDevice -Icon=media-floppy -X-KDE-Priority=TopLevel - -[Desktop Action Format] -# ctxt: Starts a program to format a floppy drive -Name=Format -Name[ar]=هيِّئ -Name[ast]=Formatu -Name[bg]=Форматиране -Name[bn]=ফরম্যাট -Name[bs]=Formatiranje -Name[ca]=Formata -Name[ca@valencia]=Formata -Name[cs]=Formát -Name[da]=Formatér -Name[de]=Formatieren -Name[el]=Μορφή -Name[en_GB]=Format -Name[es]=Formato -Name[et]=Vormindamine -Name[eu]=Formatua -Name[fi]=Alusta -Name[fr]=Format -Name[ga]=Formáidigh -Name[gl]=Formatar -Name[gu]=બંધારણ -Name[he]=פירמוט -Name[hi]=फॉर्मेट -Name[hr]=Formatiranje -Name[hu]=Formátum -Name[ia]=Formato -Name[id]=Format -Name[is]=Forsníða -Name[it]=Formatta -Name[ja]=フォーマット -Name[ka]=ფორმატი -Name[kk]=Пішімдеу -Name[km]=ទ្រង់ទ្រាយ -Name[kn]=ವಿನ್ಯಾಸ -Name[ko]=포맷 -Name[lt]=Formatas -Name[lv]=Formatēt -Name[mai]=प्रारूप -Name[ml]=ഫോര്‍മാറ്റ് -Name[mr]=स्वरूप -Name[nb]=Format -Name[nds]=Formateren -Name[nl]=Formatteren -Name[nn]=Formater -Name[pa]=ਫਾਰਮੈਟ -Name[pl]=Format -Name[pt]=Formatar -Name[pt_BR]=Formatar -Name[ro]=Formatare -Name[ru]=Форматировать -Name[si]=හැඩතලය -Name[sk]=Formát -Name[sl]=Formatiraj -Name[sr]=Форматирање -Name[sr@ijekavian]=Форматирање -Name[sr@ijekavianlatin]=Formatiranje -Name[sr@latin]=Formatiranje -Name[sv]=Formatera -Name[tg]=Формат -Name[th]=รูปแบบ -Name[tr]=Biçim -Name[ug]=پىچىمى -Name[uk]=Форматувати -Name[wa]=Abwesner -Name[x-test]=xxFormatxx -Name[zh_CN]=格式化 -Name[zh_TW]=格式 -Exec=kfloppy %v diff --git a/libs/konq/Templates/MO-Device.desktop b/libs/konq/Templates/MO-Device.desktop deleted file mode 100644 index d0b18b0e..00000000 --- a/libs/konq/Templates/MO-Device.desktop +++ /dev/null @@ -1,6 +0,0 @@ -[Desktop Entry] -MountPoint= -Dev= -ReadOnly=false -Type=FSDevice -Icon=media-floppy diff --git a/libs/konq/Templates/ZIP-Device.desktop b/libs/konq/Templates/ZIP-Device.desktop deleted file mode 100644 index 5cccc0c9..00000000 --- a/libs/konq/Templates/ZIP-Device.desktop +++ /dev/null @@ -1,104 +0,0 @@ -[Desktop Entry] -MountPoint= -Dev= -ReadOnly=false -Type=FSDevice -Icon=media-floppy -Actions=Eject; -X-KDE-Priority=TopLevel - -[Desktop Action Eject] -Name=Eject -Name[af]=Uitskiet -Name[ar]=أخرِج -Name[as]=বাহিৰ কৰক -Name[ast]=Espulsar -Name[be]=Выштурхнуць -Name[be@latin]=Vysuń -Name[bg]=Изваждане -Name[bn]=ইজেক্ট -Name[bn_IN]=বহিষ্কার -Name[br]=Stlepel -Name[bs]=Izbaci -Name[ca]=Expulsa -Name[ca@valencia]=Expulsa -Name[cs]=Vysunout -Name[csb]=Wësënie -Name[cy]=Allfwrw -Name[da]=Skub ud -Name[de]=Auswerfen -Name[el]=Εξαγωγή -Name[en_GB]=Eject -Name[eo]=Eligi -Name[es]=Expulsar -Name[et]=Väljasta -Name[eu]=Egotzi -Name[fa]=پس زدن -Name[fi]=Poista asemasta -Name[fr]=Éjecter -Name[fy]=Utsmytknop -Name[ga]=Díchuir -Name[gl]=Expulsar -Name[gu]=બહાર નીકાળો -Name[he]=שליפה -Name[hi]=बाहर करें -Name[hne]=बाहिर करव -Name[hr]=Izbaci -Name[hsb]=Wućisnyć -Name[hu]=Kidobás -Name[ia]=Expelle -Name[id]=Keluarkan -Name[is]=Henda út -Name[it]=Espelli -Name[ja]=イジェクト -Name[ka]=CD-ს ამოღება -Name[kk]=Алып-шығару -Name[km]=ច្រាន​ចេញ -Name[kn]=ಹೊರತಳ್ಳು -Name[ko]=꺼내기 -Name[ku]=Biavêje -Name[lt]=Išmesti -Name[lv]=Izgrūst -Name[mai]=बाहर निकालू -Name[mk]=Извади -Name[ml]=പുറത്തെടുക്കുക -Name[mr]=बाहेर काढा -Name[ms]=Lenting -Name[nb]=Løs ut -Name[nds]=Rutfohren -Name[nl]=Uitwerpen -Name[nn]=Løys ut -Name[oc]=Ejectar -Name[or]=ବାହାର କରନ୍ତୁ -Name[pa]=ਬਾਹਰ ਕੱਢੋ -Name[pl]=Wysuń -Name[pt]=Ejectar -Name[pt_BR]=Ejetar -Name[ro]=Scoate suportul -Name[ru]=Извлечь диск -Name[se]=Bálkes olggos -Name[si]=ඉවත් කරන්න -Name[sk]=Vysunúť -Name[sl]=Izvrzi -Name[sr]=Избаци -Name[sr@ijekavian]=Избаци -Name[sr@ijekavianlatin]=Izbaci -Name[sr@latin]=Izbaci -Name[sv]=Mata ut -Name[ta]=வெளித்தள் -Name[te]=ఎజెక్ట్ -Name[tg]=Баровардан -Name[th]=เอาแผ่นสื่อออก -Name[tr]=Çıkart -Name[ug]=چىقار -Name[uk]=Виштовхнути -Name[uz]=Chiqarish -Name[uz@cyrillic]=Чиқариш -Name[vi]=Đẩy ra -Name[wa]=Fé rexhe -Name[xh]=Khuphela ngaphandle -Name[x-test]=xxEjectxx -Name[zh_CN]=弹出 -Name[zh_TW]=退出 -Icon=media-eject -Exec=kdeeject %v diff --git a/libs/konq/Templates/linkFloppy.desktop b/libs/konq/Templates/linkFloppy.desktop deleted file mode 100644 index 3d8e8460..00000000 --- a/libs/konq/Templates/linkFloppy.desktop +++ /dev/null @@ -1,183 +0,0 @@ -[Desktop Entry] -Name=Floppy Device... -Name[af]=Sagteskyf Toestel... -Name[ar]=جهاز قرص مرن ... -Name[as]=Floppy যন্ত্ৰ... -Name[ast]=Disquetera... -Name[be]=Дыскета... -Name[be@latin]=Dyskietnik... -Name[bg]=Флопи... -Name[bn]=ফ্লপি ডিভাইস... -Name[bn_IN]=ফ্লপি ডিভাইস... -Name[br]=Trobarzhell Pladennig ... -Name[bs]=Uređaj: flopi... -Name[ca]=Dispositiu de disquet... -Name[ca@valencia]=Dispositiu de disquet... -Name[cs]=Disketová mechanika... -Name[csb]=Nëk disczétków... -Name[cy]=Dyfais Disg Meddal... -Name[da]=Floppy-enhed... -Name[de]=Diskettenlaufwerk ... -Name[el]=Συσκευή δισκέτας... -Name[en_GB]=Floppy Device... -Name[eo]=Disketingo... -Name[es]=Disquetera... -Name[et]=Flopiseade... -Name[eu]=Diskete gailua... -Name[fi]=Levykeasema… -Name[fr]=Lecteur de disquettes... -Name[fy]=Slappe skiifstasjon... -Name[ga]=Gléas Diosca Flapach... -Name[gl]=Disqueteira... -Name[gu]=ફ્લોપી ઉપકરણ... -Name[he]=התקן דיסקט... -Name[hi]=फ़्लॉपी उपकरण... -Name[hne]=फ्लापी उपकरन... -Name[hr]=Disketni uređaj… -Name[hsb]=Disketnik ... -Name[hu]=Floppy-meghajtó… -Name[ia]=Dispositivo floppy... -Name[id]=Divais Disket... -Name[is]=Disklingadrif... -Name[it]=Dispositivo per dischetti... -Name[ja]=フロッピーデバイス... -Name[ka]=დრეკადი დისკის წამყვანი -Name[kk]=Иілгіш диск құрылғысы... -Name[km]=ឧបករណ៍​ថាសទន់... -Name[kn]=ಮೆದುಮುದ್ರಿಕೆ ಸಾಧನ... -Name[ko]=플로피 장치... -Name[ku]=Cîhaza Flopî... -Name[lt]=Diskelių įrenginys... -Name[lv]=Diskešu ierīce... -Name[mai]=फ्लापी युक्ति... -Name[mk]=Дискетна единица... -Name[ml]=ഫ്ലോപ്പി ഉപകരണം... -Name[mr]=फ्लॉपी साधन... -Name[ms]=Peranti Liut... -Name[nb]=Diskettenhet … -Name[nds]=Diskett-Reedschap... -Name[nl]=Diskettestation... -Name[nn]=Diskett­stasjon … -Name[or]=ଫ୍ଲୋପି ଉପକରଣ... -Name[pa]=ਫਲਾਪੀ ਜੰਤਰ... -Name[pl]=Stacja dyskietek... -Name[pt]=Disquete... -Name[pt_BR]=Dispositivo de disquete... -Name[ro]=Dispozitiv Dischieră... -Name[ru]=Дисковод... -Name[se]=Dipmaskearrostašuvdna … -Name[si]=මෘදු තැටි උපාංගය... -Name[sk]=Disketová mechanika... -Name[sl]=Disketnik ... -Name[sr]=Флопи... -Name[sr@ijekavian]=Флопи... -Name[sr@ijekavianlatin]=Flopi... -Name[sr@latin]=Flopi... -Name[sv]=Diskettenhet... -Name[ta]=நெகிழ்வட்டு சாதனம்... -Name[te]=ఫ్లాపీ పరికరం... -Name[tg]=Дастгоҳи дискета (Floppy)... -Name[th]=อุปกรณ์อ่านแผ่นฟลอปปี... -Name[tr]=Disket Aygıtı... -Name[ug]=يۇمشاق دىسكا قوزغاتقۇچ ئۈسكۈنىسى… -Name[uk]=Пристрій гнучкого диска... -Name[uz]=Disket uskunasi... -Name[uz@cyrillic]=Дискет ускунаси... -Name[vi]=Thiết bị đĩa mềm... -Name[wa]=Diskete... -Name[x-test]=xxFloppy Device...xx -Name[zh_CN]=软驱设备... -Name[zh_TW]=軟碟機裝置... -Comment=New Floppy Device -Comment[af]=Nuwe Sagteskyf Toestel -Comment[ar]=جهاز قرص مرن جديد -Comment[as]=নতুন Floppy যন্ত্ৰ -Comment[ast]=Nueva disquetera -Comment[be]=Новая дыскета -Comment[be@latin]=Novy dyskietnik -Comment[bg]=Ново флопи -Comment[bn]=নতুন ফ্লপি ডিভাইস -Comment[bn_IN]=নতুন ফ্লপি ডিভাইস -Comment[br]=Trobarzhell Bladennig Nevez -Comment[bs]=Novi uređaj, flopi -Comment[ca]=Dispositiu de disquet nou -Comment[ca@valencia]=Dispositiu de disquet nou -Comment[cs]=Nová disketová mechanika -Comment[csb]=Nowi nëk disczétków -Comment[cy]=Dyfais Disg Meddal Newydd -Comment[da]=Ny floppy-enhed -Comment[de]=Neues Diskettenlaufwerk -Comment[el]=Νέα συσκευή δισκέτας -Comment[en_GB]=New Floppy Device -Comment[eo]=Nova disketingo -Comment[es]=Nueva disquetera -Comment[et]=Uus flopiseade -Comment[eu]=Diskete gailu berria -Comment[fi]=Uusi levykeasema -Comment[fr]=Nouveau lecteur de disquettes -Comment[fy]=Nije slappe skiifstasjon -Comment[ga]=Gléas nua diosca flapach -Comment[gl]=Novo dispositivo de disquetes -Comment[gu]=નવું ફ્લોપી ઉપકરણ -Comment[he]=התקן דיסקט חדש -Comment[hi]=नया फ़्लॉपी उपकरण -Comment[hne]=नवा फ्लापी उपकरन -Comment[hr]=Novi disketni uređaj -Comment[hsb]=Nowy disketnik -Comment[hu]=Új floppy-meghajtó -Comment[ia]=Nove dispositivo floppy -Comment[id]=Divais Disket Baru -Comment[is]=Nýtt disklingadrif -Comment[it]=Nuovo dispositivo per dischetti -Comment[ja]=新しいフロッピーデバイス -Comment[ka]=ახალი დრეკადი დისკის წამყვანი -Comment[kk]=Жана Иілгіш дискі -Comment[km]=ឧបករណ៍​ថាសទន់​ថ្មី -Comment[kn]=ಹೊಸ ಮೆದುಮುದ್ರಿಕೆ ಸಾಧನ -Comment[ko]=새 플로피 장치 -Comment[ku]=Cihaza Flopî ya Nû -Comment[lt]=Naujas diskelių įrenginys -Comment[lv]=Jauna diskešu ierīce -Comment[mai]=नव फ्लापी युक्ति -Comment[mk]=Нова дискетна единица -Comment[ml]=പുതിയ ഫ്ലോപ്പി ഉപകരണം -Comment[mr]=नवीन Floppy साधन -Comment[ms]=Peranti Liut Baru -Comment[nb]=Ny diskettenhet -Comment[nds]=Niege Diskettreedschap -Comment[nl]=Nieuw diskettestation -Comment[nn]=Ny diskett­stasjon -Comment[or]=ନୂତନ ଫ୍ଲୋପି ଉପକରଣ... -Comment[pa]=ਨਵਾਂ ਫਲਾਪੀ ਜੰਤਰ -Comment[pl]=Nowa stacja dyskietek -Comment[pt]=Novo Leitor de Disquetes -Comment[pt_BR]=Novo dispositivo de disquete -Comment[ro]=Dispozitiv Dischieră nou -Comment[ru]=Ссылка на устройство дисковода -Comment[se]=Ođđa dipmaskearrostašuvdna -Comment[si]=නව මෘදු තැටි උපාංගය -Comment[sk]=Nová disketová mechanika -Comment[sl]=Nov disketnik -Comment[sr]=Нови флопи -Comment[sr@ijekavian]=Нови флопи -Comment[sr@ijekavianlatin]=Novi flopi -Comment[sr@latin]=Novi flopi -Comment[sv]=Ny diskettenhet -Comment[ta]=புது நெகிழ்வட்டு சாதனம் -Comment[te]=కొత్త ఫ్లాపీ పరికరం -Comment[tg]=Дастгоҳи дискетаи (Floppy) нав -Comment[th]=อุปกรณ์อ่านแผ่นฟลอปปีตัวใหม่ -Comment[tr]=Yeni Disket Aygıtı -Comment[ug]=يېڭى يۇمشاق دىسكا قوزغاتقۇچ ئۈسكۈنىسى -Comment[uk]=Новий пристрій гнучкого диска -Comment[uz]=Yangi disket uskunasi -Comment[uz@cyrillic]=Янги дискет ускунаси -Comment[vi]=Thiết bị đĩa mềm mới -Comment[wa]=Novele diskete -Comment[xh]=Icebo Elitsha le Floppy -Comment[x-test]=xxNew Floppy Devicexx -Comment[zh_CN]=新建软驱设备 -Comment[zh_TW]=新的軟碟機裝置 -Type=Link -URL=.source/Floppy.desktop -Icon=media-floppy diff --git a/libs/konq/Templates/linkMO.desktop b/libs/konq/Templates/linkMO.desktop deleted file mode 100644 index f2e2a3bf..00000000 --- a/libs/konq/Templates/linkMO.desktop +++ /dev/null @@ -1,176 +0,0 @@ -[Desktop Entry] -Name=MO Device... -Name[af]=MO Toestel... -Name[ar]=الجهاز MO ... -Name[as]=MO যন্ত্ৰ... -Name[ast]=Preseos MO... -Name[be]=Прылада MO... -Name[be@latin]=Pryłada MO... -Name[bg]=MO... -Name[bn]=MO ডিভাইস... -Name[bn_IN]=MO ডিভাইস... -Name[br]=Trobarzhell MO ... -Name[bs]=Uređaj: ⁠MO... -Name[ca]=Dispositiu MO... -Name[ca@valencia]=Dispositiu MO... -Name[cs]=MO zařízení... -Name[csb]=Nëk MO... -Name[cy]=Dyfais MO... -Name[da]=MO-enhed... -Name[de]=MO-Laufwerk ... -Name[el]=Συσκευή MO... -Name[en_GB]=MO Device... -Name[eo]=Magnetdiskingo... -Name[es]=Dispositivo MO... -Name[et]=MO seade... -Name[eu]=MO gailua... -Name[fi]=MO-laite… -Name[fr]=Périphérique MO... -Name[fy]=Magnetyske skiif stasjon... -Name[ga]=Gléas MO... -Name[gl]=Dispositivo MO... -Name[gu]=MO ઉપકરણ... -Name[he]=התקן MO... -Name[hi]=एमओ उपकरण... -Name[hne]=एमओ औजार... -Name[hr]=MO uređaj… -Name[hsb]=Magnetooptiski grat... -Name[hu]=Magnetooptikai eszköz… -Name[ia]=Dispositivo MO... -Name[id]=Divais MO... -Name[is]=MO tæki... -Name[it]=Dispositivo MO... -Name[ja]=MO デバイス... -Name[ka]=MO მოწყობილობა -Name[kk]=MO құрылғы... -Name[km]=ឧបករណ៍ MO... -Name[kn]=MOಸಾಧನ... -Name[ko]=MO 장치... -Name[ku]=Cîhaza MO... -Name[lt]=MO įrenginys... -Name[lv]=MO ierīce... -Name[mai]=MO युक्ति... -Name[mk]=MO Уред... -Name[ml]=എംഒ ഉപകരണം... -Name[mr]=MO साधन... -Name[ms]=Peranti MO... -Name[nb]=MO-enhet … -Name[nds]=MO-Reedschap... -Name[nl]=MO-apparaat... -Name[nn]=MO-eining … -Name[or]=MO ଉପକରଣ... -Name[pa]=MO ਜੰਤਰ... -Name[pl]=Napęd magnetooptyczny... -Name[pt]=Dispositivo MO... -Name[pt_BR]=Dispositivo MO... -Name[ro]=Dispozitiv MO... -Name[ru]=Магнитооптическое устройство... -Name[se]=MO-ovttadat … -Name[si]=MO උපාංගය... -Name[sk]=Zariadenie MO... -Name[sl]=Naprava MO ... -Name[sr]=⁠МО... -Name[sr@ijekavian]=⁠МО... -Name[sr@ijekavianlatin]=⁠MO... -Name[sr@latin]=⁠MO... -Name[sv]=MO-enhet... -Name[ta]=MO சாதனம்... -Name[te]=ఎంఓ పరికరం... -Name[tg]=Дастгоҳи MO... -Name[th]=อุปกรณ์ MO... -Name[tr]=MO Aygıtı... -Name[ug]=MO ئۈسكۈنىسى… -Name[uk]=Пристрій MO... -Name[uz]=MO uskunasi -Name[uz@cyrillic]=MO ускунаси -Name[vi]=Thiết bị MO... -Name[wa]=Éndjin MO... -Name[x-test]=xxMO Device...xx -Name[zh_CN]=MO 设备... -Name[zh_TW]=MO 裝置... -Comment=New MO Device -Comment[af]=Nuwe MO Toestel... -Comment[ar]=جهاز MO جديد -Comment[as]=নতুন MO যন্ত্ৰ -Comment[ast]=Nuevu preséu MO -Comment[be]=Новая магнітааптычная прылада -Comment[be@latin]=Novaja pryłada MO -Comment[bg]=Ново MO устройство -Comment[bn]=নতুন MO ডিভাইস -Comment[bn_IN]=নতুন MO ডিভাইস -Comment[bs]=Novi uređaj, ⁠MO -Comment[ca]=Dispositiu MO nou -Comment[ca@valencia]=Dispositiu MO nou -Comment[cs]=Nové MO zařízení -Comment[csb]=Nowi nëk MO -Comment[da]=Ny MO-enhed -Comment[de]=Neues MO-Laufwerk -Comment[el]=Νέα συσκευή MO -Comment[en_GB]=New MO Device -Comment[eo]=Nova magnetdiska aparato -Comment[es]=Nuevo dispositivo MO -Comment[et]=Uus MO seade -Comment[eu]=MO gailu berria -Comment[fi]=Uusi MO-laite -Comment[fr]=Nouveau périphérique MO -Comment[fy]=Nije magnetyske skiif stasjon -Comment[ga]=Gléas Nua MO -Comment[gl]=Novo dispositivo MO -Comment[gu]=નવું MO ઉપકરણ -Comment[he]=התקן MO חדש -Comment[hi]=नया एमओ उपकरण -Comment[hne]=नवा एमओ उपकरन -Comment[hr]=Novi MO uređaj -Comment[hsb]=Nowy magnetooptiski grat -Comment[hu]=Új magnetooptikai meghajtó -Comment[ia]=Nove dispositivo MO -Comment[id]=Divais MO Baru -Comment[is]=Nýtt MO-drif -Comment[it]=Nuovo dispositivo MO -Comment[ja]=新しい MO デバイス -Comment[kk]=Жаңа MO -Comment[km]=ឧបករណ៍ MO ថ្មី -Comment[kn]=ಹೊಸ MO ಸಾಧನ -Comment[ko]=새 MO 장치 -Comment[ku]=Cihaza MO ya Nû -Comment[lt]=Naujas MO įrenginys -Comment[lv]=Jauna MO ierīce -Comment[mai]=नव MO युक्ति -Comment[mk]=Нов MO уред -Comment[ml]=പുതിയ എംഒ ഉപകരണം... -Comment[mr]=नवीन MO साधन -Comment[ms]=Peranti MO Baru -Comment[nb]=Ny MO-enhet -Comment[nds]=Niege MO-Reedschap -Comment[nl]=Nieuw MO-apparaat -Comment[nn]=Ny MO-eining -Comment[or]=ନୂତନ MO ଉପକରଣ -Comment[pa]=ਨਵਾਂ MO ਜੰਤਰ -Comment[pl]=Nowy napęd MO -Comment[pt]=Novo Dispositivo MO -Comment[pt_BR]=Novo dispositivo MO -Comment[ro]=Dispozitiv MO nou -Comment[ru]=Ссылка на магнитооптическое устройство -Comment[se]=Ođđa MO-ovttadat -Comment[si]=නව MO උපාංගය -Comment[sk]=Nové zariadenie MO -Comment[sl]=Nova naprava MO -Comment[sr]=Нови ⁠МО -Comment[sr@ijekavian]=Нови ⁠МО -Comment[sr@ijekavianlatin]=Novi ⁠MO -Comment[sr@latin]=Novi ⁠MO -Comment[sv]=Ny MO-enhet -Comment[ta]=புதிய MO கருவி -Comment[te]=కొత్త ఎంఓ పరికరం -Comment[tg]=Дастгоҳи MO-и нав -Comment[th]=อุปกรณ์ MO ตัวใหม่ -Comment[tr]=Yeni MO Aygıtı -Comment[ug]=يېڭى MO ئۈسكۈنىسى -Comment[uk]=Новий пристрій MO -Comment[wa]=Novea éndjin MO -Comment[x-test]=xxNew MO Devicexx -Comment[zh_CN]=新建 MO 设备 -Comment[zh_TW]=新的 MO 裝置 -Type=Link -URL=.source/MO-Device.desktop -Icon=media-floppy diff --git a/libs/konq/Templates/linkZIP.desktop b/libs/konq/Templates/linkZIP.desktop deleted file mode 100644 index 8efdeb0c..00000000 --- a/libs/konq/Templates/linkZIP.desktop +++ /dev/null @@ -1,182 +0,0 @@ -[Desktop Entry] -Name=ZIP Device... -Name[af]=ZIP Toestel... -Name[ar]=جهاز ZIP ... -Name[as]=ZIP যন্ত্ৰ... -Name[ast]=Unidá ZIP... -Name[be]=Прылада ZIP... -Name[be@latin]=Pryłada ZIP... -Name[bg]=ZIP... -Name[bn]=ZIP ডিভাইস... -Name[bn_IN]=ZIP ডিভাইস... -Name[br]=Trobarzhell ZIP ... -Name[bs]=Uređaj: zip... -Name[ca]=Dispositiu ZIP... -Name[ca@valencia]=Dispositiu ZIP... -Name[cs]=ZIP zařízení... -Name[csb]=Nëk ZIP... -Name[cy]=Dyfais ZIP... -Name[da]=ZIP-enhed... -Name[de]=ZIP-Laufwerk ... -Name[el]=Συσκευή ZIP... -Name[en_GB]=ZIP Device... -Name[eo]=ZIP-ingo... -Name[es]=Unidad ZIP... -Name[et]=ZIP seade... -Name[eu]=ZIP gailua... -Name[fi]=ZIP-laite… -Name[fr]=Lecteur ZIP... -Name[fy]=ZIP-apparaat... -Name[ga]=Gléas ZIP... -Name[gl]=Dispositivo ZIP... -Name[gu]=ઝીપ ઉપકરણ... -Name[he]=התקן ZIP... -Name[hi]=जिप उपकरण... -Name[hne]=जिप उपकरन... -Name[hr]=ZIP uređaj… -Name[hsb]=ZIPnik -Name[hu]=ZIP-meghajtó… -Name[ia]=Dispositivo ZIP... -Name[id]=Divais ZIP... -Name[is]=ZIP-drif... -Name[it]=Dispositivo ZIP... -Name[ja]=ZIP デバイス... -Name[ka]=ZIP მოწყობილობა... -Name[kk]=ZIP құрылғы... -Name[km]=ឧបករណ៍ ZIP... -Name[kn]=ಜಿಪ್ ಸಾಧನ... -Name[ko]=ZIP 장치... -Name[ku]=Cîhaza ZIP... -Name[lt]=ZIP įrenginys... -Name[lv]=ZIP ierīce... -Name[mai]=जिप युक्ति... -Name[mk]=ZIP Уред... -Name[ml]=സിപ്പ് ഉപകരണം... -Name[mr]=ZIP साधन... -Name[ms]=Peranti ZIP... -Name[nb]=ZIP-enhet … -Name[nds]=ZIP-Reedschap... -Name[nl]=ZIP-station... -Name[nn]=ZIP-eining … -Name[or]=ZIP ଉପକରଣ... -Name[pa]=ZIP ਜੰਤਰ... -Name[pl]=Napęd ZIP... -Name[pt]=Dispositivo ZIP... -Name[pt_BR]=Dispositivo ZIP... -Name[ro]=Dispozitiv ZIP... -Name[ru]=ZIP... -Name[se]=ZIP-ovttadat … -Name[si]=ZIP උපාංගය... -Name[sk]=Zariadenie ZIP... -Name[sl]=Naprava ZIP ... -Name[sr]=Зип... -Name[sr@ijekavian]=Зип... -Name[sr@ijekavianlatin]=Zip... -Name[sr@latin]=Zip... -Name[sv]=Zip-enhet... -Name[ta]=ZIP சாதனங்கள் -Name[te]=జిప్ పరికరం... -Name[tg]=Дастгоҳи ZIP... -Name[th]=อุปกรณ์ดิสก์ ZIP... -Name[tr]=ZIP Aygıtı... -Name[ug]=ZIP ئۈسكۈنىسى… -Name[uk]=Пристрій ZIP... -Name[uz]=ZIP uskunasi... -Name[uz@cyrillic]=ZIP ускунаси... -Name[vi]=Thiết bị đĩa ZIP... -Name[wa]=Éndjin ZIP... -Name[x-test]=xxZIP Device...xx -Name[zh_CN]=ZIP 设备... -Name[zh_TW]=ZIP 裝置... -Comment=New ZIP Device -Comment[af]=Nuwe ZIP Toestel... -Comment[ar]=جهاز ZIP جديد -Comment[as]=নতুন ZIP যন্ত্ৰ -Comment[ast]=Nueva unidá ZIP -Comment[be]=Новая прылада ZIP -Comment[be@latin]=Novaja pryłada ZIP -Comment[bg]=Ново ZIP устройство -Comment[bn]=নতুন ZIP ডিভাইস -Comment[bn_IN]=নতুন ZIP ডিভাইস -Comment[br]=Trobarzhell ZIP Nevez -Comment[bs]=Novi uređaj, zip -Comment[ca]=Dispositiu ZIP nou -Comment[ca@valencia]=Dispositiu ZIP nou -Comment[cs]=Nové ZIP zařízení... -Comment[csb]=Nowi nëk ZIP -Comment[cy]=Dyfais ZIP Newydd -Comment[da]=Ny ZIP-enhed -Comment[de]=Neues ZIP-Laufwerk -Comment[el]=Νέα συσκευή ZIP -Comment[en_GB]=New ZIP Device -Comment[eo]=Nova ZIP-ingo -Comment[es]=Nueva unidad ZIP -Comment[et]=Uus ZIP seade -Comment[eu]=ZIP gailu berria -Comment[fi]=Uusi ZIP-laite -Comment[fr]=Nouveau lecteur ZIP -Comment[fy]=Nije ZIP-apparaat -Comment[ga]=Gléas Nua ZIP -Comment[gl]=Novo dispositivo ZIP -Comment[gu]=નવું ઝીપ ઉપકરણ -Comment[he]=התקן ZIP חדש -Comment[hi]=नया जिप उपकरण -Comment[hne]=नवा जिप उपकरन -Comment[hr]=Novi ZIP uređaj -Comment[hsb]=Nowy ZIPnik -Comment[hu]=Új ZIP-lemezes meghajtó -Comment[ia]=Nove dispositivo ZIP -Comment[id]=Divais ZIP Baru -Comment[is]=Nýtt ZIP-drif -Comment[it]=Nuovo dispositivo ZIP -Comment[ja]=新しい ZIP デバイス -Comment[ka]=ახალი ZIP მოწყობილობა -Comment[kk]=Жаңа ZIP құрылғы -Comment[km]=ឧបករណ៍ ZIP ថ្មី -Comment[kn]=ಹೊಸ ಜಿಪ್ ಸಾಧನ -Comment[ko]=새 ZIP 장치 -Comment[ku]=Cihaza Nû ya ZIP -Comment[lt]=Naujas ZIP įrenginys -Comment[lv]=Jauna ZIP ierīce -Comment[mai]=नव जिप युक्ति -Comment[mk]=Нов ZIP уред -Comment[ml]=പുതിയ സിപ്പ് ഉപകരണം -Comment[mr]=नवीन ZIP साधन -Comment[ms]=Peranti ZIP Baru -Comment[nb]=Ny ZIP-enhet -Comment[nds]=Niege ZIP-Reedschap -Comment[nl]=Nieuw ZIP-station -Comment[nn]=Ny ZIP-eining -Comment[or]=ନୂତନ ZIP ଉପକରଣ -Comment[pa]=ਨਵਾਂ ZIP ਜੰਤਰ -Comment[pl]=Nowy napęd ZIP -Comment[pt]=Novo Dispositivo ZIP -Comment[pt_BR]=Novo dispositivo ZIP -Comment[ro]=Dispozitiv ZIP nou -Comment[ru]=Ссылка на устройство ZIP -Comment[se]=Ođđa ZIP-ovttadat -Comment[si]=නව ZIP උපකරණය -Comment[sk]=Nové zariadenie ZIP -Comment[sl]=Nova naprava ZIP -Comment[sr]=Нови зип -Comment[sr@ijekavian]=Нови зип -Comment[sr@ijekavianlatin]=Novi Zip -Comment[sr@latin]=Novi Zip -Comment[sv]=Ny Zip-enhet -Comment[ta]=புதிய ZIP சாதனம் -Comment[te]=కొత్త జిప్ పరికరం -Comment[tg]=Дастгоҳи ZIP-и нав -Comment[th]=อุปกรณ์ดิสก์ ZIP ตัวใหม่ -Comment[tr]=Yeni ZIP Aygıtı -Comment[ug]=يېڭى ZIP ئۈسكۈنىسى -Comment[uk]=Новий пристрій ZIP -Comment[uz]=Yangi ZIP uskunasi -Comment[uz@cyrillic]=Янги ZIP ускунаси -Comment[vi]=Thiết bị đĩa ZIP mới -Comment[wa]=Novea éndjin ZIP -Comment[x-test]=xxNew ZIP Devicexx -Comment[zh_CN]=新建 ZIP 设备 -Comment[zh_TW]=新的 ZIP 裝置 -Type=Link -URL=.source/ZIP-Device.desktop -Icon=media-floppy