summaryrefslogtreecommitdiffstats
path: root/quanta/components/framewizard/framewizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/components/framewizard/framewizard.cpp')
-rw-r--r--quanta/components/framewizard/framewizard.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/quanta/components/framewizard/framewizard.cpp b/quanta/components/framewizard/framewizard.cpp
index 2f3903dd..e0e7d5d9 100644
--- a/quanta/components/framewizard/framewizard.cpp
+++ b/quanta/components/framewizard/framewizard.cpp
@@ -21,26 +21,26 @@
#include <kmessagebox.h>
//#include <kdebug.h>
#include <klocale.h>
-#include <qpushbutton.h>
+#include <tqpushbutton.h>
#include "fwglobal.h"
-static const QString info1=i18n("You must select an area."),
+static const TQString info1=i18n("You must select an area."),
info2=i18n("Before editing a frame you must save the file.");
-FrameWizard::FrameWizard(QWidget *parent, const char *name) : FrameWizardS(parent, name),
+FrameWizard::FrameWizard(TQWidget *parent, const char *name) : FrameWizardS(parent, name),
m_hasSelected(false),m_saved(false)
{
m_hasSelected = false;
m_currSA=vfe->internalTree()->root()->label();
- connect(this, SIGNAL(launchDraw()), this, SLOT(draw()));
- connect(vfe, SIGNAL(areaSelected(const QString &)), this, SLOT(catchSelectedArea(const QString &)));
+ connect(this, TQT_SIGNAL(launchDraw()), this, TQT_SLOT(draw()));
+ connect(vfe, TQT_SIGNAL(areaSelected(const TQString &)), this, TQT_SLOT(catchSelectedArea(const TQString &)));
- connect(pbHorizontal, SIGNAL(clicked()), this, SLOT(split()));
- connect(pbVertical, SIGNAL(clicked()), this, SLOT(split()));
- connect(pbEditFrame, SIGNAL(clicked()), this, SLOT(showFrameEditorDlg()));
- connect(pbReset, SIGNAL(clicked()), this, SLOT(reset()));
- connect(pbDelete, SIGNAL(clicked()), this, SLOT(remove()));
+ connect(pbHorizontal, TQT_SIGNAL(clicked()), this, TQT_SLOT(split()));
+ connect(pbVertical, TQT_SIGNAL(clicked()), this, TQT_SLOT(split()));
+ connect(pbEditFrame, TQT_SIGNAL(clicked()), this, TQT_SLOT(showFrameEditorDlg()));
+ connect(pbReset, TQT_SIGNAL(clicked()), this, TQT_SLOT(reset()));
+ connect(pbDelete, TQT_SIGNAL(clicked()), this, TQT_SLOT(remove()));
}
FrameWizard::~FrameWizard(){
@@ -48,7 +48,7 @@ FrameWizard::~FrameWizard(){
Q_CHECK_PTR( vfe );
}
-void FrameWizard::catchSelectedArea(const QString &id ){
+void FrameWizard::catchSelectedArea(const TQString &id ){
m_currSA = id; //is the current SelectableArea selected
m_hasSelected = true;// a SelectableArea has been selected
}
@@ -56,8 +56,8 @@ void FrameWizard::catchSelectedArea(const QString &id ){
void FrameWizard::split(){
if(m_hasSelected) {
int split = 0;
- QString currNodeLabel = m_currSA;
- QString senderName=sender()->name();
+ TQString currNodeLabel = m_currSA;
+ TQString senderName=sender()->name();
if(senderName=="pbHorizontal"){
split = showRCeditorDlg(i18n("Enter the desired number of rows:"));
if(split>=2) vfe->split(currNodeLabel,split,HORIZONTAL);
@@ -77,7 +77,7 @@ void FrameWizard::draw(){
vfe->draw();
}
-int FrameWizard::showRCeditorDlg(const QString &s){
+int FrameWizard::showRCeditorDlg(const TQString &s){
int res = 0;
fmRCeditor *dlg = new fmRCeditor;
dlg->setLabelText(s);