From 38ca57e74802fadea4fbcb50122517b6e9c47d9e Mon Sep 17 00:00:00 2001 From: dockes Date: Wed, 30 Nov 2005 18:05:14 +0000 Subject: [PATCH] *** empty log message *** --- src/excludefile | 1 + src/qtgui/form1.ui.h | 60 -------------------------------------------- 2 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 src/qtgui/form1.ui.h diff --git a/src/excludefile b/src/excludefile index aeda5e93..94439fad 100644 --- a/src/excludefile +++ b/src/excludefile @@ -25,3 +25,4 @@ qtgui/preview/preview.pro qtgui/preview/pvmain.cpp lib/librcl.a sampleconf/recoll.conf +wxgui diff --git a/src/qtgui/form1.ui.h b/src/qtgui/form1.ui.h deleted file mode 100644 index a7c289f0..00000000 --- a/src/qtgui/form1.ui.h +++ /dev/null @@ -1,60 +0,0 @@ -/**************************************************************************** -** ui.h extension file, included from the uic-generated form implementation. -** -** If you want to add, delete, or rename functions or slots, use -** Qt Designer to update this file, preserving your code. -** -** You should not define a constructor or destructor in this file. -** Instead, write your code in functions called init() and destroy(). -** These will automatically be called by the form's constructor and -** destructor. -*****************************************************************************/ - -void Form1::fileExit() -{ - exit(0); -} - - -void Form1::helpIndex() -{ - -} - - -void Form1::helpContents() -{ - -} - - -void Form1::helpAbout() -{ - -} - - -void Form1::resTextEdit_clicked( int par, int car ) -{ - fprintf(stderr, "Clicked at paragraph %d, char %d\n", par, car); -} -#include "qfontdialog.h" - -#define BS 200000 -void Form1::resTextEdit_returnPressed() -{ - fprintf(stderr, "ReturnPressed()\n"); - resTextEdit->setFont( QFontDialog::getFont( 0, resTextEdit->font() ) ); - const char *fname = "utf8.txt"; - FILE *fp = fopen(fname, "r"); - if (fp) { - char buf[BS]; - memset(buf,0, sizeof(buf)); - int n = fread(buf, 1, BS-1, fp); - fclose(fp); - QString str = QString::fromUtf8(buf, n); - resTextEdit->setTextFormat(RichText); - resTextEdit->setText(str); - } - -}