Commit 559ba0f0 authored by Fabio D'Urso's avatar Fabio D'Urso
Browse files

Remove unused/commented out code from kimgio generator

parent 2a52e0c4
......@@ -25,5 +25,3 @@ target_link_libraries( kimgiotest ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4
install( FILES libokularGenerator_kimgio.desktop okularKimgio.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
install( PROGRAMS okularApplication_kimgio.desktop active-documentviewer_kimgio.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
#install( FILES gui.rc DESTINATION ${DATA_INSTALL_DIR}/okular_kimgio )
......@@ -56,17 +56,6 @@ KIMGIOGenerator::KIMGIOGenerator( QObject *parent, const QVariantList &args )
setFeature( TiledRendering );
setFeature( PrintNative );
setFeature( PrintToFile );
/*
setComponentData( *ownComponentData() );
setXMLFile( "gui.rc" );
QAction * kimgio_test = new QAction( this );
kimgio_test->setText( "Image test" );
kimgio_test->setIcon( QIcon::fromTheme( "smiley" ) );
connect( kimgio_test, SIGNAL(triggered(bool)), this, SLOT(slotTest()) );
actionCollection()->addAction( "kimgio_test", kimgio_test );
*/
}
KIMGIOGenerator::~KIMGIOGenerator()
......@@ -181,11 +170,6 @@ bool KIMGIOGenerator::print( QPrinter& printer )
return true;
}
void KIMGIOGenerator::slotTest()
{
kDebug() << "Test";
}
Okular::DocumentInfo KIMGIOGenerator::generateDocumentInfo( const QSet<Okular::DocumentInfo::Key> &keys ) const
{
return docInfo;
......
......@@ -17,7 +17,6 @@
class KIMGIOGenerator : public Okular::Generator
{
Q_OBJECT
public:
KIMGIOGenerator( QObject *parent, const QVariantList &args );
virtual ~KIMGIOGenerator();
......@@ -36,9 +35,6 @@ class KIMGIOGenerator : public Okular::Generator
bool doCloseDocument();
QImage image( Okular::PixmapRequest * request );
private slots:
void slotTest();
private:
QImage m_img;
Okular::DocumentInfo docInfo;
......
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui version="1" name="okular_kimgio" >
<ToolBar name="mainToolBar"><text>Main Toolbar</text>
<Action name="kimgio_test" />
</ToolBar>
</kpartgui>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment