lyx_mirror/src/frontends/kde/KFormBase.C
John Levon 6b219fc94a renaming, fix citation (still no search though)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1903 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-05 14:41:19 +00:00

47 lines
603 B
C

/**
* \file KDEFormBase.C
* Copyright 2001 the LyX Team
* Read the file COPYING
*
* \author John Levon
*/
#include <config.h>
#ifdef __GNUG__
#pragma implementation
#endif
#include "Dialogs.h"
#include "KFormBase.h"
#include "ControlButtons.h"
#include <qdialog.h>
KFormDialogBase::KFormDialogBase(ControlButtons & c)
: ViewBC<kdeBC>(c)
{
}
void KFormDialogBase::show()
{
if (!dialog())
build();
bc().refresh();
update();
dialog()->raise();
dialog()->setActiveWindow();
dialog()->show();
}
void KFormDialogBase::hide()
{
if (dialog()->isVisible())
dialog()->hide();
}