Update of /cvsroot/pymerase/smw/smw/mathedit/cpp-sip
In directory sc8-pr-cvs1:/tmp/cvs-serv32238/smw/mathedit/cpp-sip
Added Files:
IndentEdit.cpp IndentEdit.h IndentEdit.sip MainWindow.cpp
MainWindow.h MainWindow.sip Makefile qt_own.sip
Log Message:
Imported version of SMW downloaded on 2003 Apr 14
--- NEW FILE: IndentEdit.cpp ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: IndentEdit.h ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: IndentEdit.sip ---
%HeaderCode
#include <IndentEdit.h>
%End
class IndentEdit : QTextEdit
{
public:
IndentEdit( QWidget * /TransferThis/ =0 );
virtual bool event( QEvent * );
virtual bool acceptOverride( int, int );
virtual void ensureCursorVisible();
void updatesUp();
void updatesDown();
void setIndentationWidth( int );
void resetParagraph( int );
void simpleInsertParagraph( const QString&, int );
void indent( int, int );
void dedent( int, int );
void setCursorPositionWithoutJump( int, int );
};
--- NEW FILE: MainWindow.cpp ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: MainWindow.h ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: MainWindow.sip ---
%HeaderCode
#include <MainWindow.h>
%End
class MainWindow : QMainWindow
{
public:
MainWindow( QWidget */TransferThis/=0, const char *=0,
WFlags=WType_TopLevel);
QString saveState();
void loadState( const QString& );
};
--- NEW FILE: Makefile ---
# The following probably need to be modified only in special cases
#INCLUDES=-I$(QTDIR)/include -I$(QTSRCDIR)/src -I$(MKSPECDIR)
export MOC=$(QTDIR)/bin/moc
export CC=gcc
export CXX=g++
export CXXFLAGS=-fPIC -I$(QTDIR)/include -I$(MKSPECDIR) -I$(QTSRCDIR)/src
export LDFLAGS=-L$(QTDIR)/lib
export LDLIBS=-lqt
# Meta object (MOC) compilation rule
moc_%.cpp: %.h
$(MOC) $< -o $@
all: sip
sip: MainWindow.o
sip -I $(PYQT_SIPS) -c sipcode -t Qt_3_0_5 -t WS_X11 qt_own.sip
cd sipcode && $(MAKE)
cp sipcode/*.py .
cp sipcode/*.so .
MainWindow.o : MainWindow.cpp MainWindow.h
clean:
rm -f *.o *.so *.py *.pyc
cd sipcode && $(MAKE) clean
--- NEW FILE: qt_own.sip ---
%Module qt_own
%Import qtmod.sip
%Include MainWindow.sip
|