port of commit 553715:

Since we don't support format conversion using "save as", 
only show the file format of the current file in the save as dialog,
not all supported file formats of the active plugin.

This makes KMultiPage::fileFormat() unnecessary.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=553718
remotes/origin/kdvi
Wilfried Huss 20 years ago
parent d9778b2e8f
commit 012297a4a6
  1. 8
      kdvi_multipage.cpp
  2. 3
      kdvi_multipage.h

@ -162,14 +162,6 @@ void KDVIMultiPage::setFile(bool r)
}
QStringList KDVIMultiPage::fileFormats() const
{
QStringList r;
r << i18n("*.dvi *.DVI|TeX Device Independent Files (*.dvi)");
return r;
}
void KDVIMultiPage::addConfigDialogs(KConfigDialog* configDialog)
{
static optionDialogFontsWidget* fontConfigWidget = 0;

@ -24,9 +24,6 @@ public:
// Interface definition start ------------------------------------------------
/// returns the list of supported file formats
virtual QStringList fileFormats() const;
virtual void setFile(bool r);
virtual void print();

Loading…
Cancel
Save