mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 10:52:49 +00:00
kio: show meta properties dialog
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5ba7c7516a
commit
2f8c0f7841
1 changed files with 8 additions and 1 deletions
|
@ -112,6 +112,7 @@ extern "C" {
|
||||||
#include <ksqueezedtextlabel.h>
|
#include <ksqueezedtextlabel.h>
|
||||||
#include <kmimetypetrader.h>
|
#include <kmimetypetrader.h>
|
||||||
#include <kpreviewprops.h>
|
#include <kpreviewprops.h>
|
||||||
|
#include <kmetaprops.h>
|
||||||
#include <krun.h>
|
#include <krun.h>
|
||||||
#include <kvbox.h>
|
#include <kvbox.h>
|
||||||
#include <kacl.h>
|
#include <kacl.h>
|
||||||
|
@ -401,7 +402,8 @@ bool KPropertiesDialog::canDisplay( const KFileItemList& _items )
|
||||||
KDesktopPropsPlugin::supports( _items ) ||
|
KDesktopPropsPlugin::supports( _items ) ||
|
||||||
KUrlPropsPlugin::supports( _items ) ||
|
KUrlPropsPlugin::supports( _items ) ||
|
||||||
KDevicePropsPlugin::supports( _items ) ||
|
KDevicePropsPlugin::supports( _items ) ||
|
||||||
KPreviewPropsPlugin::supports( _items );
|
KPreviewPropsPlugin::supports( _items ) ||
|
||||||
|
KFileMetaPropsPlugin::supports( _items );
|
||||||
}
|
}
|
||||||
|
|
||||||
void KPropertiesDialog::slotOk()
|
void KPropertiesDialog::slotOk()
|
||||||
|
@ -494,6 +496,11 @@ void KPropertiesDialog::KPropertiesDialogPrivate::insertPages()
|
||||||
q->insertPlugin(p);
|
q->insertPlugin(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( KFileMetaPropsPlugin::supports( m_items ) ) {
|
||||||
|
KFileMetaPropsPlugin *p = new KFileMetaPropsPlugin(q);
|
||||||
|
q->insertPlugin(p);
|
||||||
|
}
|
||||||
|
|
||||||
//plugins
|
//plugins
|
||||||
|
|
||||||
if ( m_items.count() != 1 )
|
if ( m_items.count() != 1 )
|
||||||
|
|
Loading…
Add table
Reference in a new issue