diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-03-02 20:05:33 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-03-02 20:05:33 +0100 |
commit | 722ce1efbac31c61b1d4b13f7e075c9f311e3e73 (patch) | |
tree | db1b6b28566e5fe9accb4a688f7257673cecb080 /kdevdesigner/designer/richtextfontdialog.ui.h | |
parent | afb74575caf7dd8ccb6c235b1c8d788e320c19da (diff) | |
download | tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.tar.gz tdevelop-722ce1efbac31c61b1d4b13f7e075c9f311e3e73.zip |
Finish renaming tdevelop components
Diffstat (limited to 'kdevdesigner/designer/richtextfontdialog.ui.h')
-rw-r--r-- | kdevdesigner/designer/richtextfontdialog.ui.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/kdevdesigner/designer/richtextfontdialog.ui.h b/kdevdesigner/designer/richtextfontdialog.ui.h deleted file mode 100644 index 27a11a21..00000000 --- a/kdevdesigner/designer/richtextfontdialog.ui.h +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** ui.h extension file, included from the uic-generated form implementation. -** -** If you wish to add, delete or rename slots use TQt Designer which will -** update this file, preserving your code. Create an init() slot in place of -** a constructor, and a destroy() slot in place of a destructor. -*****************************************************************************/ -#include <tqcolordialog.h> -#include <tqfontdatabase.h> - -void RichTextFontDialog::init() -{ - TQFontDatabase *db = new TQFontDatabase(); - fontCombo->insertStringList( db->families() ); -} - -void RichTextFontDialog::selectColor() -{ - color = TQColorDialog::getColor( "", this ); - if( color.isValid() ) - colorButton->setPaletteBackgroundColor( color ); -} - -void RichTextFontDialog::accept() -{ - size = fontSizeCombo->currentText(); - font = fontCombo->currentText(); - done( Accepted ); -} - -void RichTextFontDialog::reject() -{ - done( Rejected ); -} - -TQString RichTextFontDialog::getSize() -{ - return size; -} - -TQString RichTextFontDialog::getColor() -{ - return color.name(); -} - -TQString RichTextFontDialog::getFont() -{ - return font; -} |