diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /knotes/knotealarmdlg.cpp | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knotes/knotealarmdlg.cpp')
-rw-r--r-- | knotes/knotealarmdlg.cpp | 32 |
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 |