mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-04 15:09:55 +00:00
kpdflibgsasyncgenerator -> okulargsasyncgenerator
svn path=/trunk/playground/graphics/okular/; revision=551189
This commit is contained in:
parent
0efdeb7d42
commit
130627e02b
|
@ -10,17 +10,17 @@ add_definitions(${KDE4_ENABLE_EXCEPTIONS})
|
|||
|
||||
########### next target ###############
|
||||
|
||||
set(kpdflibgsasyncgenerator_SRCS
|
||||
kpdflibgsasyncgenerator.cpp
|
||||
set(okulargsasyncgenerator_SRCS
|
||||
okulargsasyncgenerator.cpp
|
||||
)
|
||||
|
||||
kde4_automoc(${kpdflibgsasyncgenerator_SRCS})
|
||||
kde4_automoc(${okulargsasyncgenerator_SRCS})
|
||||
|
||||
kde4_add_executable(kpdflibgsasyncgenerator ${kpdflibgsasyncgenerator_SRCS})
|
||||
kde4_add_executable(okulargsasyncgenerator ${okulargsasyncgenerator_SRCS})
|
||||
|
||||
target_link_libraries(kpdflibgsasyncgenerator ${KDE4_KDECORE_LIBS} qgs )
|
||||
target_link_libraries(okulargsasyncgenerator ${KDE4_KDECORE_LIBS} qgs )
|
||||
|
||||
install_targets(/bin kpdflibgsasyncgenerator )
|
||||
install_targets(/bin okulargsasyncgenerator )
|
||||
|
||||
|
||||
########### next target ###############
|
||||
|
|
|
@ -199,7 +199,7 @@ bool GSInterpreterCMD::startInterpreter()
|
|||
m_processData=new ProcessData();
|
||||
m_process = new KProcess;
|
||||
|
||||
(*m_process) << QString("kpdflibgsasyncgenerator");
|
||||
(*m_process) << QString("okulargsasyncgenerator");
|
||||
// Order of sending: fileName, msgQueueId, media type, magnify, orientation, expected width, height
|
||||
QStringList list;
|
||||
list << m_name
|
||||
|
@ -236,8 +236,8 @@ bool GSInterpreterCMD::startInterpreter()
|
|||
}
|
||||
else
|
||||
{
|
||||
emit error(i18n( "Could not start kpdf's libgs helper application. This is most likely "
|
||||
"caused by kpdflibgsasyncgenerator not being installed, or installed to a "
|
||||
emit error(i18n( "Could not start the libgs helper application of okular. This is most likely "
|
||||
"caused by okulargsasyncgenerator not being installed, or installed to a "
|
||||
"directory not listed in the environment PATH variable."),0);
|
||||
kDebug(4655) << "Could not start helper" << endl;
|
||||
return false;
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
#include "core/generator.h"
|
||||
|
||||
#include "kpdflibgsasyncgenerator.h"
|
||||
#include "okulargsasyncgenerator.h"
|
||||
#include "internaldocument.h"
|
||||
|
||||
#define GS_DATAREADY_ID 6989
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
***************************************************************************/
|
||||
|
||||
|
||||
#include "kpdflibgsasyncgenerator.h"
|
||||
#include "okulargsasyncgenerator.h"
|
||||
|
||||
#include <qgs.h>
|
||||
|
||||
|
@ -104,7 +104,7 @@ int main (int argc, char* argv[])
|
|||
{
|
||||
try
|
||||
{
|
||||
KCmdLineArgs::init(argc, argv, "kpdflibgsasyncgenerator", "kpdflibgsasyncgenerator", 0, "0.1", KCmdLineArgs::CmdLineArgNone);
|
||||
KCmdLineArgs::init(argc, argv, "okulargsasyncgenerator", "okulargsasyncgenerator", 0, "0.1", KCmdLineArgs::CmdLineArgNone);
|
||||
KCmdLineArgs::addCmdLineOptions( options );
|
||||
KApplication app;
|
||||
// Order of argv: fileName, msgQueueId, media type, magnify, orientation
|
||||
|
@ -152,5 +152,5 @@ int main (int argc, char* argv[])
|
|||
return 0;
|
||||
}
|
||||
|
||||
#include "kpdflibgsasyncgenerator.moc"
|
||||
#include "okulargsasyncgenerator.moc"
|
||||
|
Loading…
Reference in a new issue