kremotecontrol
selectprofile.cpp
Go to the documentation of this file.
32 QLabel *headerLabel = new QLabel(i18n("Select a profile to automatically generate actions for your remote control:"));
41 SelectProfile::SelectProfile(Remote *remote, QWidget *parent, const bool &modal): KDialog(parent) {
51 connect(selectProfileWidget->profilesWidget,SIGNAL(itemClicked(QTreeWidgetItem*,int)), this, SLOT(checkForUpdate(QTreeWidgetItem*,int)));
55 ProfileServer::ProfileSupportedByRemote tSupported = ProfileServer::isProfileAvailableForRemote(profile, *remote);
59 QTreeWidgetItem* tTreewidget = new QTreeWidgetItem(selectProfileWidget->profilesWidget,QStringList()<< profile->name());
84 ProfileServer::ProfileSupportedByRemote tSupported = widgetItem->data(0, Qt::UserRole).value<ProfileWrapper>().getSupported();
88 selectProfileWidget->selectionLabel->setText(i18n("Remote supports all defined buttons in selected profile"));
92 selectProfileWidget->selectionLabel->setText(i18n("Remote does not support all defined buttons in selected profile"));
96 selectProfileWidget->selectionLabel->setText(i18n("Remote supports none of the defined buttons in selected profile"));
106 return selectProfileWidget->profilesWidget->currentItem()->data(0, Qt::UserRole).value<ProfileWrapper>().getProfile();
Definition: profileserver.h:36
SelectProfile(Remote *remote, QWidget *parent=0, const bool &modal=false)
Definition: selectprofile.cpp:41
void checkForUpdate(QTreeWidgetItem *, int)
Definition: selectprofile.cpp:78
Definition: profileserver.h:38
Definition: selectprofile.h:62
ProfileServer::ProfileSupportedByRemote isProfileAvailableForRemote(Profile *profile, const Remote &remote)
Definition: profileserver.cpp:145
Definition: selectprofile.h:34
SelectProfileWidget(QWidget *parent=0)
Definition: selectprofile.cpp:26
Definition: profile.h:26
Definition: remote.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:07:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.