|
|
|
@ -276,7 +276,7 @@ MiscPrefTab::MiscPrefTab(TQVBox* frame)
|
|
|
|
|
mRunInSystemTray->setFixedSize(mRunInSystemTray->sizeHint());
|
|
|
|
|
connect(mRunInSystemTray, TQT_SIGNAL(toggled(bool)), TQT_SLOT(slotRunModeToggled(bool)));
|
|
|
|
|
TQWhatsThis::add(mRunInSystemTray,
|
|
|
|
|
i18n("Check to run KAlarm continuously in the KDE system tray.\n\n"
|
|
|
|
|
i18n("Check to run KAlarm continuously in the TDE system tray.\n\n"
|
|
|
|
|
"Notes:\n"
|
|
|
|
|
"1. With this option selected, closing the system tray icon will quit KAlarm.\n"
|
|
|
|
|
"2. You do not need to select this option in order for alarms to be displayed, since alarm monitoring is done by the alarm daemon."
|
|
|
|
@ -308,7 +308,7 @@ MiscPrefTab::MiscPrefTab(TQVBox* frame)
|
|
|
|
|
mAutostartDaemon->setFixedSize(mAutostartDaemon->sizeHint());
|
|
|
|
|
connect(mAutostartDaemon, TQT_SIGNAL(clicked()), TQT_SLOT(slotAutostartDaemonClicked()));
|
|
|
|
|
TQWhatsThis::add(mAutostartDaemon,
|
|
|
|
|
i18n("Automatically start alarm monitoring whenever you start KDE, by running the alarm daemon (%1).\n\n"
|
|
|
|
|
i18n("Automatically start alarm monitoring whenever you start TDE, by running the alarm daemon (%1).\n\n"
|
|
|
|
|
"This option should always be checked unless you intend to discontinue use of KAlarm.")
|
|
|
|
|
.arg(TQString::fromLatin1(DAEMON_APP_NAME)));
|
|
|
|
|
grid->addMultiCellWidget(mAutostartDaemon, 6, 6, 0, 2, alignment);
|
|
|
|
@ -535,8 +535,8 @@ void MiscPrefTab::slotRunModeToggled(bool)
|
|
|
|
|
{
|
|
|
|
|
bool systray = mRunInSystemTray->isOn();
|
|
|
|
|
mAutostartTrayIcon->setText(systray ? i18n("Autostart at &login") : i18n("Autostart system tray &icon at login"));
|
|
|
|
|
TQWhatsThis::add(mAutostartTrayIcon, (systray ? i18n("Check to run KAlarm whenever you start KDE.")
|
|
|
|
|
: i18n("Check to display the system tray icon whenever you start KDE.")));
|
|
|
|
|
TQWhatsThis::add(mAutostartTrayIcon, (systray ? i18n("Check to run KAlarm whenever you start TDE.")
|
|
|
|
|
: i18n("Check to display the system tray icon whenever you start TDE.")));
|
|
|
|
|
mDisableAlarmsIfStopped->setEnabled(systray);
|
|
|
|
|
slotDisableIfStoppedToggled(true);
|
|
|
|
|
}
|
|
|
|
|