Good: I've moved the tests under a tests subdir, a.l.a. kdelibs.
To compile them:
$ cd tests
$ unsermake check
In this way, less code is compiled and installed as default
Bad: I've commented with #if 0 a pair of constructors that don't compile
here, and I don't know how to fix, sorry :(
CCMAIL: kstars@30doradus.org
svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=456393
-bin_PROGRAMS = test_extdate test_extdatepicker
+SUBDIRS = . tests
INCLUDES= $(all_includes)
libextdate_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 3:0:2
libextdate_la_LIBADD = $(LIB_KDEUI)
-test_extdate_SOURCES = test_extdate.cc
-test_extdate_LDADD = libextdate.la
-test_extdate_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-
-test_extdatepicker_SOURCES = testwidget.cpp main.cpp
-test_extdatepicker_LDADD = libextdate.la
-test_extdatepicker_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-
METASOURCES = AUTO
-
m_DateFormat.replace( "y", "Y" );
}
+#if 0
ExtDateEdit::ExtDateEdit( int jd, QWidget *parent ) {
ExtDateEdit( ExtDate(jd), parent );
}
+#endif
ExtDateEdit::~ExtDateEdit() {
}
hlay->addWidget( m_TimeEdit );
}
+#if 0
ExtDateTimeEdit::ExtDateTimeEdit( const ExtDate &d, const QTime &t, QWidget *parent ) {
ExtDateTimeEdit( ExtDateTime( d, t ), parent );
}
+#endif
ExtDateTimeEdit::~ExtDateTimeEdit() {
}
public:
ExtDateEdit( const ExtDate &d = ExtDate::currentDate(), QWidget *parent = 0 );
+#if 0
ExtDateEdit( int jd, QWidget *parent = 0 );
+#endif
~ExtDateEdit();
void stepBy( int steps );
public:
ExtDateTimeEdit( const ExtDateTime &dt = ExtDateTime::currentDateTime(), QWidget *p=0 );
+#if 0
ExtDateTimeEdit( const ExtDate &d, const QTime &t, QWidget *p=0 );
+#endif
~ExtDateTimeEdit();
private:
--- /dev/null
+INCLUDES = -I$(top_srcdir)/libkdeedu/extdate $(all_includes)
+
+LDADD = ../libextdate.la
+
+AM_LDFLAGS = $(QT_LDFLAGS) $(X_LDFLAGS) $(KDE_RPATH)
+
+check_PROGRAMS = test_extdate test_extdatepicker
+
+test_extdate_SOURCES = test_extdate.cc
+test_extdatepicker_SOURCES = testwidget.cpp main.cpp
+
+METASOURCES = AUTO