コード例 #1
0
ファイル: artworkuploader.cpp プロジェクト: Artiom-M/xpiks
    void ArtworkUploader::setCommandManager(Commands::CommandManager *commandManager) {
        Common::BaseEntity::setCommandManager(commandManager);

        Conectivity::FtpCoordinator *coordinator = dynamic_cast<Conectivity::FtpCoordinator *>(m_FtpCoordinator);
        Q_ASSERT(coordinator != NULL);
        coordinator->setCommandManager(commandManager);

        m_StocksFtpList.setCommandManager(commandManager);
    }
コード例 #2
0
ファイル: artworkuploader.cpp プロジェクト: RostaTasha/xpiks
    void ArtworkUploader::setCommandManager(Commands::CommandManager *commandManager) {
        Common::BaseEntity::setCommandManager(commandManager);

#ifndef CORE_TESTS
        Conectivity::FtpCoordinator *coordinator = dynamic_cast<Conectivity::FtpCoordinator *>(m_FtpCoordinator);
        Q_ASSERT(coordinator != NULL);
        coordinator->setCommandManager(commandManager);
#endif
    }