pax_global_header00006660000000000000000000000064114501426100014504gustar00rootroot0000000000000052 comment=37659c1fe56d6f43150c4cb6eac76579eeaf5fe8 fatrat-czshare-1.1.3/000077500000000000000000000000001145014261000144245ustar00rootroot00000000000000fatrat-czshare-1.1.3/CMakeLists.txt000066400000000000000000000034331145014261000171670ustar00rootroot00000000000000project(fatrat-czshare) cmake_minimum_required(VERSION 2.4.0) if(COMMAND cmake_policy) cmake_policy(SET CMP0003 NEW) endif(COMMAND cmake_policy) find_package(Qt4 REQUIRED) set(CMAKE_MODULE_PATH cmake_modules) set(QT_USE_QTNETWORK TRUE) set(QT_USE_QTXML TRUE) set(fatrat_DIR ${CMAKE_MODULE_PATH}) find_package(fatrat REQUIRED) if(FATRAT_FOUND) message(STATUS "fatrat found OK - ${FATRAT_INCLUDE_DIRS}") include_directories(${FATRAT_INCLUDE_DIRS}) else(FATRAT_FOUND) message(FATAL_ERROR "No FatRat development headers found") endif(FATRAT_FOUND) include( ${QT_USE_FILE} ) add_definitions(${QT_DEFINITIONS}) add_definitions(-fvisibility=hidden) include_directories(./ ${CMAKE_CURRENT_BINARY_DIR} ${QT_INCLUDE_DIR}) CONFIGURE_FILE(config.h.in config.h) set(fatrat-czshare_SRCS fr_czshare.cpp CzshareDownload.cpp CzshareUpload.cpp SettingsCzshare.cpp ) set(fatrat-czshare_MOC_HDRS CzshareDownload.h CzshareUpload.h SettingsCzshare.h ) set(fatrat-czshare_UIS SettingsCzshare.ui CzshareDownloadForm.ui ) qt4_wrap_cpp(fatrat-czshare_MOC_SRCS ${fatrat-czshare_MOC_HDRS}) set(fatrat-czshare_RCS gfx/czshare.qrc ) qt4_wrap_ui(fatrat-czshare_UIS_H ${fatrat-czshare_UIS}) qt4_add_resources(fatrat-czshare_QRC_H gfx/czshare.qrc) qt4_add_translation(lrelease_outputs locale/fatrat-czshare_cs_CZ.ts locale/fatrat-czshare_sk_SK.ts) add_library(fatrat-czshare SHARED ${fatrat-czshare_SRCS} ${fatrat-czshare_MOC_SRCS} ${fatrat-czshare_UIS_H} ${fatrat-czshare_QRC_H} ${lrelease_outputs}) target_link_libraries(fatrat-czshare ${QT_LIBRARIES}) if(WITH_NLS) install(FILES ${lrelease_outputs} DESTINATION share/fatrat/lang) endif(WITH_NLS) install(TARGETS fatrat-czshare DESTINATION lib/fatrat/plugins) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/data/TRANSLATIONS DESTINATION share/doc/fatrat-czshare ) fatrat-czshare-1.1.3/CzshareDownload.cpp000066400000000000000000000176121145014261000202260ustar00rootroot00000000000000/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2008 Lubos Dolezel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "CzshareDownload.h" #include "SettingsCzshare.h" #include #include #include #include #include #include const char* CZSHARE_REGEXP = "http://(www\\.)?czshare\\.com/\\d+/.+"; const char* CZSHARE_REGEXP_OLD = "http://(www\\.)?czshare\\.com/download_file\\.php\\?id=(\\d+)&file=(.+)"; CzshareDownload::CzshareDownload() { } void CzshareDownload::globalInit() { SettingsItem si; si.icon = DelayedIcon(":/czshare/czshare.png"); si.title = tr("CZshare.com"); si.lpfnCreate = SettingsCzshare::create; addSettingsPage(si); } void CzshareDownload::init(QString source, QString target) { QRegExp re(CZSHARE_REGEXP), re_old(CZSHARE_REGEXP_OLD); if(re_old.exactMatch(source)) source = QString("http://czshare.com/%1/%2").arg(re_old.cap(2)).arg(re_old.cap(3)); else if(!re.exactMatch(source)) throw RuntimeException(tr("This class doesn't support such URLs")); if(!target.startsWith("/")) throw RuntimeException(tr("The destination directory is invalid")); m_strOriginal = source; m_strTarget = target; } QString CzshareDownload::name() const { if(m_strConverted.isEmpty()) return tr("URL not converted yet"); else return CurlDownload::name(); } void CzshareDownload::load(const QDomNode& map) { m_strOriginal = getXMLProperty(map, "czshare_original"); m_strConverted = getXMLProperty(map, "czshare_converted"); m_strTarget = getXMLProperty(map, "czshare_target"); CurlDownload::load(map); } void CzshareDownload::save(QDomDocument& doc, QDomNode& map) const { CurlDownload::save(doc, map); setXMLProperty(doc, map, "czshare_original", m_strOriginal); setXMLProperty(doc, map, "czshare_converted", m_strConverted); setXMLProperty(doc, map, "czshare_target", m_strTarget); } void CzshareDownload::setObject(QString newdir) { if(!m_strConverted.isEmpty()) CurlDownload::setObject(newdir); m_strTarget = newdir; } void CzshareDownload::changeActive(bool bActive) { if(!m_strConverted.isEmpty()) { CurlDownload::changeActive(bActive); } else if(bActive) { m_step = 0; if(m_strUser.isEmpty() || m_strPassword.isEmpty()) { m_strUser = getSettingsValue("czshare/username").toString(); m_strPassword = getSettingsValue("czshare/password").toString(); } if(m_strUser.isEmpty() || m_strPassword.isEmpty()) { m_strMessage = tr("Account information empty"); setState(Failed); } else { if(QThread::currentThread() != QApplication::instance()->thread()) moveToThread(QApplication::instance()->thread()); QMetaObject::invokeMethod(this, "convertLink", Qt::QueuedConnection); } } } int CzshareDownload::acceptable(QString uri, bool) { QRegExp re(CZSHARE_REGEXP), re_old(CZSHARE_REGEXP_OLD); if(re.exactMatch(uri) || re_old.exactMatch(uri)) return 3; else return 0; } void CzshareDownload::convertLink() { qDebug() << "convertLink()"; m_http = new QHttp("czshare.com", 80); connect(m_http, SIGNAL(responseHeaderReceived(const QHttpResponseHeader&)), this, SLOT(authHeaders(const QHttpResponseHeader&))); m_http->get("/prihlasit.php"); m_strSessID.clear(); } void CzshareDownload::headersStep1(const QHttpResponseHeader& hdr) { QList > values = hdr.values(); for(int i=0;i= 0) { m_strSessID = re.cap(1); break; } } if(m_strSessID.isEmpty()) { m_strMessage = tr("Cannot get a session"); setState(Failed); return; } qDebug() << "Session:" << m_strSessID; QHttpRequestHeader rhdr("POST", "/prihlasit.php"); rhdr.addValue("Content-Type", "application/x-www-form-urlencoded"); rhdr.addValue("Host", "czshare.com"); rhdr.addValue("Cookie", "PHPSESSID="+m_strSessID); m_http->deleteLater(); m_http = new QHttp("czshare.com", 80); connect(m_http, SIGNAL(responseHeaderReceived(const QHttpResponseHeader&)), this, SLOT(authHeaders(const QHttpResponseHeader&))); int id = m_http->request(rhdr, QByteArray("id=&file=&prihlasit=P%C5%99ihl%C3%A1sit&step=1&jmeno=") + m_strUser.toUtf8() + "&heslo=" + m_strPassword.toUtf8()); qDebug() << "request id" << id; } void CzshareDownload::headersStep2(const QHttpResponseHeader& hdr) { qDebug() << "CzshareDownload::headersStep2()"; QList > values = hdr.values(); bool bLoginOK = false; for(int i=0;ideleteLater(); if(!bLoginOK) { m_strMessage = tr("Login failed"); setState(Failed); return; } else qDebug() << "Logged in"; m_http = new QHttp("czshare.com", 80); m_buffer = new QBuffer; QHttpRequestHeader rhdr("POST", "/profi/graber.php"); rhdr.addValue("Content-Type", "application/x-www-form-urlencoded"); rhdr.addValue("Host", "czshare.com"); rhdr.addValue("Cookie", "PHPSESSID="+m_strSessID); connect(m_http, SIGNAL(done(bool)), this, SLOT(requestDone(bool))); int id = m_http->request(rhdr, QByteArray("stahovat=stahovat&linky=") + QUrl::toPercentEncoding(m_strOriginal), m_buffer); qDebug() << "Request ID" << id; } void CzshareDownload::authHeaders(const QHttpResponseHeader& hdr) { if(m_step == 0) { headersStep1(hdr); m_step++; } else { m_step++; headersStep2(hdr); } } void CzshareDownload::requestDone(bool error) { m_http->deleteLater(); m_buffer->deleteLater(); if(error) { m_strMessage = tr("HTTP request failed"); setState(Failed); } else { /* rank.csmazat */ //QRegExp re("http://www(\\d+)\\.czshare.com/profi.php\\?([^\"]+)"); QRegExp re(""); if(re.indexIn(m_buffer->data()) < 0) { m_strMessage = tr("Failed to convert the link"); setState(Failed); } else { m_strConverted = re.cap(1); enterLogMessage(m_strConverted); qDebug() << m_strConverted << " -> " << m_strTarget; try { CurlDownload::init(m_strConverted, m_strTarget); } catch(const RuntimeException& e) { m_strMessage = e.what(); setState(Failed); m_strConverted.clear(); return; } if(isActive()) changeActive(true); } } } WidgetHostChild* CzshareDownload::createOptionsWidget(QWidget* w) { return new CzshareDownloadForm(w, this); } void CzshareDownload::fillContextMenu(QMenu& menu) { QAction* a; a = menu.addAction(tr("Compute hash...")); connect(a, SIGNAL(triggered()), this, SLOT(computeHash())); } //////////////////////////////////////////////// CzshareDownloadForm::CzshareDownloadForm(QWidget* me, CzshareDownload* myobj) : m_myobj(myobj) { setupUi(me); } void CzshareDownloadForm::load() { lineUsername->setText(m_myobj->m_strUser); linePassword->setText(m_myobj->m_strPassword); } void CzshareDownloadForm::accepted() { m_myobj->m_strUser = lineUsername->text(); m_myobj->m_strPassword = linePassword->text(); } fatrat-czshare-1.1.3/CzshareDownload.h000066400000000000000000000045061145014261000176710ustar00rootroot00000000000000/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2008 Lubos Dolezel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef CZSHAREDOWNLOAD_H #define CZSHAREDOWNLOAD_H #include #include #include #include "ui_CzshareDownloadForm.h" class QHttp; class QBuffer; class CzshareDownload : public CurlDownload { Q_OBJECT public: CzshareDownload(); virtual void init(QString source, QString target); virtual QString myClass() const { return "CzshareDownload"; } virtual QString name() const; virtual void load(const QDomNode& map); virtual void save(QDomDocument& doc, QDomNode& map) const; virtual void changeActive(bool bActive); static Transfer* createInstance() { return new CzshareDownload; } static int acceptable(QString uri, bool); static void globalInit(); virtual WidgetHostChild* createOptionsWidget(QWidget* w); virtual void fillContextMenu(QMenu& menu); virtual QString object() const { return m_strTarget; } virtual void setObject(QString newdir); void headersStep1(const QHttpResponseHeader& hdr); void headersStep2(const QHttpResponseHeader& hdr); protected slots: void convertLink(); void authHeaders(const QHttpResponseHeader&); void requestDone(bool error); protected: QString m_strOriginal, m_strTarget, m_strConverted, m_strSessID; QString m_strUser, m_strPassword; QHttp* m_http; QBuffer* m_buffer; int m_step; friend class CzshareDownloadForm; }; class CzshareDownloadForm : public QObject, public WidgetHostChild, Ui_CzshareDownloadForm { public: CzshareDownloadForm(QWidget* me, CzshareDownload* myobj); virtual void load(); virtual void accepted(); private: CzshareDownload* m_myobj; }; #endif fatrat-czshare-1.1.3/CzshareDownloadForm.ui000066400000000000000000000024451145014261000207030ustar00rootroot00000000000000 CzshareDownloadForm 0 0 400 124 User name Password QLineEdit::Password Qt::Vertical 20 47 fatrat-czshare-1.1.3/CzshareUpload.cpp000066400000000000000000000164751145014261000177110ustar00rootroot00000000000000/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2008 Lubos Dolezel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "CzshareUpload.h" #include #include #include #include #include #include #include #include #include static const char* DLINK_RE = "([^<]+)"; static const char* KLINK_RE = "([^<]+)"; CzshareUpload::CzshareUpload() : m_curl(0), m_probe(0), m_postData(0) { m_mode = Upload; m_nPartnerID = getSettingsValue("czshare/partnerid").toInt(); } CzshareUpload::~CzshareUpload() { if(m_curl) curl_easy_cleanup(m_curl); if(m_postData) curl_formfree(m_postData); } void CzshareUpload::init(QString source, QString) { if(!source.startsWith('/')) throw RuntimeException(tr("Invalid file location")); setObject(source); } void CzshareUpload::setObject(QString source) { m_strSource = source; int p = source.lastIndexOf('/'); if(p != -1) m_strName = source.mid(p + 1); } QString CzshareUpload::name() const { return m_strName; } void CzshareUpload::load(const QDomNode& map) { setObject( getXMLProperty(map, "source") ); m_nPartnerID = getXMLProperty(map, "partnerid").toInt(); m_proxy = getXMLProperty(map, "proxy"); Transfer::load(map); } void CzshareUpload::save(QDomDocument& doc, QDomNode& map) const { Transfer::save(doc, map); setXMLProperty(doc, map, "source", m_strSource); setXMLProperty(doc, map, "partnerid", QString::number(m_nPartnerID)); setXMLProperty(doc, map, "proxy", m_proxy.toString()); } void CzshareUpload::changeActive(bool bActive) { if(!bActive) { resetStatistics(); CurlPoller::instance()->removeTransfer(this); if(m_curl) { curl_easy_cleanup(m_curl); m_curl = 0; } if(m_postData) { curl_formfree(m_postData); m_postData = 0; } m_file.close(); } else { // Max file size: // /program.php?otazka=maxfile m_strMessage = tr("Querying upload address"); m_buffer.close(); m_probe = new QHttp("czshare.com", 80, this); connect(m_probe, SIGNAL(done(bool)), this, SLOT(probeDone(bool))); m_probe->get("/upload_adress.php", &m_buffer); } } CURL* CzshareUpload::curlHandle() { return m_curl; } int anti_crash_fun(); void CzshareUpload::probeDone(bool error) { try { if(error) throw tr("Failed to get the upload address"); else if(isActive()) { char partnerid[50] = ""; curl_httppost* lastData = 0; if(m_postData) { curl_formfree(m_postData); m_postData = 0; } m_curl = curl_easy_init(); curl_easy_setopt(m_curl, CURLOPT_USERAGENT, "FatRat/" VERSION); curl_easy_setopt(m_curl, CURLOPT_ERRORBUFFER, m_errorBuffer); curl_easy_setopt(m_curl, CURLOPT_SEEKFUNCTION, seek_function); curl_easy_setopt(m_curl, CURLOPT_SEEKDATA, &m_file); curl_easy_setopt(m_curl, CURLOPT_DEBUGDATA, this); curl_easy_setopt(m_curl, CURLOPT_VERBOSE, true); curl_easy_setopt(m_curl, CURLOPT_PROGRESSFUNCTION, anti_crash_fun); curl_easy_setopt(m_curl, CURLOPT_CONNECTTIMEOUT, 10); curl_easy_setopt(m_curl, CURLOPT_WRITEFUNCTION, write_function); curl_easy_setopt(m_curl, CURLOPT_WRITEDATA, static_cast(this)); curl_easy_setopt(m_curl, CURLOPT_READFUNCTION, read_function); curl_easy_setopt(m_curl, CURLOPT_READDATA, static_cast(this)); curl_easy_setopt(m_curl, CURLOPT_AUTOREFERER, true); curl_easy_setopt(m_curl, CURLOPT_FOLLOWLOCATION, true); curl_easy_setopt(m_curl, CURLOPT_URL, m_buffer.data().constData()); if(m_nPartnerID) sprintf(partnerid, "%ld", m_nPartnerID); curl_formadd(&m_postData, &lastData, CURLFORM_PTRNAME, "partner_id", CURLFORM_COPYCONTENTS, partnerid, CURLFORM_END); curl_formadd(&m_postData, &lastData, CURLFORM_PTRNAME, "prohlasuji", CURLFORM_PTRCONTENTS, "ano", CURLFORM_END); curl_formadd(&m_postData, &lastData, CURLFORM_PTRNAME, "popis", CURLFORM_PTRCONTENTS, "", CURLFORM_END); curl_formadd(&m_postData, &lastData, CURLFORM_PTRNAME, "userfile", CURLFORM_STREAM, static_cast(this), CURLFORM_FILENAME, m_strName.toUtf8().constData(), CURLFORM_CONTENTSLENGTH, long(total()), CURLFORM_END); curl_easy_setopt(m_curl, CURLOPT_HTTPPOST, m_postData); m_file.setFileName(m_strSource); if(!m_file.open(QIODevice::ReadOnly)) throw tr("Can't open the file."); m_strMessage = tr("Sending data"); m_buffer.close(); m_buffer.open(QIODevice::WriteOnly); CurlPoller::instance()->addTransfer(this); } } catch(const QString& err) { setState(Failed); m_strMessage = err; qDebug() << "Failed 1:" << m_strMessage; } m_probe->deleteLater(); m_probe = 0; } int CzshareUpload::seek_function(QFile* file, curl_off_t offset, int origin) { qDebug() << "seek_function" << offset << origin; if(origin == SEEK_SET) { if(!file->seek(offset)) return -1; } else if(origin == SEEK_CUR) { if(!file->seek(file->pos() + offset)) return -1; } else return -1; return 0; } size_t CzshareUpload::readData(char* buffer, size_t maxData) { return m_file.read(buffer, maxData); } bool CzshareUpload::writeData(const char* buffer, size_t bytes) { m_buffer.write(buffer, bytes); return true; } void CzshareUpload::transferDone(CURLcode result) { try { if(result != CURLE_OK) throw QString(m_errorBuffer); else { QRegExp re(DLINK_RE); QString dl, kl; if(re.indexIn(m_buffer.data()) < 0) throw tr("Failed to find the download link"); dl = re.cap(1); re.setPattern(KLINK_RE); if(re.indexIn(m_buffer.data()) < 0) throw tr("Failed to find the kill link"); kl = re.cap(1); kl.replace("&", "&"); enterLogMessage(tr("Download link:") + ' ' + dl); enterLogMessage(tr("Kill link:") + ' ' + kl); QString dlf, klf; dlf = getSettingsValue("czshare/down_links").toString(); klf = getSettingsValue("czshare/kill_links").toString(); if(!dlf.isEmpty()) saveLink(dlf, dl); if(!klf.isEmpty()) saveLink(klf, kl); } setState(Completed); } catch(const QString& e) { m_strMessage = e; setState(Failed); } } void CzshareUpload::setSpeedLimits(int, int up) { m_up.max = up; } void CzshareUpload::speeds(int& down, int& up) const { up = 0; if(isActive()) CurlUser::speeds(down, up); down = 0; } qulonglong CzshareUpload::total() const { QFileInfo info(m_strSource); return info.size(); } qulonglong CzshareUpload::done() const { if(state() == Completed) return total(); else return isActive() ? m_file.pos() : 0; } void CzshareUpload::saveLink(QString filename, QString link) { QFile file(filename); if(!file.open(QIODevice::Append)) { enterLogMessage(tr("Cannot append to file \"%1\"").arg(filename)); } else { file.write( (link + '\n').toUtf8() ); } } fatrat-czshare-1.1.3/CzshareUpload.h000066400000000000000000000045571145014261000173540ustar00rootroot00000000000000/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2008 Lubos Dolezel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _CZSHAREUPLOAD_H #define _CZSHAREUPLOAD_H #include #include #include #include #include #include class QHttp; class CzshareUpload : public Transfer, public CurlUser { Q_OBJECT public: CzshareUpload(); ~CzshareUpload(); static Transfer* createInstance() { return new CzshareUpload; } virtual void init(QString source, QString target); virtual QString myClass() const { return "CzshareUpload"; } virtual QString name() const; virtual Mode primaryMode() const { return Upload; } virtual QString object() const { return m_strSource; } virtual void setObject(QString obj); virtual void setSpeedLimits(int, int up); virtual void speeds(int&, int& up) const; virtual QString message() const { return m_strMessage; } virtual void load(const QDomNode& map); virtual void save(QDomDocument& doc, QDomNode& map) const; virtual void changeActive(bool bActive); virtual qulonglong total() const; virtual qulonglong done() const; protected: void saveLink(QString filename, QString link); static int seek_function(QFile* file, curl_off_t offset, int origin); virtual CURL* curlHandle(); virtual void transferDone(CURLcode result); virtual size_t readData(char* buffer, size_t maxData); virtual bool writeData(const char* buffer, size_t bytes); protected slots: void probeDone(bool error); private: CURL* m_curl; QHttp* m_probe; QBuffer m_buffer; QFile m_file; curl_httppost* m_postData; long m_nPartnerID; QUuid m_proxy; QString m_strSource, m_strName; QString m_strMessage; char m_errorBuffer[CURL_ERROR_SIZE]; }; #endif /* _CZSHAREUPLOAD_H */ fatrat-czshare-1.1.3/SettingsCzshare.cpp000066400000000000000000000042101145014261000202450ustar00rootroot00000000000000/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2008 Lubos Dolezel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include "SettingsCzshare.h" #include #include #include SettingsCzshare::SettingsCzshare(QWidget* me, QObject* p) : QObject(p) { setupUi(me); connect(toolDownload, SIGNAL(clicked()), this, SLOT(browseDownload())); connect(toolKill, SIGNAL(clicked()), this, SLOT(browseKill())); } void SettingsCzshare::load() { lineUsername->setText( getSettingsValue("czshare/username").toString() ); linePassword->setText( getSettingsValue("czshare/password").toString() ); linePartnerID->setText( getSettingsValue("czshare/partnerid").toString() ); lineLinksDownload->setText( getSettingsValue("czshare/down_links").toString() ); lineLinksKill->setText( getSettingsValue("czshare/kill_links").toString() ); } void SettingsCzshare::accepted() { setSettingsValue("czshare/username", lineUsername->text()); setSettingsValue("czshare/password", linePassword->text()); setSettingsValue("czshare/partnerid", linePartnerID->text()); setSettingsValue("czshare/down_links", lineLinksDownload->text()); setSettingsValue("czshare/kill_links", lineLinksKill->text()); } void SettingsCzshare::browse(QLineEdit* target) { QString _new = QFileDialog::getSaveFileName(getMainWindow(), "FatRat", target->text()); if(!_new.isEmpty()) target->setText(_new); } void SettingsCzshare::browseDownload() { browse(lineLinksDownload); } void SettingsCzshare::browseKill() { browse(lineLinksKill); } fatrat-czshare-1.1.3/SettingsCzshare.h000066400000000000000000000024011145014261000177120ustar00rootroot00000000000000/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2008 Lubos Dolezel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef SETTINGSCZSHARE_H #define SETTINGSCZSHARE_H #include #include #include "ui_SettingsCzshare.h" class SettingsCzshare : public QObject, public WidgetHostChild, Ui_SettingsCzshare { Q_OBJECT public: SettingsCzshare(QWidget* me, QObject* p); static WidgetHostChild* create(QWidget* me, QObject* p) { return new SettingsCzshare(me, p); } virtual void load(); virtual void accepted(); private: void browse(QLineEdit* target); public slots: void browseDownload(); void browseKill(); }; #endif fatrat-czshare-1.1.3/SettingsCzshare.ui000066400000000000000000000066471145014261000201200ustar00rootroot00000000000000 SettingsCzshare 0 0 398 332 Downloads User name Password QLineEdit::Password Uploads Partner ID Save links to a file Download links ... Kill links ... Qt::Vertical 20 56 fatrat-czshare-1.1.3/cmake_modules/000077500000000000000000000000001145014261000172345ustar00rootroot00000000000000fatrat-czshare-1.1.3/cmake_modules/fatratConfig.cmake000066400000000000000000000013311145014261000226430ustar00rootroot00000000000000FIND_PATH(FATRAT_INCLUDE_DIR NAMES fatrat/fatrat.h) MARK_AS_ADVANCED(FATRAT_INCLUDE_DIR) IF(FATRAT_INCLUDE_DIR) SET(FATRAT_FOUND 1) SET(FATRAT_INCLUDE_DIRS ${FATRAT_INCLUDE_DIR} ${FATRAT_INCLUDE_DIR}/fatrat) ELSE(FATRAT_INCLUDE_DIR) SET(FATRAT_FOUND 0) SET(FATRAT_INCLUDE_DIRS) ENDIF(FATRAT_INCLUDE_DIR) # Report the results. IF(NOT FATRAT_FOUND) SET(FATRAT_DIR_MESSAGE "FATRAT was not found. Make sure FATRAT_INCLUDE_DIR are set.") IF(NOT FATRAT_FIND_QUIETLY) MESSAGE(STATUS "${FATRAT_DIR_MESSAGE}") ELSE(NOT FATRAT_FIND_QUIETLY) IF(FATRAT_FIND_REQUIRED) MESSAGE(FATAL_ERROR "${FATRAT_DIR_MESSAGE}") ENDIF(FATRAT_FIND_REQUIRED) ENDIF(NOT FATRAT_FIND_QUIETLY) ENDIF(NOT FATRAT_FOUND) fatrat-czshare-1.1.3/config.h.in000066400000000000000000000001011145014261000164370ustar00rootroot00000000000000#ifndef CONFIG_H #define CONFIG_H #cmakedefine WITH_NLS #endif fatrat-czshare-1.1.3/data/000077500000000000000000000000001145014261000153355ustar00rootroot00000000000000fatrat-czshare-1.1.3/data/LICENSE000066400000000000000000000432541145014261000163520ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. fatrat-czshare-1.1.3/data/TRANSLATIONS000066400000000000000000000004611145014261000172020ustar00rootroot00000000000000Translations are licensed under the terms of the GNU GPLv2 as published by the Free Software Foundation. The copyright of translations is held by their respective author(s). Czech cs_CZ (čeština) - Luboš Doležel Slovak sk_SK (slovenčina) - Jozef Říha fatrat-czshare-1.1.3/fr_czshare.cpp000066400000000000000000000037041145014261000172620ustar00rootroot00000000000000/* FatRat download manager http://fatrat.dolezel.info Copyright (C) 2006-2008 Lubos Dolezel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program 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 General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #include #include #include #include #include #include "config.h" #include "CzshareDownload.h" #include "CzshareUpload.h" #include __attribute__ ((constructor)) void init() { Q_INIT_RESOURCE(czshare); qRegisterMetaType("QHttpResponseHeader"); { EngineEntry e = { "CzshareDownload", "CZshare.com download", CzshareDownload::globalInit, 0, CzshareDownload::createInstance, CzshareDownload::acceptable, 0 }; addTransferClass(e, Transfer::Download); } { EngineEntry e = { "CzshareUpload", "CZshare.com upload", 0, 0, CzshareUpload::createInstance, 0, 0 }; addTransferClass(e, Transfer::Upload); } #ifdef WITH_NLS static QTranslator translator; { QString fname = QString("fatrat-czshare_") + QLocale::system().name(); translator.load(fname, getDataFileDir("/lang", fname)); QCoreApplication::installTranslator(&translator); } #endif } extern "C" __attribute__((visibility("default"))) PluginInfo getInfo() { PluginInfo info; info.version = "1.1.3"; info.name = QObject::tr("CZshare.com support"); info.author = QString::fromUtf8("Luboš Doležel"); info.website = "http://fatrat.dolezel.info"; return info; } fatrat-czshare-1.1.3/gfx/000077500000000000000000000000001145014261000152105ustar00rootroot00000000000000fatrat-czshare-1.1.3/gfx/czshare.png000066400000000000000000000036661145014261000173700ustar00rootroot00000000000000PNG  IHDR55psRGBpIDAThY[LWfՙTJҲ4 P p 17z!i  JFk5 M6ҸK]Th#;5 .{vvl,O&3?_P XbDc 2 )`H-2zy#}}b[òH3OPEEt9}!Ο L(.q~8۷#gǎŵTρ=SH_F`;z9;v﷯\yhPEES ùMdK8!Y( &ԏ+f2Aò1&ƉDƵ–$čo{/^|+G tdeMHo+~*W?څ>Φ_de-- Pg'Prf$KVuw㇝;eO|q"4Ila`"l+btb! yQVga|ŦO>!ʰl0 CQ c*C]DTU-j߱Xpab߆#GdXPRR"sÁNAOQ 8JIƐ&bا^g0b z y|SVFk(2كv`4a6a6ÀY*Y#g+uAz~HͲ(nk%uuub8tuuyyy(--vF_]H;ho` RP(0 1006ԄYjb֭"?511!D{z:Q#Fr5ٺp.?>3w -8V9Cuu5v;ƍta*n/}DZq.?a/WWiEC!xlp 3{󔔢nx^?0 fC94ۋ[.aZF/A-z4T,V)IENDB`fatrat-czshare-1.1.3/gfx/czshare.qrc000066400000000000000000000001321145014261000173520ustar00rootroot00000000000000 czshare.png fatrat-czshare-1.1.3/locale/000077500000000000000000000000001145014261000156635ustar00rootroot00000000000000fatrat-czshare-1.1.3/locale/fatrat-czshare_cs_CZ.ts000066400000000000000000000150151145014261000222340ustar00rootroot00000000000000 CzshareDownload This class doesn't support such URLs Tato třída nepodporuje taková URL The destination directory is invalid Cílový adresář je neplatný URL not converted yet URL nebylo zatím převedeno Account information empty Údaje o účtu jsou prázdné Cannot get a session Nemohu získat relaci Login failed Selhalo přihlášení HTTP request failed Selhal HTTP požadavek Failed to convert the link Nepodařilo se převést odkaz Compute hash... Vypočítat hash... CzshareDownloadForm User name Uživatelské jméno Password Heslo CzshareUpload Invalid file location Neplatné umístění souboru Querying upload address Získávám adresu pro upload Failed to get the upload address Nepodařilo se získat adresu pro upload Can't open the file. Nemohu otevřít soubor. Sending data Odesílám data Failed to find the download link Nepodařilo se najít odkaz pro stažení Failed to find the kill link Nepodařilo se najít odkaz pro smazání Download link: Odkaz pro stažení: Kill link: Odkaz pro smazání: Cannot append to file "%1" Nemohu připojit data k souboru "%1" QObject CZshare.com support Podpora CZshare.com SettingsCzshare CZshare.com CZshare.com Downloads Stahování User name Uživatelské jméno Password Heslo Uploads Uploadování Partner ID ID partnera Save links to a file Uložit odkazy do souboru Download links Stahovací odkazy ... ... Kill links Mazací odkazy fatrat-czshare-1.1.3/locale/fatrat-czshare_sk_SK.ts000066400000000000000000000150211145014261000222420ustar00rootroot00000000000000 CzshareDownload This class doesn't support such URLs Táto trieda nepodporuje takéto URL The destination directory is invalid Cieľový adresár je neplatný URL not converted yet URL zatiaľ nebolo prevedené Account information empty Údaje o účte sú prázdne Cannot get a session Nemôžem získať reláciu Login failed Zlyhalo prihlásenie HTTP request failed Zlyhala HTTP požiadavka Failed to convert the link Nepodarilo sa previesť odkaz Compute hash... Vypočítať hash... CzshareDownloadForm User name Meno užívateľa Password Heslo CzshareUpload Invalid file location Neplatné umiestnenie súboru Querying upload address Získavam adresu pre upload Failed to get the upload address Nepodarilo sa získať adresu pre upload Can't open the file. Nemôžem otvoriť súbor. Sending data Odosielam dáta Failed to find the download link Nepodarilo sa nájsť odkaz pre stiahnutie Failed to find the kill link Nepodarilo sa nájsť odkaz pre zmazanie Download link: Odkaz pre stiahnutie: Kill link: Odkaz pre zmazanie: Cannot append to file "%1" Nemôžem pripojiť dáta k súboru "%1" QObject CZshare.com support Podpora CZshare.com SettingsCzshare CZshare.com CZshare.com Downloads Sťahovania User name Meno užívateľa Password Heslo Uploads Uploadovania Partner ID ID partnera Save links to a file Uložiť odkazy do súboru Download links Sťahovacie odkazy ... ... Kill links Mazacie odkazy fatrat-czshare-1.1.3/locale/fatrat-czshare_untranslated.ts000066400000000000000000000145201145014261000237370ustar00rootroot00000000000000 CzshareDownload This class doesn't support such URLs The destination directory is invalid URL not converted yet Account information empty Cannot get a session Login failed HTTP request failed Failed to convert the link Compute hash... CzshareDownloadForm User name Password CzshareUpload Invalid file location Querying upload address Failed to get the upload address Can't open the file. Sending data Failed to find the download link Failed to find the kill link Download link: Kill link: Cannot append to file "%1" QObject CZshare.com support SettingsCzshare CZshare.com Downloads User name Password Uploads Partner ID Save links to a file Download links ... Kill links