summaryrefslogtreecommitdiffstats
path: root/kghostview
diff options
context:
space:
mode:
Diffstat (limited to 'kghostview')
-rw-r--r--kghostview/CMakeL10n.txt6
-rw-r--r--kghostview/CMakeLists.txt14
-rw-r--r--kghostview/dscparse/dscparse.cpp3
-rw-r--r--kghostview/dscparse/dscparse.h2
-rw-r--r--kghostview/dscparse/dscparse_adapter.cpp18
-rw-r--r--kghostview/dscparse/dscparse_adapter.h56
-rw-r--r--kghostview/infodialog.cpp2
-rw-r--r--kghostview/infodialog.h2
-rw-r--r--kghostview/kdscerrordialog.cpp2
-rw-r--r--kghostview/kdscerrordialog.h3
-rw-r--r--kghostview/kghostview.desktop77
-rw-r--r--kghostview/kghostview.kcfg2
-rw-r--r--kghostview/kghostview_part.desktop11
-rw-r--r--kghostview/kgv.h2
-rw-r--r--kghostview/kgv_miniwidget.cpp3
-rw-r--r--kghostview/kgv_miniwidget.h2
-rw-r--r--kghostview/kgv_view.cpp3
-rw-r--r--kghostview/kgv_view.h2
-rw-r--r--kghostview/kgvconfigdialog.cpp3
-rw-r--r--kghostview/kgvconfigdialog.h3
-rw-r--r--kghostview/kgvdocument.cpp5
-rw-r--r--kghostview/kgvdocument.h2
-rw-r--r--kghostview/kgvmainwidget.cpp2
-rw-r--r--kghostview/kgvmainwidget.h2
-rw-r--r--kghostview/kgvpagedecorator.cpp2
-rw-r--r--kghostview/kgvpagedecorator.h2
-rw-r--r--kghostview/kgvpageview.cpp2
-rw-r--r--kghostview/kgvpageview.h2
-rw-r--r--kghostview/kgvshell.cpp3
-rw-r--r--kghostview/kgvshell.h2
-rw-r--r--kghostview/kpswidget.cpp2
-rw-r--r--kghostview/kpswidget.h3
-rw-r--r--kghostview/logwindow.h2
-rw-r--r--kghostview/main.cpp2
-rw-r--r--kghostview/marklist.cpp2
-rw-r--r--kghostview/marklist.h2
-rw-r--r--kghostview/ps.h4
-rw-r--r--kghostview/scrollbox.cpp2
-rw-r--r--kghostview/scrollbox.h2
-rw-r--r--kghostview/thumbnailservice.h2
-rw-r--r--kghostview/version.h3
-rw-r--r--kghostview/viewcontrol.cpp3
-rw-r--r--kghostview/viewcontrol.h2
43 files changed, 30 insertions, 241 deletions
diff --git a/kghostview/CMakeL10n.txt b/kghostview/CMakeL10n.txt
index decf8918..0624536e 100644
--- a/kghostview/CMakeL10n.txt
+++ b/kghostview/CMakeL10n.txt
@@ -1,3 +1,9 @@
##### create translation templates ##############
tde_l10n_create_template( "kghostview" )
+
+tde_l10n_create_template(
+ CATALOG "desktop_files/kghostview-desktops/"
+ SOURCES *.desktop
+ DESTINATION "${CMAKE_SOURCE_DIR}/translations"
+)
diff --git a/kghostview/CMakeLists.txt b/kghostview/CMakeLists.txt
index 316f387e..11e30d20 100644
--- a/kghostview/CMakeLists.txt
+++ b/kghostview/CMakeLists.txt
@@ -28,8 +28,18 @@ link_directories(
#### other data #################################
tde_install_icons( kghostview )
-install( FILES kghostview.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
-install( FILES kghostview_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+
+tde_create_translated_desktop(
+ SOURCE kghostview.desktop
+ PO_DIR kghostview-desktops
+)
+
+tde_create_translated_desktop(
+ SOURCE kghostview_part.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+ PO_DIR kghostview-desktops
+)
+
install( FILES kgv_part.rc kghostviewui.rc DESTINATION ${DATA_INSTALL_DIR}/kghostview )
install( FILES kghostview.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
install( FILES kghostview.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
diff --git a/kghostview/dscparse/dscparse.cpp b/kghostview/dscparse/dscparse.cpp
index 7b85395f..ba473cc8 100644
--- a/kghostview/dscparse/dscparse.cpp
+++ b/kghostview/dscparse/dscparse.cpp
@@ -3427,6 +3427,3 @@ dsc_error(CDSC *dsc, unsigned int explanation,
/* treat DSC as being correct */
return CDSC_RESPONSE_CANCEL;
}
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/dscparse/dscparse.h b/kghostview/dscparse/dscparse.h
index a82a3218..d290c0d4 100644
--- a/kghostview/dscparse/dscparse.h
+++ b/kghostview/dscparse/dscparse.h
@@ -469,5 +469,3 @@ int dsc_set_page_bbox(P6(CDSC *dsc, unsigned int page_number,
int llx, int lly, int urx, int ury));
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/dscparse/dscparse_adapter.cpp b/kghostview/dscparse/dscparse_adapter.cpp
index 17ae0231..5aae47b8 100644
--- a/kghostview/dscparse/dscparse_adapter.cpp
+++ b/kghostview/dscparse/dscparse_adapter.cpp
@@ -282,20 +282,20 @@ const CDSCMEDIA* KDSC::page_media() const
return _cdsc->page_media;
}
-auto_ptr<KDSCBBOX> KDSC::bbox() const
+unique_ptr<KDSCBBOX> KDSC::bbox() const
{
- if( _cdsc->bbox == 0 )
- return auto_ptr<KDSCBBOX>( 0 );
+ if( _cdsc->bbox == nullptr )
+ return unique_ptr<KDSCBBOX>( nullptr );
else
- return auto_ptr<KDSCBBOX>( new KDSCBBOX( *_cdsc->bbox ) );
+ return unique_ptr<KDSCBBOX>( new KDSCBBOX( *_cdsc->bbox ) );
}
-auto_ptr<KDSCBBOX> KDSC::page_bbox() const
+unique_ptr<KDSCBBOX> KDSC::page_bbox() const
{
- if( _cdsc->page_bbox == 0 )
- return auto_ptr<KDSCBBOX>( 0 );
+ if( _cdsc->page_bbox == nullptr )
+ return unique_ptr<KDSCBBOX>( nullptr );
else
- return auto_ptr<KDSCBBOX>( new KDSCBBOX( *_cdsc->page_bbox ) );
+ return unique_ptr<KDSCBBOX>( new KDSCBBOX( *_cdsc->page_bbox ) );
}
TQString KDSC::dsc_title() const
@@ -416,5 +416,3 @@ bool KDSCScanHandlerByLine::scanData( char* buf, unsigned int count )
else
return true;
}
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/dscparse/dscparse_adapter.h b/kghostview/dscparse/dscparse_adapter.h
index c5c1cbf9..77855972 100644
--- a/kghostview/dscparse/dscparse_adapter.h
+++ b/kghostview/dscparse/dscparse_adapter.h
@@ -28,51 +28,6 @@
#include "dscparse.h"
-#if defined(__GNUC__)
-#if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 93)
-/*
- * We add a quick 'n' dirty inline implementation of auto_ptr for older
- * releases of GCC, which don't include an auto_ptr implementation in
- * <memory>.
- */
-
-template <class T> class auto_ptr {
-private:
- T* _ptr;
-
-public:
- typedef T element_type;
- explicit auto_ptr(T* p = 0) : _ptr(p) {}
- auto_ptr(auto_ptr& a) : _ptr(a.release()) {}
- template <class T1> auto_ptr(auto_ptr<T1>& a) : _ptr(a.release()) {}
- auto_ptr& operator=(auto_ptr& a) {
- if (&a != this) {
- delete _ptr;
- _ptr = a.release();
- }
- return *this;
- }
- template <class T1>
- auto_ptr& operator=(auto_ptr<T1>& a) {
- if (a.get() != this->get()) {
- delete _ptr;
- _ptr = a.release();
- }
- return *this;
- }
- ~auto_ptr() { delete _ptr; }
-
- T& operator*() const { return *_ptr; }
- T* operator->() const { return _ptr; }
- T* get() const { return _ptr; }
- T* release() { T* tmp = _ptr; _ptr = 0; return tmp; }
- void reset(T* p = 0) { delete _ptr; _ptr = p; }
-};
-
-#endif
-#endif
-
-
class KDSCBBOX
{
public:
@@ -304,13 +259,8 @@ public:
CDSCMEDIA** media() const;
const CDSCMEDIA* page_media() const;
-#if defined(__GNUC__) && (__GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 93))
- auto_ptr<KDSCBBOX> bbox() const;
- auto_ptr<KDSCBBOX> page_bbox() const;
-#else
- std::auto_ptr<KDSCBBOX> bbox() const;
- std::auto_ptr<KDSCBBOX> page_bbox() const;
-#endif
+ std::unique_ptr<KDSCBBOX> bbox() const;
+ std::unique_ptr<KDSCBBOX> page_bbox() const;
// CDSCDOSEPS *doseps;
@@ -382,5 +332,3 @@ protected:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/infodialog.cpp b/kghostview/infodialog.cpp
index e4a76006..7b4a9e92 100644
--- a/kghostview/infodialog.cpp
+++ b/kghostview/infodialog.cpp
@@ -127,5 +127,3 @@ void InfoDialog::setup( const TQString &fileName, const TQString &documentTitle,
}
#include "infodialog.moc"
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/infodialog.h b/kghostview/infodialog.h
index d02860f0..65d973f3 100644
--- a/kghostview/infodialog.h
+++ b/kghostview/infodialog.h
@@ -41,5 +41,3 @@ class InfoDialog : public KDialogBase
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kdscerrordialog.cpp b/kghostview/kdscerrordialog.cpp
index 350acb4d..32219bc9 100644
--- a/kghostview/kdscerrordialog.cpp
+++ b/kghostview/kdscerrordialog.cpp
@@ -166,5 +166,3 @@ void KDSCErrorDialog::slotIgnoreAll()
_response = IgnoreAll;
accept();
}
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kdscerrordialog.h b/kghostview/kdscerrordialog.h
index 32acf864..97d311e5 100644
--- a/kghostview/kdscerrordialog.h
+++ b/kghostview/kdscerrordialog.h
@@ -70,6 +70,3 @@ private:
};
#endif
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kghostview.desktop b/kghostview/kghostview.desktop
index 6fbd167e..c9d2ef90 100644
--- a/kghostview/kghostview.desktop
+++ b/kghostview/kghostview.desktop
@@ -1,87 +1,12 @@
[Desktop Entry]
Name=KGhostView
-Name[af]=Kghostview
-Name[ar]=برنامج KGhostView
-Name[eo]=Postskriptrigardilo
-Name[hi]=के-घोस्ट-व्यू
-Name[hu]=KGhostview
-Name[ne]=केडीई घोस्ट दृश्य
-Name[sv]=Kghostview
-Name[ta]=கேமற்றொரு காட்சி
-Name[tr]=GhostView
-Name[ven]=Mbonalelo ya tshipuku tsha K
-Name[xh]=Imboniselo yeKGhost
+GenericName=PS/PDF Viewer
MimeType=application/pdf;application/postscript;image/x-eps;application/x-gzpostscript;application/illustrator;
X-TDE-InitialPreference=6
Exec=kghostview %u -caption "%c" %i %m
Icon=kghostview
Type=Application
X-DocPath=kghostview/index.html
-GenericName=PS/PDF Viewer
-GenericName[af]=Ps/Pdf Aansig
-GenericName[ar]=عارض PS/PDF
-GenericName[bg]=Преглед на документи PS/PDF
-GenericName[br]=Gweler PS/PDF
-GenericName[bs]=Preglednik PS/PDF dokumenata
-GenericName[ca]=Visualitzador de PS/PDF
-GenericName[cs]=Prohlížeč PS/PDF souborů
-GenericName[cy]=Gwelydd PS/PDF
-GenericName[da]=PS/PDF-fremviser
-GenericName[de]=PS/PDF-Betrachter
-GenericName[el]=Προβολέας PS/PDF
-GenericName[eo]=PS/PDF-rigardilo
-GenericName[es]=Visor de documentos PS/PDF
-GenericName[et]=PS/PDF-failide näitaja
-GenericName[eu]=PS/PDF ikustailua
-GenericName[fa]=مشاهده‌گر PS/PDF
-GenericName[fi]=PS/PDF-näytin
-GenericName[fr]=Afficheur PostScript et PDF
-GenericName[ga]=Amharcán PS/PDF
-GenericName[gl]=Visor PS/PDF
-GenericName[he]=מציג PS/PDF
-GenericName[hi]=PS/PDF प्रदर्शक
-GenericName[hr]=Preglednik PS/PDF dokumenata
-GenericName[hu]=PS/PDF-megjelenítő
-GenericName[is]=PS/PDF sjá
-GenericName[it]=Visore PS/PDF
-GenericName[ja]=PS/PDF ビューア
-GenericName[kk]=PS/PDF файлдарын қарау
-GenericName[km]=កម្មវិធី​មើល PS/PDF
-GenericName[lt]=PS/PDF žiūriklis
-GenericName[lv]=PS/PDF Skatītājs
-GenericName[ms]=Pemapar PS/PDF
-GenericName[nb]=PS-/PDF-fremviser
-GenericName[nds]=PostScript-/PDF-Kieker
-GenericName[ne]=PS/PDF दर्शक
-GenericName[nl]=PostScript/PDF-weergaveprogramma
-GenericName[nn]=PS/PDF-lesar
-GenericName[nso]=Molebeledi wa PS/PDF
-GenericName[pa]=PS/PDF ਦਰਸ਼ਕ
-GenericName[pl]=Przeglądarka plików PS/PDF
-GenericName[pt]=Visualizador de PS/PDF
-GenericName[pt_BR]=Visualizador PDF/PS
-GenericName[ro]=Vizualizor PS/PDF
-GenericName[ru]=Просмотр Postscript и PDF
-GenericName[se]=PS/PDF-čájeheaddji
-GenericName[sk]=Prehliadač PS/PDF
-GenericName[sl]=Pregledovalnik datotek PS/PDF
-GenericName[sr]=PS/PDF приказивач
-GenericName[sr@Latn]=PS/PDF prikazivač
-GenericName[sv]=PS/PDF-visare
-GenericName[ta]=PS/PDF காட்சி
-GenericName[tg]=Хондани PS/PDF
-GenericName[th]=เครื่องมือแสดงแฟ้มโพสต์สคริปต์ PS/PDF
-GenericName[tr]=PS/PDF Görüntüleyici
-GenericName[uk]=Переглядач PDF/PS
-GenericName[uz]=PS/PDF koʻruvchi
-GenericName[uz@cyrillic]=PS/PDF кўрувчи
-GenericName[ven]=Muvhoni wa PS/PDF
-GenericName[wa]=Håyneu di documints PS/PDF
-GenericName[xh]=Umboniseli we PS/PDF
-GenericName[zh_CN]=PS/PDF 查看器
-GenericName[zh_HK]=PS/PDF 檢視器
-GenericName[zh_TW]=PS/PDF 檢視器
-GenericName[zu]=Umboniseli we PS/PDF
Terminal=false
Categories=Qt;TDE;Graphics;
NoDisplay=true
diff --git a/kghostview/kghostview.kcfg b/kghostview/kghostview.kcfg
index 441e1bb3..dd3d3cf2 100644
--- a/kghostview/kghostview.kcfg
+++ b/kghostview/kghostview.kcfg
@@ -78,5 +78,3 @@
</entry>
</group>
</kcfg>
-<!-- vim:set ts=4 -->
-
diff --git a/kghostview/kghostview_part.desktop b/kghostview/kghostview_part.desktop
index 23c6616f..6383094f 100644
--- a/kghostview/kghostview_part.desktop
+++ b/kghostview/kghostview_part.desktop
@@ -1,16 +1,5 @@
[Desktop Entry]
Name=KGhostView
-Name[af]=Kghostview
-Name[ar]=برنامج KGhostView
-Name[eo]=Postskriptrigardilo
-Name[hi]=के-घोस्ट-व्यू
-Name[hu]=KGhostview
-Name[ne]=केडीई घोस्ट दृश्य
-Name[sv]=Kghostview
-Name[ta]=கேமற்றொரு காட்சி
-Name[tr]=GhostView
-Name[ven]=Mbonalelo ya tshipuku tsha K
-Name[xh]=Imboniselo yeKGhost
MimeType=application/pdf;application/postscript;image/x-eps;application/x-gzpostscript;application/illustrator
X-TDE-InitialPreference=6
Icon=kghostview
diff --git a/kghostview/kgv.h b/kghostview/kgv.h
index 669d94f1..206876cb 100644
--- a/kghostview/kgv.h
+++ b/kghostview/kgv.h
@@ -11,5 +11,3 @@ typedef TQValueList<int> PageList;
}
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgv_miniwidget.cpp b/kghostview/kgv_miniwidget.cpp
index 4d862c36..5d6ca3df 100644
--- a/kghostview/kgv_miniwidget.cpp
+++ b/kghostview/kgv_miniwidget.cpp
@@ -568,6 +568,3 @@ void KGVMiniWidget::setDisplayOptions( const DisplayOptions& newOptions )
}
#include "kgv_miniwidget.moc"
-
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
diff --git a/kghostview/kgv_miniwidget.h b/kghostview/kgv_miniwidget.h
index afa1e326..2e370153 100644
--- a/kghostview/kgv_miniwidget.h
+++ b/kghostview/kgv_miniwidget.h
@@ -170,5 +170,3 @@ private:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
diff --git a/kghostview/kgv_view.cpp b/kghostview/kgv_view.cpp
index 225cebb0..0701c659 100644
--- a/kghostview/kgv_view.cpp
+++ b/kghostview/kgv_view.cpp
@@ -1032,6 +1032,3 @@ void KGVPart::showPopup( int, int, const TQPoint& pos )
}
#include "kgv_view.moc"
-
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
diff --git a/kghostview/kgv_view.h b/kghostview/kgv_view.h
index ee863731..04365ad4 100644
--- a/kghostview/kgv_view.h
+++ b/kghostview/kgv_view.h
@@ -267,5 +267,3 @@ private:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
diff --git a/kghostview/kgvconfigdialog.cpp b/kghostview/kgvconfigdialog.cpp
index d76a7343..c2ce2d2a 100644
--- a/kghostview/kgvconfigdialog.cpp
+++ b/kghostview/kgvconfigdialog.cpp
@@ -149,6 +149,3 @@ void ConfigDialog::showSettings( KGVPart* main ) {
TQObject::connect( dialog, TQT_SIGNAL( settingsChanged() ), main, TQT_SLOT( slotConfigurationChanged() ) );
dialog->show();
}
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvconfigdialog.h b/kghostview/kgvconfigdialog.h
index 3f7ddead..a94157c2 100644
--- a/kghostview/kgvconfigdialog.h
+++ b/kghostview/kgvconfigdialog.h
@@ -27,6 +27,3 @@ namespace ConfigDialog {
}
#endif
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvdocument.cpp b/kghostview/kgvdocument.cpp
index 81691509..ae0742da 100644
--- a/kghostview/kgvdocument.cpp
+++ b/kghostview/kgvdocument.cpp
@@ -171,7 +171,7 @@ bool KGVDocument::uncompressFile()
// If the file is gzipped, gunzip it to the temporary file _tmpUnzipped.
kdDebug(4500) << "KGVDocument::uncompressFile()" << endl;
- auto_ptr<TQIODevice> filterDev( KFilterDev::deviceForFile( _fileName, _mimetype, true ) );
+ unique_ptr<TQIODevice> filterDev( KFilterDev::deviceForFile( _fileName, _mimetype, true ) );
if ( !filterDev.get() ) {
KMimeType::Ptr mt = KMimeType::mimeType(_mimetype);
if ( (_fileName.right( 3 ) == ".gz") || mt->is("application/x-gzip") ) {
@@ -859,6 +859,3 @@ void Pdf2dsc::processExited()
}
#include "kgvdocument.moc"
-
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
diff --git a/kghostview/kgvdocument.h b/kghostview/kgvdocument.h
index 3a9764f3..5076b78b 100644
--- a/kghostview/kgvdocument.h
+++ b/kghostview/kgvdocument.h
@@ -193,5 +193,3 @@ inline bool KGVDocument::isOpen() const
#endif
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
diff --git a/kghostview/kgvmainwidget.cpp b/kghostview/kgvmainwidget.cpp
index 5e9bd40b..025b4cdb 100644
--- a/kghostview/kgvmainwidget.cpp
+++ b/kghostview/kgvmainwidget.cpp
@@ -46,5 +46,3 @@ void KGVMainWidget::dragEnterEvent( TQDragEnterEvent * ev )
}
#include "kgvmainwidget.moc"
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvmainwidget.h b/kghostview/kgvmainwidget.h
index 4ca6bf23..f18856b1 100644
--- a/kghostview/kgvmainwidget.h
+++ b/kghostview/kgvmainwidget.h
@@ -42,5 +42,3 @@ protected:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvpagedecorator.cpp b/kghostview/kgvpagedecorator.cpp
index b6304c1d..c92f628b 100644
--- a/kghostview/kgvpagedecorator.cpp
+++ b/kghostview/kgvpagedecorator.cpp
@@ -102,5 +102,3 @@ void KGVPageDecorator::updateMask()
p.end();
setMask( bm );
}
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvpagedecorator.h b/kghostview/kgvpagedecorator.h
index d3942afc..250c1da4 100644
--- a/kghostview/kgvpagedecorator.h
+++ b/kghostview/kgvpagedecorator.h
@@ -77,5 +77,3 @@ inline unsigned int KGVPageDecorator::borderWidth() const
}
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvpageview.cpp b/kghostview/kgvpageview.cpp
index 4761391b..336bad6d 100644
--- a/kghostview/kgvpageview.cpp
+++ b/kghostview/kgvpageview.cpp
@@ -250,5 +250,3 @@ void KGVPageView::centerContents()
}
#include "kgvpageview.moc"
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvpageview.h b/kghostview/kgvpageview.h
index 91e8c11b..b7c4cd09 100644
--- a/kghostview/kgvpageview.h
+++ b/kghostview/kgvpageview.h
@@ -102,5 +102,3 @@ private:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvshell.cpp b/kghostview/kgvshell.cpp
index 753a4213..0835efb3 100644
--- a/kghostview/kgvshell.cpp
+++ b/kghostview/kgvshell.cpp
@@ -365,6 +365,3 @@ void KGVShell::slotRMBClick()
{
_popup->exec( TQCursor::pos() );
}
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kgvshell.h b/kghostview/kgvshell.h
index f273cfbb..70879a4f 100644
--- a/kghostview/kgvshell.h
+++ b/kghostview/kgvshell.h
@@ -89,5 +89,3 @@ private:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kpswidget.cpp b/kghostview/kpswidget.cpp
index aae2f479..cdce1dbb 100644
--- a/kghostview/kpswidget.cpp
+++ b/kghostview/kpswidget.cpp
@@ -526,5 +526,3 @@ bool KPSWidget::x11Event( XEvent* e )
}
#include "kpswidget.moc"
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/kpswidget.h b/kghostview/kpswidget.h
index 71ffe704..0dd556fa 100644
--- a/kghostview/kpswidget.h
+++ b/kghostview/kpswidget.h
@@ -383,6 +383,3 @@ inline CDSC_ORIENTATION_ENUM KPSWidget::orientation() const
*/
#endif // __KPSWIDGET_H__
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/logwindow.h b/kghostview/logwindow.h
index b8650f33..8f3b2f11 100644
--- a/kghostview/logwindow.h
+++ b/kghostview/logwindow.h
@@ -52,5 +52,3 @@ private:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
diff --git a/kghostview/main.cpp b/kghostview/main.cpp
index bc91d6ad..cd11b877 100644
--- a/kghostview/main.cpp
+++ b/kghostview/main.cpp
@@ -67,5 +67,3 @@ int main( int argc, char** argv )
args->clear();
return app.exec();
}
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/marklist.cpp b/kghostview/marklist.cpp
index e05d521c..b84924eb 100644
--- a/kghostview/marklist.cpp
+++ b/kghostview/marklist.cpp
@@ -243,5 +243,3 @@ void MarkList::viewportResizeEvent ( TQResizeEvent * )
}
}
}
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/marklist.h b/kghostview/marklist.h
index 54992a88..6ccc5800 100644
--- a/kghostview/marklist.h
+++ b/kghostview/marklist.h
@@ -86,5 +86,3 @@ private:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/ps.h b/kghostview/ps.h
index 3cb4ea9c..15fa319f 100644
--- a/kghostview/ps.h
+++ b/kghostview/ps.h
@@ -38,7 +38,3 @@ char *pscopyuntil(FILE *from, FILE *to, long begin, long end,
const char *comment);
#endif
-
-/*
- * vim:sw=4:sts=4:ts=8:noet
- */
diff --git a/kghostview/scrollbox.cpp b/kghostview/scrollbox.cpp
index 87d68418..e50f353a 100644
--- a/kghostview/scrollbox.cpp
+++ b/kghostview/scrollbox.cpp
@@ -130,5 +130,3 @@ void ScrollBox::clear()
}
#include "scrollbox.moc"
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/scrollbox.h b/kghostview/scrollbox.h
index 9a9f77e1..5cdd96b0 100644
--- a/kghostview/scrollbox.h
+++ b/kghostview/scrollbox.h
@@ -57,5 +57,3 @@ private:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/thumbnailservice.h b/kghostview/thumbnailservice.h
index 0b1262f1..6c861e77 100644
--- a/kghostview/thumbnailservice.h
+++ b/kghostview/thumbnailservice.h
@@ -87,7 +87,5 @@ class ThumbnailService : public TQObject {
bool _busy;
bool _enabled;
};
-
-// vim:sw=4:sts=4:ts=8:sta:tw=78:noet
#endif // THUMBNAILSERVICE_H
diff --git a/kghostview/version.h b/kghostview/version.h
index 81cf5df2..d76c2d5d 100644
--- a/kghostview/version.h
+++ b/kghostview/version.h
@@ -1,4 +1 @@
#define KGHOSTVIEW_VERSION "0.20"
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/viewcontrol.cpp b/kghostview/viewcontrol.cpp
index 6c0cf0f5..aa46048b 100644
--- a/kghostview/viewcontrol.cpp
+++ b/kghostview/viewcontrol.cpp
@@ -189,6 +189,3 @@ ViewControl::slotOrientSelection (int i)
prevorient = i;
}
}
-
-
-// vim:sw=4:sts=4:ts=8:noet
diff --git a/kghostview/viewcontrol.h b/kghostview/viewcontrol.h
index db78ba79..3e4a24b9 100644
--- a/kghostview/viewcontrol.h
+++ b/kghostview/viewcontrol.h
@@ -41,5 +41,3 @@ signals:
};
#endif
-
-// vim:sw=4:sts=4:ts=8:noet