|
|
|
@ -18,11 +18,11 @@
|
|
|
|
|
*/
|
|
|
|
|
#include "kioskgui.h"
|
|
|
|
|
|
|
|
|
|
#include <qdir.h>
|
|
|
|
|
#include <qlineedit.h>
|
|
|
|
|
#include <qobjectlist.h>
|
|
|
|
|
#include <qwidgetstack.h>
|
|
|
|
|
#include <qpushbutton.h>
|
|
|
|
|
#include <tqdir.h>
|
|
|
|
|
#include <tqlineedit.h>
|
|
|
|
|
#include <tqobjectlist.h>
|
|
|
|
|
#include <tqwidgetstack.h>
|
|
|
|
|
#include <tqpushbutton.h>
|
|
|
|
|
|
|
|
|
|
#include <kapplication.h>
|
|
|
|
|
#include <kaction.h>
|
|
|
|
@ -88,8 +88,8 @@ KioskGui::KioskGui()
|
|
|
|
|
|
|
|
|
|
m_view->pbHelp->hide(); // TODO, write help :)
|
|
|
|
|
|
|
|
|
|
connect(m_view->pbDiscard, SIGNAL(clicked()), this, SLOT(discardPage()));
|
|
|
|
|
connect(m_view->pbFinished, SIGNAL(clicked()), this, SLOT(finishedPage()));
|
|
|
|
|
connect(m_view->pbDiscard, TQT_SIGNAL(clicked()), this, TQT_SLOT(discardPage()));
|
|
|
|
|
connect(m_view->pbFinished, TQT_SIGNAL(clicked()), this, TQT_SLOT(finishedPage()));
|
|
|
|
|
|
|
|
|
|
KConfig *config = kapp->config();
|
|
|
|
|
config->setGroup("General");
|
|
|
|
@ -98,7 +98,7 @@ KioskGui::KioskGui()
|
|
|
|
|
|
|
|
|
|
selectPage(PAGE_PROFILE_SELECTION, true);
|
|
|
|
|
|
|
|
|
|
QTimer::singleShot(0, this, SLOT(slotCheckEtcSkel()));
|
|
|
|
|
TQTimer::singleShot(0, this, TQT_SLOT(slotCheckEtcSkel()));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KioskGui::~KioskGui()
|
|
|
|
@ -109,10 +109,10 @@ KioskGui::~KioskGui()
|
|
|
|
|
|
|
|
|
|
void KioskGui::slotCheckEtcSkel()
|
|
|
|
|
{
|
|
|
|
|
QString etcSkel = "/etc/skel/.kde";
|
|
|
|
|
TQString etcSkel = "/etc/skel/.kde";
|
|
|
|
|
KioskSync skelDir;
|
|
|
|
|
skelDir.addDir(etcSkel, KURL());
|
|
|
|
|
QStringList skelFiles = skelDir.listFiles();
|
|
|
|
|
TQStringList skelFiles = skelDir.listFiles();
|
|
|
|
|
if (!skelFiles.isEmpty())
|
|
|
|
|
{
|
|
|
|
|
KMessageBox::informationList(this,
|
|
|
|
@ -126,49 +126,49 @@ void KioskGui::slotCheckEtcSkel()
|
|
|
|
|
"<b>If this is not the intended behavior, please remove the offending "
|
|
|
|
|
"files from the skeleton folder on all systems that you want to "
|
|
|
|
|
"administer with user profiles.</b><p>"
|
|
|
|
|
"The following files were found under <b>%2</b>:").arg(etcSkel).arg(etcSkel),
|
|
|
|
|
"The following files were found under <b>%2</b>:").tqarg(etcSkel).tqarg(etcSkel),
|
|
|
|
|
skelFiles,
|
|
|
|
|
QString::null,
|
|
|
|
|
TQString(),
|
|
|
|
|
"etc_skel_warning");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KioskGui::setWidgetBackground(QWidget *w)
|
|
|
|
|
void KioskGui::setWidgetBackground(TQWidget *w)
|
|
|
|
|
{
|
|
|
|
|
QObjectList *l = w->queryList( "QWidget" );
|
|
|
|
|
QObjectListIt it( *l );
|
|
|
|
|
for(QWidget *wid=0; (wid = (QWidget*)it.current()); ++it)
|
|
|
|
|
TQObjectList *l = w->queryList( TQWIDGET_OBJECT_NAME_STRING );
|
|
|
|
|
TQObjectListIt it( *l );
|
|
|
|
|
for(TQWidget *wid=0; (wid = (TQWidget*)it.current()); ++it)
|
|
|
|
|
{
|
|
|
|
|
wid->setBackgroundOrigin(WindowOrigin);
|
|
|
|
|
if (::qt_cast<QPushButton*>(wid))
|
|
|
|
|
if (::tqqt_cast<TQPushButton*>(wid))
|
|
|
|
|
wid->setAutoMask(true);
|
|
|
|
|
}
|
|
|
|
|
w->setBackgroundOrigin(WindowOrigin);
|
|
|
|
|
delete l;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KioskGui::setSubCaption(const QString &subCaption)
|
|
|
|
|
void KioskGui::setSubCaption(const TQString &subCaption)
|
|
|
|
|
{
|
|
|
|
|
m_view->subCaptionLabel->setText("<h1>"+subCaption+"</h1>");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KioskGui::setupActions()
|
|
|
|
|
{
|
|
|
|
|
// KStdAction::open(this, SLOT(fileOpen()), actionCollection());
|
|
|
|
|
// KStdAction::save(this, SLOT(fileSave()), actionCollection());
|
|
|
|
|
// KStdAction::saveAs(this, SLOT(fileSaveAs()), actionCollection());
|
|
|
|
|
KStdAction::quit(this, SLOT(close()), actionCollection());
|
|
|
|
|
// KStdAction::back(this, SLOT(previousPage()), actionCollection(), "previousPage");
|
|
|
|
|
// KStdAction::forward(this, SLOT(nextPage()), actionCollection(), "nextPage");
|
|
|
|
|
// KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
|
|
|
|
|
// KStdAction::save(this, TQT_SLOT(fileSave()), actionCollection());
|
|
|
|
|
// KStdAction::saveAs(this, TQT_SLOT(fileSaveAs()), actionCollection());
|
|
|
|
|
KStdAction::quit(this, TQT_SLOT(close()), actionCollection());
|
|
|
|
|
// KStdAction::back(this, TQT_SLOT(previousPage()), actionCollection(), "previousPage");
|
|
|
|
|
// KStdAction::forward(this, TQT_SLOT(nextPage()), actionCollection(), "nextPage");
|
|
|
|
|
|
|
|
|
|
// createStandardStatusBarAction();
|
|
|
|
|
// setStandardToolBarMenuEnabled(true);
|
|
|
|
|
|
|
|
|
|
// KStdAction::keyBindings(this, SLOT(optionsConfigureKeys()), actionCollection());
|
|
|
|
|
// KStdAction::configureToolbars(this, SLOT(optionsConfigureToolbars()), actionCollection());
|
|
|
|
|
KStdAction::preferences(this, SLOT(slotConfig()), actionCollection());
|
|
|
|
|
m_uploadAction = new KAction(i18n("Upload &All Profiles"), QString::null, 0, this, SLOT(uploadAllProfiles()), actionCollection(), "upload_all");
|
|
|
|
|
m_backgroundAction = new KToggleAction(i18n("Background Graphics"), QString::null, 0, this, SLOT(slotUpdateBackground()), actionCollection(), "show_background");
|
|
|
|
|
// KStdAction::keyBindings(this, TQT_SLOT(optionsConfigureKeys()), actionCollection());
|
|
|
|
|
// KStdAction::configureToolbars(this, TQT_SLOT(optionsConfigureToolbars()), actionCollection());
|
|
|
|
|
KStdAction::preferences(this, TQT_SLOT(slotConfig()), actionCollection());
|
|
|
|
|
m_uploadAction = new KAction(i18n("Upload &All Profiles"), TQString(), 0, this, TQT_SLOT(uploadAllProfiles()), actionCollection(), "upload_all");
|
|
|
|
|
m_backgroundAction = new KToggleAction(i18n("Background Graphics"), TQString(), 0, this, TQT_SLOT(slotUpdateBackground()), actionCollection(), "show_background");
|
|
|
|
|
|
|
|
|
|
updateActions();
|
|
|
|
|
}
|
|
|
|
@ -223,7 +223,7 @@ void KioskGui::slotProfileSetup()
|
|
|
|
|
selectPage(PAGE_COMPONENT_SELECTION, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KioskGui::slotDeleteProfile(QListViewItem *item)
|
|
|
|
|
void KioskGui::slotDeleteProfile(TQListViewItem *item)
|
|
|
|
|
{
|
|
|
|
|
if (!m_profileSelectionPage)
|
|
|
|
|
return;
|
|
|
|
@ -231,11 +231,11 @@ void KioskGui::slotDeleteProfile(QListViewItem *item)
|
|
|
|
|
item = m_profileSelectionPage->listProfile->selectedItem();
|
|
|
|
|
if (!item)
|
|
|
|
|
return;
|
|
|
|
|
QString profile = item->text(0);
|
|
|
|
|
TQString profile = item->text(0);
|
|
|
|
|
int result = KMessageBox::warningContinueCancel(this,
|
|
|
|
|
i18n("<qt>You are about to delete the profile <b>%1</b>.<p>"
|
|
|
|
|
"Are you sure you want to do this?").arg(profile),
|
|
|
|
|
QString::null, KGuiItem(i18n("Delete"),"editdelete"));
|
|
|
|
|
"Are you sure you want to do this?").tqarg(profile),
|
|
|
|
|
TQString(), KGuiItem(i18n("Delete"),"editdelete"));
|
|
|
|
|
if (result == KMessageBox::Continue)
|
|
|
|
|
{
|
|
|
|
|
if (KioskRun::self()->deleteProfile(profile))
|
|
|
|
@ -254,11 +254,11 @@ void KioskGui::slotManageUsers()
|
|
|
|
|
selectPage(PAGE_PROFILE_ASSIGN, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void KioskGui::slotProfileContextMenu(QListViewItem *item, const QPoint &p)
|
|
|
|
|
void KioskGui::slotProfileContextMenu(TQListViewItem *item, const TQPoint &p)
|
|
|
|
|
{
|
|
|
|
|
if (!item) return; // No item selected
|
|
|
|
|
|
|
|
|
|
QPopupMenu menu(this);
|
|
|
|
|
TQPopupMenu menu(this);
|
|
|
|
|
menu.insertItem(i18n("&Delete Profile"), 1);
|
|
|
|
|
|
|
|
|
|
int result = menu.exec( p );
|
|
|
|
@ -277,21 +277,21 @@ void KioskGui::selectPage(int page, bool save)
|
|
|
|
|
setWidgetBackground(m_profileSelectionPage);
|
|
|
|
|
|
|
|
|
|
connect(m_profileSelectionPage->listProfile,
|
|
|
|
|
SIGNAL(contextMenuRequested(QListViewItem *, const QPoint &, int)),
|
|
|
|
|
this, SLOT(slotProfileContextMenu(QListViewItem *, const QPoint &)));
|
|
|
|
|
TQT_SIGNAL(contextMenuRequested(TQListViewItem *, const TQPoint &, int)),
|
|
|
|
|
this, TQT_SLOT(slotProfileContextMenu(TQListViewItem *, const TQPoint &)));
|
|
|
|
|
connect(m_profileSelectionPage->listProfile,
|
|
|
|
|
SIGNAL(doubleClicked (QListViewItem *, const QPoint &, int )),
|
|
|
|
|
this, SLOT(nextPage()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonDelete, SIGNAL(clicked()),
|
|
|
|
|
this, SLOT(slotDeleteProfile()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonAdd, SIGNAL(clicked()),
|
|
|
|
|
this, SLOT(slotAddProfile()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonProperty, SIGNAL(clicked()),
|
|
|
|
|
this, SLOT(slotProfileProperties()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonSetup, SIGNAL(clicked()),
|
|
|
|
|
this, SLOT(slotProfileSetup()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonUsers, SIGNAL(clicked()),
|
|
|
|
|
this, SLOT(slotManageUsers()));
|
|
|
|
|
TQT_SIGNAL(doubleClicked (TQListViewItem *, const TQPoint &, int )),
|
|
|
|
|
this, TQT_SLOT(nextPage()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonDelete, TQT_SIGNAL(clicked()),
|
|
|
|
|
this, TQT_SLOT(slotDeleteProfile()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonAdd, TQT_SIGNAL(clicked()),
|
|
|
|
|
this, TQT_SLOT(slotAddProfile()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonProperty, TQT_SIGNAL(clicked()),
|
|
|
|
|
this, TQT_SLOT(slotProfileProperties()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonSetup, TQT_SIGNAL(clicked()),
|
|
|
|
|
this, TQT_SLOT(slotProfileSetup()));
|
|
|
|
|
connect(m_profileSelectionPage->buttonUsers, TQT_SIGNAL(clicked()),
|
|
|
|
|
this, TQT_SLOT(slotManageUsers()));
|
|
|
|
|
|
|
|
|
|
m_view->widgetStack->addWidget(m_profileSelectionPage, PAGE_PROFILE_SELECTION);
|
|
|
|
|
m_profileSelectionPage->listProfile->setFocus();
|
|
|
|
@ -305,7 +305,7 @@ void KioskGui::selectPage(int page, bool save)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
m_componentSelectionPage = new ComponentSelectionPage(m_data, this);
|
|
|
|
|
connect(m_componentSelectionPage, SIGNAL(componentActivated()), this, SLOT(nextPage()));
|
|
|
|
|
connect(m_componentSelectionPage, TQT_SIGNAL(componentActivated()), this, TQT_SLOT(nextPage()));
|
|
|
|
|
m_componentSelectionPage->setCurrentComponent(m_component);
|
|
|
|
|
setWidgetBackground(m_componentSelectionPage);
|
|
|
|
|
|
|
|
|
@ -315,7 +315,7 @@ void KioskGui::selectPage(int page, bool save)
|
|
|
|
|
if (m_activePage == PAGE_PROFILE_NEW)
|
|
|
|
|
{
|
|
|
|
|
delete m_profilePropsPage;
|
|
|
|
|
m_profilePropsPage = new ProfilePropsPage(this, QString::null);
|
|
|
|
|
m_profilePropsPage = new ProfilePropsPage(this, TQString());
|
|
|
|
|
setWidgetBackground(m_profilePropsPage->widget());
|
|
|
|
|
|
|
|
|
|
m_view->widgetStack->addWidget(m_profilePropsPage->widget(), PAGE_PROFILE_NEW);
|
|
|
|
@ -376,7 +376,7 @@ void KioskGui::selectPage(int page, bool save)
|
|
|
|
|
setCaption(i18n("Profile Properties"));
|
|
|
|
|
break;
|
|
|
|
|
case PAGE_COMPONENT_SELECTION:
|
|
|
|
|
setSubCaption(i18n("Setup Profile \"%1\"").arg(m_profile));
|
|
|
|
|
setSubCaption(i18n("Setup Profile \"%1\"").tqarg(m_profile));
|
|
|
|
|
setCaption(m_profile);
|
|
|
|
|
break;
|
|
|
|
|
case PAGE_COMPONENT:
|
|
|
|
@ -456,19 +456,19 @@ void KioskGui::loadProfiles()
|
|
|
|
|
{
|
|
|
|
|
m_profileSelectionPage->listProfile->clear();
|
|
|
|
|
|
|
|
|
|
QStringList profiles = KioskRun::self()->allProfiles();
|
|
|
|
|
TQStringList profiles = KioskRun::self()->allProfiles();
|
|
|
|
|
|
|
|
|
|
for(QStringList::ConstIterator it = profiles.begin();
|
|
|
|
|
for(TQStringList::ConstIterator it = profiles.begin();
|
|
|
|
|
it != profiles.end(); ++it)
|
|
|
|
|
{
|
|
|
|
|
QString profile = *it;
|
|
|
|
|
QString description;
|
|
|
|
|
QString installUser;
|
|
|
|
|
QString installDir;
|
|
|
|
|
TQString profile = *it;
|
|
|
|
|
TQString description;
|
|
|
|
|
TQString installUser;
|
|
|
|
|
TQString installDir;
|
|
|
|
|
|
|
|
|
|
KioskRun::self()->getProfileInfo(profile, description, installDir, installUser);
|
|
|
|
|
|
|
|
|
|
QListViewItem *item = new QListViewItem(m_profileSelectionPage->listProfile, profile, description);
|
|
|
|
|
TQListViewItem *item = new TQListViewItem(m_profileSelectionPage->listProfile, profile, description);
|
|
|
|
|
if (m_profile == profile)
|
|
|
|
|
m_profileSelectionPage->listProfile->setSelected(item, true);
|
|
|
|
|
}
|
|
|
|
@ -519,20 +519,20 @@ bool KioskGui::savePage(int page)
|
|
|
|
|
case PAGE_PROFILE_SELECTION:
|
|
|
|
|
{
|
|
|
|
|
m_profile = m_profileSelectionPage->listProfile->selectedItem() ?
|
|
|
|
|
m_profileSelectionPage->listProfile->selectedItem()->text(0) : QString::null;
|
|
|
|
|
m_profileSelectionPage->listProfile->selectedItem()->text(0) : TQString();
|
|
|
|
|
|
|
|
|
|
KConfig *config = kapp->config();
|
|
|
|
|
config->setGroup("General");
|
|
|
|
|
config->writeEntry("CurrentProfile", m_profile);
|
|
|
|
|
config->sync();
|
|
|
|
|
|
|
|
|
|
QString description;
|
|
|
|
|
QString installDir;
|
|
|
|
|
QString installUser;
|
|
|
|
|
TQString description;
|
|
|
|
|
TQString installDir;
|
|
|
|
|
TQString installUser;
|
|
|
|
|
|
|
|
|
|
KioskRun::self()->getProfileInfo(m_profile, description, installDir, installUser);
|
|
|
|
|
|
|
|
|
|
QStringList kdeDirs;
|
|
|
|
|
TQStringList kdeDirs;
|
|
|
|
|
kdeDirs << installDir;
|
|
|
|
|
m_run->setKdeDirs(kdeDirs);
|
|
|
|
|
m_run->setUser(installUser);
|
|
|
|
@ -622,7 +622,7 @@ bool KioskGui::queryClose()
|
|
|
|
|
{
|
|
|
|
|
int result = KMessageBox::warningContinueCancel(this,
|
|
|
|
|
i18n("Your changes could not be saved, do you want to quit anyway?"),
|
|
|
|
|
QString::null,
|
|
|
|
|
TQString(),
|
|
|
|
|
KStdGuiItem::quit());
|
|
|
|
|
if (result == KMessageBox::Continue)
|
|
|
|
|
return true;
|
|
|
|
@ -635,7 +635,7 @@ bool KioskGui::queryClose()
|
|
|
|
|
|
|
|
|
|
KURL uploadUrl = config->readEntry("uploadURL");
|
|
|
|
|
int result = KMessageBox::questionYesNo(this,
|
|
|
|
|
i18n("<qt>Do you want to upload the profiles to <b>%1</b> ?</qt>").arg(uploadUrl.prettyURL()));
|
|
|
|
|
i18n("<qt>Do you want to upload the profiles to <b>%1</b> ?</qt>").tqarg(uploadUrl.prettyURL()));
|
|
|
|
|
if (result == KMessageBox::Yes)
|
|
|
|
|
{
|
|
|
|
|
uploadAllProfiles();
|
|
|
|
@ -649,26 +649,26 @@ void KioskGui::uploadAllProfiles()
|
|
|
|
|
{
|
|
|
|
|
KConfig *config = kapp->config();
|
|
|
|
|
config->setGroup("General");
|
|
|
|
|
QString uploadPrefix = config->readEntry("uploadPrefix");
|
|
|
|
|
QString uploadURL = config->readEntry("uploadURL");
|
|
|
|
|
TQString uploadPrefix = config->readEntry("uploadPrefix");
|
|
|
|
|
TQString uploadURL = config->readEntry("uploadURL");
|
|
|
|
|
|
|
|
|
|
KioskSync sync(this);
|
|
|
|
|
|
|
|
|
|
QStringList profiles = KioskRun::self()->allProfiles();
|
|
|
|
|
TQStringList profiles = KioskRun::self()->allProfiles();
|
|
|
|
|
|
|
|
|
|
for(QStringList::ConstIterator it = profiles.begin();
|
|
|
|
|
for(TQStringList::ConstIterator it = profiles.begin();
|
|
|
|
|
it != profiles.end(); ++it)
|
|
|
|
|
{
|
|
|
|
|
QString profile = *it;
|
|
|
|
|
QString description;
|
|
|
|
|
QString installUser;
|
|
|
|
|
QString installDir;
|
|
|
|
|
TQString profile = *it;
|
|
|
|
|
TQString description;
|
|
|
|
|
TQString installUser;
|
|
|
|
|
TQString installDir;
|
|
|
|
|
|
|
|
|
|
KioskRun::self()->getProfileInfo(profile, description, installDir, installUser);
|
|
|
|
|
|
|
|
|
|
// sync.addDir(installDir, KURL("ftp://localhost/kde/profiles"));
|
|
|
|
|
|
|
|
|
|
QString dir = installDir;
|
|
|
|
|
TQString dir = installDir;
|
|
|
|
|
if (dir.startsWith(uploadPrefix))
|
|
|
|
|
dir = dir.mid(uploadPrefix.length());
|
|
|
|
|
if (dir.startsWith("/"))
|
|
|
|
@ -681,7 +681,7 @@ void KioskGui::uploadAllProfiles()
|
|
|
|
|
|
|
|
|
|
if (sync.sync())
|
|
|
|
|
{
|
|
|
|
|
KMessageBox::information(this, i18n("<qt>All profiles have been successfully uploaded to <b>%1</b>").arg(uploadURL));
|
|
|
|
|
KMessageBox::information(this, i18n("<qt>All profiles have been successfully uploaded to <b>%1</b>").tqarg(uploadURL));
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -704,21 +704,21 @@ void KioskGui::updateBackground()
|
|
|
|
|
{
|
|
|
|
|
m_view->setPaletteBackgroundPixmap(locate("appdata", "background.png"));
|
|
|
|
|
m_view->logoLabel->setPixmap(locate("appdata", "logo.png"));
|
|
|
|
|
m_view->logoLabel->setMinimumSize(QSize(160,170));
|
|
|
|
|
QString language = KGlobal::locale()->language();
|
|
|
|
|
QString caption = locate("appdata", "caption-"+language+".png");
|
|
|
|
|
m_view->logoLabel->setMinimumSize(TQSize(160,170));
|
|
|
|
|
TQString language = KGlobal::locale()->language();
|
|
|
|
|
TQString caption = locate("appdata", "caption-"+language+".png");
|
|
|
|
|
if (caption.isEmpty())
|
|
|
|
|
caption = locate("appdata", "caption.png");
|
|
|
|
|
QPixmap pm(caption);
|
|
|
|
|
TQPixmap pm(caption);
|
|
|
|
|
m_view->captionLabel->setPixmap(pm);
|
|
|
|
|
m_view->captionLabel->setMinimumHeight(pm.height());
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
m_view->unsetPalette();
|
|
|
|
|
m_view->logoLabel->setPixmap(QPixmap());
|
|
|
|
|
m_view->logoLabel->setPixmap(TQPixmap());
|
|
|
|
|
m_view->logoLabel->setMinimumSize(0,0);
|
|
|
|
|
m_view->captionLabel->setPixmap(QPixmap());
|
|
|
|
|
m_view->captionLabel->setPixmap(TQPixmap());
|
|
|
|
|
m_view->captionLabel->setMinimumHeight(0);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|