Disable help button until doc will created
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800976
This commit is contained in:
parent
4e92155f7d
commit
2c65035981
@ -82,7 +82,8 @@ OpenWidgetAssistant::OpenWidgetAssistant(QWidget *parent)
|
||||
|
||||
connect(this, SIGNAL(currentPageChanged(KPageWidgetItem*,KPageWidgetItem*)), SLOT(prepPage(KPageWidgetItem*,KPageWidgetItem*)));
|
||||
connect(this, SIGNAL(user1Clicked()), this, SLOT(finished()));
|
||||
|
||||
enableButton( KDialog::Help, false );
|
||||
//connect( this, SIGNAL( helpClicked() ), this, SLOT( slotHelpClicked() ) );
|
||||
m_widgetTypeList->setFocus();
|
||||
resize(QSize(560, 400).expandedTo(minimumSizeHint()));
|
||||
}
|
||||
@ -135,6 +136,11 @@ void OpenWidgetAssistant::prepPage(KPageWidgetItem *current, KPageWidgetItem *be
|
||||
}
|
||||
}
|
||||
|
||||
void OpenWidgetAssistant::slotHelpClicked()
|
||||
{
|
||||
//enable it when doc will created
|
||||
}
|
||||
|
||||
void OpenWidgetAssistant::finished()
|
||||
{
|
||||
m_fileDialog->slotOk();
|
||||
|
@ -41,6 +41,7 @@ public:
|
||||
protected Q_SLOTS:
|
||||
void prepPage(KPageWidgetItem *current, KPageWidgetItem *before);
|
||||
void finished();
|
||||
void slotHelpClicked();
|
||||
|
||||
private:
|
||||
KPageWidgetItem *m_typePage;
|
||||
|
Loading…
Reference in New Issue
Block a user