diff options
author | Michele Calgaro <[email protected]> | 2024-02-13 11:03:23 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-02-13 11:03:23 +0900 |
commit | 768eba7b4bcb4df1cfebb140925be562576464fe (patch) | |
tree | 4ca62d51b51a3c23b45dcf633510d5a64e64391e /src/mergeelements.cpp | |
parent | 0a7295d1f8d11fd67a215215fa6a3ef1ad0e1b06 (diff) | |
download | kbibtex-768eba7b4bcb4df1cfebb140925be562576464fe.tar.gz kbibtex-768eba7b4bcb4df1cfebb140925be562576464fe.zip |
Replace Q_WS_* defines with TQ_WS_* equivalents
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/mergeelements.cpp')
-rw-r--r-- | src/mergeelements.cpp | 4 |
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 ) |