summaryrefslogtreecommitdiffstats
path: root/keduca/keducabuilder
diff options
context:
space:
mode:
Diffstat (limited to 'keduca/keducabuilder')
-rw-r--r--keduca/keducabuilder/keducabuilder.cpp34
-rw-r--r--keduca/keducabuilder/keducaeditorstartdialog.cpp4
-rw-r--r--keduca/keducabuilder/ktagcombobox.cpp16
3 files changed, 27 insertions, 27 deletions
diff --git a/keduca/keducabuilder/keducabuilder.cpp b/keduca/keducabuilder/keducabuilder.cpp
index d90fb876..361045d5 100644
--- a/keduca/keducabuilder/keducabuilder.cpp
+++ b/keduca/keducabuilder/keducabuilder.cpp
@@ -92,8 +92,8 @@ void KEducaBuilder::init()
_listAnswer = new TDEListBox( _split, "_listAnswer" );
_listAnswer->setSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)7, (TQSizePolicy::SizeType)7, _listAnswer->sizePolicy().hasHeightForWidth() ) );
- connect( _listAnswer, TQT_SIGNAL( highlighted(TQListBoxItem *) ), this, TQT_SLOT( slotPreview(TQListBoxItem *) ) );
- connect( _listAnswer, TQT_SIGNAL( doubleClicked(TQListBoxItem *) ), this, TQT_SLOT( slotEditbyList(TQListBoxItem *) ) );
+ connect( _listAnswer, TQ_SIGNAL( highlighted(TQListBoxItem *) ), this, TQ_SLOT( slotPreview(TQListBoxItem *) ) );
+ connect( _listAnswer, TQ_SIGNAL( doubleClicked(TQListBoxItem *) ), this, TQ_SLOT( slotEditbyList(TQListBoxItem *) ) );
_preview = new TQTextView( _split, "_preview" );
_preview->setFrameShape( TQTextView::NoFrame );
@@ -111,21 +111,21 @@ void KEducaBuilder::init()
/** Init menu bar settings */
void KEducaBuilder::initMenuBar()
{
- KStdAction::openNew(this, TQT_SLOT( slotFileOpenNew() ), actionCollection());
- KStdAction::open (this, TQT_SLOT( slotFileOpen() ), actionCollection());
- (void)new TDEAction(i18n("Open &Gallery..."), 0, 0, this, TQT_SLOT( slotGallery() ), actionCollection(), "open_gallery");
- _recentFiles = KStdAction::openRecent(this, TQT_SLOT ( slotFileOpenURL(const KURL &)), actionCollection());
- KStdAction::save (this, TQT_SLOT( slotFileSave() ), actionCollection());
- KStdAction::saveAs (this, TQT_SLOT( slotFileSaveAs() ), actionCollection());
- KStdAction::print (this, TQT_SLOT( slotFilePrint() ), actionCollection());
- (void)new TDEAction(i18n("Document Info"), "application-vnd.tde.info", 0, this, TQT_SLOT( slotHeader() ), actionCollection(), "info_doc");
- KStdAction::quit(this, TQT_SLOT( close() ), actionCollection());
-
- (void)new TDEAction(i18n("&Add..."), "addquestion", 0, this, TQT_SLOT( slotAdd() ), actionCollection(), "question_add");
- (void)new TDEAction(i18n("&Edit..."), "editquestion", 0, this, TQT_SLOT( slotEdit() ), actionCollection(), "question_edit");
- (void)new TDEAction(i18n("&Remove"), "delquestion", 0, this, TQT_SLOT( slotRemove() ), actionCollection(), "question_remove");
- (void)new TDEAction(i18n("&Up"), "go-up", 0, this, TQT_SLOT( slotUp() ), actionCollection(), "question_up");
- (void)new TDEAction(i18n("&Down"), "go-down", 0, this, TQT_SLOT( slotDown() ), actionCollection(), "question_down");
+ KStdAction::openNew(this, TQ_SLOT( slotFileOpenNew() ), actionCollection());
+ KStdAction::open (this, TQ_SLOT( slotFileOpen() ), actionCollection());
+ (void)new TDEAction(i18n("Open &Gallery..."), 0, 0, this, TQ_SLOT( slotGallery() ), actionCollection(), "open_gallery");
+ _recentFiles = KStdAction::openRecent(this, TQ_SLOT ( slotFileOpenURL(const KURL &)), actionCollection());
+ KStdAction::save (this, TQ_SLOT( slotFileSave() ), actionCollection());
+ KStdAction::saveAs (this, TQ_SLOT( slotFileSaveAs() ), actionCollection());
+ KStdAction::print (this, TQ_SLOT( slotFilePrint() ), actionCollection());
+ (void)new TDEAction(i18n("Document Info"), "application-vnd.tde.info", 0, this, TQ_SLOT( slotHeader() ), actionCollection(), "info_doc");
+ KStdAction::quit(this, TQ_SLOT( close() ), actionCollection());
+
+ (void)new TDEAction(i18n("&Add..."), "addquestion", 0, this, TQ_SLOT( slotAdd() ), actionCollection(), "question_add");
+ (void)new TDEAction(i18n("&Edit..."), "editquestion", 0, this, TQ_SLOT( slotEdit() ), actionCollection(), "question_edit");
+ (void)new TDEAction(i18n("&Remove"), "delquestion", 0, this, TQ_SLOT( slotRemove() ), actionCollection(), "question_remove");
+ (void)new TDEAction(i18n("&Up"), "go-up", 0, this, TQ_SLOT( slotUp() ), actionCollection(), "question_up");
+ (void)new TDEAction(i18n("&Down"), "go-down", 0, this, TQ_SLOT( slotDown() ), actionCollection(), "question_down");
}
/** Delete current document and start new */
diff --git a/keduca/keducabuilder/keducaeditorstartdialog.cpp b/keduca/keducabuilder/keducaeditorstartdialog.cpp
index b75d4f40..a9fc0b2a 100644
--- a/keduca/keducabuilder/keducaeditorstartdialog.cpp
+++ b/keduca/keducabuilder/keducaeditorstartdialog.cpp
@@ -42,8 +42,8 @@ KEducaEditorStartDialog::KEducaEditorStartDialog(KEducaBuilder * parent, const c
// setup connections
urlRequester->setFilter( "application/x-edu");
- connect( startChoiceBtnGrp, TQT_SIGNAL( clicked(int) ),
- this, TQT_SLOT( slotChoiceChanged(int) ) );
+ connect( startChoiceBtnGrp, TQ_SIGNAL( clicked(int) ),
+ this, TQ_SLOT( slotChoiceChanged(int) ) );
}
/** based on code in tdeaction.cpp
diff --git a/keduca/keducabuilder/ktagcombobox.cpp b/keduca/keducabuilder/ktagcombobox.cpp
index 081d4254..905c7698 100644
--- a/keduca/keducabuilder/ktagcombobox.cpp
+++ b/keduca/keducabuilder/ktagcombobox.cpp
@@ -41,10 +41,10 @@ KTagComboBox::KTagComboBox (TQWidget * parent, const char *name)
{
_popup = new TQPopupMenu(this);
_tags = new TQStringList;
- connect( _popup, TQT_SIGNAL(activated(int)),
- TQT_SLOT(internalActivate(int)) );
- connect( _popup, TQT_SIGNAL(highlighted(int)),
- TQT_SLOT(internalHighlight(int)) );
+ connect( _popup, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(internalActivate(int)) );
+ connect( _popup, TQ_SIGNAL(highlighted(int)),
+ TQ_SLOT(internalHighlight(int)) );
}
void KTagComboBox::popupMenu()
@@ -148,10 +148,10 @@ void KTagComboBox::insertSubmenu(const TQString &text, const TQString &tag, cons
TQPopupMenu *p = new TQPopupMenu(pi);
pi->insertItem(text, p, count(), index);
_tags->append(tag);
- connect( p, TQT_SIGNAL(activated(int)),
- TQT_SLOT(internalActivate(int)) );
- connect( p, TQT_SIGNAL(highlighted(int)),
- TQT_SLOT(internalHighlight(int)) );
+ connect( p, TQ_SIGNAL(activated(int)),
+ TQ_SLOT(internalActivate(int)) );
+ connect( p, TQ_SIGNAL(highlighted(int)),
+ TQ_SLOT(internalHighlight(int)) );
}
void KTagComboBox::changeItem( const TQString &text, int index )