summaryrefslogtreecommitdiffstats
path: root/knotes/knotealarmdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knotes/knotealarmdlg.cpp')
-rw-r--r--knotes/knotealarmdlg.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/knotes/knotealarmdlg.cpp b/knotes/knotealarmdlg.cpp
index 0acd44214..ef71c0f51 100644
--- a/knotes/knotealarmdlg.cpp
+++ b/knotes/knotealarmdlg.cpp
@@ -29,10 +29,10 @@
your version.
*******************************************************************/
-#include <qlabel.h>
-#include <qradiobutton.h>
-#include <qbuttongroup.h>
-#include <qvbox.h>
+#include <tqlabel.h>
+#include <tqradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqvbox.h>
#include <klocale.h>
@@ -45,33 +45,33 @@
#include "knotealarmdlg.h"
-KNoteAlarmDlg::KNoteAlarmDlg( const QString& caption, QWidget *parent, const char *name )
+KNoteAlarmDlg::KNoteAlarmDlg( const TQString& caption, TQWidget *parent, const char *name )
: KDialogBase( parent, name, true, caption, Ok|Cancel, Ok )
{
- QVBox *page = makeVBoxMainWidget();
- QGroupBox *group = new QGroupBox( 3, Vertical, i18n("Scheduled Alarm"), page );
- m_buttons = new QButtonGroup( page );
+ TQVBox *page = makeVBoxMainWidget();
+ TQGroupBox *group = new TQGroupBox( 3, Vertical, i18n("Scheduled Alarm"), page );
+ m_buttons = new TQButtonGroup( page );
m_buttons->hide();
- QRadioButton *none = new QRadioButton( i18n("&No alarm"), group );
+ TQRadioButton *none = new TQRadioButton( i18n("&No alarm"), group );
m_buttons->insert( none );
- QHBox *at = new QHBox( group );
- QRadioButton *label_at = new QRadioButton( i18n("Alarm &at:"), at );
+ TQHBox *at = new TQHBox( group );
+ TQRadioButton *label_at = new TQRadioButton( i18n("Alarm &at:"), at );
m_buttons->insert( label_at );
m_atDate = new KDateEdit( at );
m_atTime = new KTimeEdit( at );
at->setStretchFactor( m_atDate, 1 );
- QHBox *in = new QHBox( group );
- QRadioButton *label_in = new QRadioButton( i18n("Alarm &in:"), in );
+ TQHBox *in = new TQHBox( group );
+ TQRadioButton *label_in = new TQRadioButton( i18n("Alarm &in:"), in );
m_buttons->insert( label_in );
m_inTime = new KTimeEdit( in );
- QLabel *in_min = new QLabel( i18n("hours/minutes"), in );
+ TQLabel *in_min = new TQLabel( i18n("hours/minutes"), in );
label_in->setEnabled( false ); // TODO
- connect( m_buttons, SIGNAL(clicked( int )), SLOT(slotButtonChanged( int )) );
+ connect( m_buttons, TQT_SIGNAL(clicked( int )), TQT_SLOT(slotButtonChanged( int )) );
}
@@ -140,7 +140,7 @@ void KNoteAlarmDlg::slotOk()
alarm = m_journal->alarms().first();
if ( m_buttons->selectedId() == 1 )
- alarm->setTime( QDateTime( m_atDate->date(), m_atTime->getTime() ) );
+ alarm->setTime( TQDateTime( m_atDate->date(), m_atTime->getTime() ) );
else
{
// TODO