summaryrefslogtreecommitdiffstats
path: root/kspread
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
committerTimothy Pearson <[email protected]>2012-02-14 21:10:09 -0600
commite6cf8874a75a09b279e13f59e78b31804b1d6f83 (patch)
tree73cf4e5dee6ce00c4fa7d32243c322631c50712c /kspread
parent35dc3d657c5d486b5233ce8e6ec74bf9656aaedf (diff)
downloadkoffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.tar.gz
koffice-e6cf8874a75a09b279e13f59e78b31804b1d6f83.zip
Update various qt function definitions and static methods for tqt3
Diffstat (limited to 'kspread')
-rw-r--r--kspread/Doxyfile2
-rw-r--r--kspread/plugins/calculator/kcalc.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/kspread/Doxyfile b/kspread/Doxyfile
index 105c69e9..a886fdae 100644
--- a/kspread/Doxyfile
+++ b/kspread/Doxyfile
@@ -928,7 +928,7 @@ INCLUDE_FILE_PATTERNS =
# or name=definition (no spaces). If the definition and the = are
# omitted =1 is assumed.
-PREDEFINED = QT_VERSION=320 \
+PREDEFINED = TQT_VERSION=320 \
__cplusplus \
Q_WS_X11
diff --git a/kspread/plugins/calculator/kcalc.cpp b/kspread/plugins/calculator/kcalc.cpp
index 75051b17..c3ba18ac 100644
--- a/kspread/plugins/calculator/kcalc.cpp
+++ b/kspread/plugins/calculator/kcalc.cpp
@@ -87,18 +87,18 @@ TQtCalculator :: TQtCalculator( Calculator *_corba, TQWidget *parent, const char
connect(calc_display,TQT_SIGNAL(clicked()),this,TQT_SLOT(display_selected()));
statusINVLabel = new TQLabel( this, "INV" );
- Q_CHECK_PTR( statusINVLabel );
+ TQ_CHECK_PTR( statusINVLabel );
statusINVLabel->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
statusINVLabel->setAlignment( AlignCenter );
statusINVLabel->setText("NORM");
statusHYPLabel = new TQLabel( this, "HYP" );
- Q_CHECK_PTR( statusHYPLabel );
+ TQ_CHECK_PTR( statusHYPLabel );
statusHYPLabel->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
statusHYPLabel->setAlignment( AlignCenter );
statusERRORLabel = new TQLabel( this, "ERROR" );
- Q_CHECK_PTR( statusERRORLabel );
+ TQ_CHECK_PTR( statusERRORLabel );
statusERRORLabel->setFrameStyle( TQFrame::Panel | TQFrame::Sunken );
statusERRORLabel->setAlignment( AlignLeft|AlignVCenter );