summaryrefslogtreecommitdiff
path: root/inputmethods/pickboard/pickboard.cpp
Unidiff
Diffstat (limited to 'inputmethods/pickboard/pickboard.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/pickboard/pickboard.cpp25
1 files changed, 23 insertions, 2 deletions
diff --git a/inputmethods/pickboard/pickboard.cpp b/inputmethods/pickboard/pickboard.cpp
index 087144e..1611cb0 100644
--- a/inputmethods/pickboard/pickboard.cpp
+++ b/inputmethods/pickboard/pickboard.cpp
@@ -1,7 +1,7 @@
1/********************************************************************** 1/**********************************************************************
2** Copyright (C) 2000 Trolltech AS. All rights reserved. 2** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
3** 3**
4** This file is part of Qtopia Environment. 4** This file is part of the Qtopia Environment.
5** 5**
6** This file may be distributed and/or modified under the terms of the 6** This file may be distributed and/or modified under the terms of the
7** GNU General Public License version 2 as published by the Free Software 7** GNU General Public License version 2 as published by the Free Software
@@ -34,7 +34,25 @@
34#include <qhbuttongroup.h> 34#include <qhbuttongroup.h>
35#include <qpushbutton.h> 35#include <qpushbutton.h>
36#include <qmessagebox.h> 36#include <qmessagebox.h>
37#ifdef QWS
37#include <qwindowsystem_qws.h> 38#include <qwindowsystem_qws.h>
39#endif
40
41/*! \class Pickboard
42 \brief The Pickboard class provides an input method
43 based on a virtual keyboard combined with word-completion.
44
45 This version of Pickboard is Dual Licensed Software. However, for you to be
46 able to license the technology to others, you may require a T9(R) Text
47 Input license from Tegic Communications Corporation. More information can
48 be found at http://www.t9.com/.
49
50 \legalese
51 This version of Pickboard is Dual Licensed Software. However, for you to be
52 able to license the technology to others, you may require a T9(R) Text
53 Input license from Tegic Communications Corporation. More information can
54 be found at http://www.t9.com/.
55*/
38 56
39/* XPM */ 57/* XPM */
40static const char * const menu_xpm[]={ 58static const char * const menu_xpm[]={
@@ -74,7 +92,10 @@ Pickboard::Pickboard(QWidget* parent, const char* name, WFlags f) :
74{ 92{
75 (new QHBoxLayout(this))->setAutoAdd(TRUE); 93 (new QHBoxLayout(this))->setAutoAdd(TRUE);
76 d = new PickboardPrivate(this); 94 d = new PickboardPrivate(this);
95// under Win32 we may not have smallsmooth font
96#ifndef Q_OS_WIN32
77 setFont( QFont( "smallsmooth", 9 ) ); 97 setFont( QFont( "smallsmooth", 9 ) );
98#endif
78} 99}
79 100
80Pickboard::~Pickboard() 101Pickboard::~Pickboard()