summaryrefslogtreecommitdiffstats
path: root/src/mergeelements.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mergeelements.cpp')
-rw-r--r--src/mergeelements.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mergeelements.cpp b/src/mergeelements.cpp
index 3eb745b..5137f59 100644
--- a/src/mergeelements.cpp
+++ b/src/mergeelements.cpp
@@ -774,7 +774,7 @@ namespace KBibTeX
int scnum = TQApplication::desktop()->screenNumber( parentWidget() );
TQRect desk = TQApplication::desktop()->screenGeometry( scnum );
int w, h;
-#if defined Q_WS_X11
+#if defined TQ_WS_X11
// save maximalization as desktop size + 1 in that direction
KWin::WindowInfo info = KWin::windowInfo( winId(), NET::WMState );
w = info.state() & NET::MaxHoriz ? desk.width() + 1 : width();
@@ -838,7 +838,7 @@ namespace KBibTeX
}
if ( !size.isEmpty() )
{
-#ifdef Q_WS_X11
+#ifdef TQ_WS_X11
int state = ( size.width() > desk.width() ? NET::MaxHoriz : 0 )
| ( size.height() > desk.height() ? NET::MaxVert : 0 );
if (( state & NET::Max ) == NET::Max )