Remove tqapplication, tqconfig and tqmodules header files.

A new dummy empty header file has been added temporarily to create a
"-dev" "package to keep TDE modules building.
The next step will drop tqtinterface completely and the dummy file will
no longer exists.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/73/head
Michele Calgaro 6 months ago
parent 8057a2fd80
commit a5f3aa24b6
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -81,7 +81,7 @@ set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIR} ${TQT_LIBRARIES} )
qt_message( "Looking for native TQt3..." )
check_cxx_source_compiles("
#include <ntqapplication.h>
#include <tqapplication.h>
int main(int argc, char **argv) { TQApplication app(argc, argv); return 0; } "
HAVE_USABLE_QT)
if( NOT HAVE_USABLE_QT )

@ -30,9 +30,7 @@ link_directories(
##### headers ###################################
install( FILES
${IFACE}/tqapplication.h
${IFACE}/tqconfig.h
${IFACE}/tqmodules.h
${IFACE}/_tqdummy_.h
DESTINATION ${INCLUDE_INSTALL_DIR} )
##### tqt pkgconfig #############################

@ -19,25 +19,4 @@ Boston, MA 02110-1301, USA.
*/
#include <tqt.h>
#include <ntqapplication.h>
#include <X11/X.h>
extern Time tqt_x_time;
extern Time tqt_x_user_time;
void set_tqt_x_time(unsigned long x) {
tqt_x_time = x;
}
unsigned long get_tqt_x_time(void) {
return tqt_x_time;
}
void set_tqt_x_user_time(unsigned long x) {
tqt_x_user_time = x;
}
unsigned long get_tqt_x_user_time(void) {
return tqt_x_user_time;
}
#include <tqapplication.h>

@ -1,34 +0,0 @@
/*
Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef TQT_TQAPPLICATION_H
#define TQT_TQAPPLICATION_H
#include <tqt.h>
#include <ntqapplication.h>
// X11/X.h defines Time as unsigned long
void set_tqt_x_time(unsigned long x);
unsigned long get_tqt_x_time(void);
void set_tqt_x_user_time(unsigned long x);
unsigned long get_tqt_x_user_time(void);
#endif /* TQT_TQAPPLICATION_H */

@ -1,28 +0,0 @@
/*
Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef TQT_TQCONFIG_H
#define TQT_TQCONFIG_H
#include <tqt.h>
#include <ntqconfig.h>
#endif /* TQT_TQCONFIG_H */

@ -1,28 +0,0 @@
/*
Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef TQT_TQMODULES_H
#define TQT_TQMODULES_H
#include <tqt.h>
#include <ntqmodules.h>
#endif /* TQT_TQMODULES_H */
Loading…
Cancel
Save