summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/qt-only
diff options
context:
space:
mode:
Diffstat (limited to 'kregexpeditor/qt-only')
-rw-r--r--kregexpeditor/qt-only/compat.cpp6
-rw-r--r--kregexpeditor/qt-only/compat.h4
-rwxr-xr-xkregexpeditor/qt-only/compile4
-rw-r--r--kregexpeditor/qt-only/qt-only.pro2
4 files changed, 8 insertions, 8 deletions
diff --git a/kregexpeditor/qt-only/compat.cpp b/kregexpeditor/qt-only/compat.cpp
index a7a5d12..2d3315a 100644
--- a/kregexpeditor/qt-only/compat.cpp
+++ b/kregexpeditor/qt-only/compat.cpp
@@ -50,18 +50,18 @@ void KDialogBase::init( int buttonMask, ButtonCode /*defaultButton*/, const TQSt
if ( buttonMask & Help ) {
but = new TQPushButton( tr("Help"), this );
buts->addWidget( but );
- connect( but, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( helpClicked() ) );
+ connect( but, TQ_SIGNAL( clicked() ), this, TQ_SIGNAL( helpClicked() ) );
}
buts->addStretch(1);
if ( buttonMask & Ok ) {
but = new TQPushButton( tr("OK"), this );
buts->addWidget( but );
- connect( but, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotOk() ) );
+ connect( but, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOk() ) );
}
if ( buttonMask & Cancel ) {
but = new TQPushButton( tr("Cancel"), this );
buts->addWidget( but );
- connect( but, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCancel() ) );
+ connect( but, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCancel() ) );
}
}
diff --git a/kregexpeditor/qt-only/compat.h b/kregexpeditor/qt-only/compat.h
index bf8e9ee..16d7263 100644
--- a/kregexpeditor/qt-only/compat.h
+++ b/kregexpeditor/qt-only/compat.h
@@ -36,7 +36,7 @@ TQString i18n( const TQString& a, const TQString& b);
class KDialogBase :public TQDialog
{
- Q_OBJECT
+ TQ_OBJECT
public:
@@ -72,7 +72,7 @@ private:
class KMessageBox :public TQMessageBox
{
- Q_OBJECT
+ TQ_OBJECT
public:
enum ButtonCode { Ok = 1, Cancel = 2, Yes = 3, No = 4, Continue = 5 };
diff --git a/kregexpeditor/qt-only/compile b/kregexpeditor/qt-only/compile
index 43bcf42..fc41caa 100755
--- a/kregexpeditor/qt-only/compile
+++ b/kregexpeditor/qt-only/compile
@@ -3,7 +3,7 @@
ln -s ../*.{cpp,h,y,l} .
ln -s ../{KMultiFormListBox,KWidgetStreamer}/*.{cpp,h} .
ln -s $KDESRC/tdelibs/interfaces/kregexpeditor/kregexpeditorinterface.h .
-ln -s gen_qregexpparser.cc gen_qregexpparser.cpp
+ln -s gen_qregexpparser.cpp gen_qregexpparser.cpp
touch unistd.h
mkdir icons
cp ../picts/* icons
@@ -13,7 +13,7 @@ mkdir predefined/General
cp ../predefined/General/*.regexp predefined/General
flex -Pqregexp -ogen_qregexplexer.cpp qregexpparser.l
-bison -d -p qregexp -o gen_qregexpparser.cc qregexpparser.y
+bison -d -p qregexp -o gen_qregexpparser.cpp qregexpparser.y
mkdir manual
cd manual
diff --git a/kregexpeditor/qt-only/qt-only.pro b/kregexpeditor/qt-only/qt-only.pro
index 536c98b..aad7f07 100644
--- a/kregexpeditor/qt-only/qt-only.pro
+++ b/kregexpeditor/qt-only/qt-only.pro
@@ -28,7 +28,7 @@ HEADERS += altnregexp.h \
editorwindow.h \
emacsregexpconverter.h \
errormap.h \
- gen_qregexpparser.hh \
+ gen_qregexpparser.h \
indexWindow.h \
infopage.h \
tdemultiformlistbox-multivisible.h \