author | davipt <davipt> | 2002-06-20 17:50:48 (UTC) |
---|---|---|
committer | davipt <davipt> | 2002-06-20 17:50:48 (UTC) |
commit | 82c21e9596f15d96d6d8d8cdf837969960479dcb (patch) (unidiff) | |
tree | debe9ccda82ce9e443275c3cd9621586e049f5f7 | |
parent | fd64293dbcfae3bcf3265e31fbe847ac86b2a0af (diff) | |
download | opie-82c21e9596f15d96d6d8d8cdf837969960479dcb.zip opie-82c21e9596f15d96d6d8d8cdf837969960479dcb.tar.gz opie-82c21e9596f15d96d6d8d8cdf837969960479dcb.tar.bz2 |
Added translation
-rw-r--r-- | core/applets/screenshotapplet/screenshot.cpp | 2 | ||||
-rw-r--r-- | core/applets/screenshotapplet/screenshotapplet.pro | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/core/applets/screenshotapplet/screenshot.cpp b/core/applets/screenshotapplet/screenshot.cpp index d95396b..8a2a956 100644 --- a/core/applets/screenshotapplet/screenshot.cpp +++ b/core/applets/screenshotapplet/screenshot.cpp | |||
@@ -71,33 +71,33 @@ static char * snapshot_xpm[] = { | |||
71 | " "}; | 71 | " "}; |
72 | 72 | ||
73 | 73 | ||
74 | ScreenshotControl::ScreenshotControl( QWidget *parent, const char *name ) | 74 | ScreenshotControl::ScreenshotControl( QWidget *parent, const char *name ) |
75 | : QFrame( parent, name, WDestructiveClose | WStyle_StaysOnTop | WType_Popup ) | 75 | : QFrame( parent, name, WDestructiveClose | WStyle_StaysOnTop | WType_Popup ) |
76 | { | 76 | { |
77 | setFrameStyle( QFrame::PopupPanel | QFrame::Raised ); | 77 | setFrameStyle( QFrame::PopupPanel | QFrame::Raised ); |
78 | // qDebug("screenshot control"); | 78 | // qDebug("screenshot control"); |
79 | QVBoxLayout *vbox = new QVBoxLayout( this ); | 79 | QVBoxLayout *vbox = new QVBoxLayout( this ); |
80 | // qDebug("new layout"); | 80 | // qDebug("new layout"); |
81 | delaySpin = new QSpinBox( 0,60,1, this, "Spinner" ); | 81 | delaySpin = new QSpinBox( 0,60,1, this, "Spinner" ); |
82 | // qDebug("new spinbox"); | 82 | // qDebug("new spinbox"); |
83 | delaySpin->setFocusPolicy( QWidget::NoFocus ); | 83 | delaySpin->setFocusPolicy( QWidget::NoFocus ); |
84 | grabItButton= new QPushButton( this, "GrabButton" ); | 84 | grabItButton= new QPushButton( this, "GrabButton" ); |
85 | // qDebug("new pushbutton"); | 85 | // qDebug("new pushbutton"); |
86 | grabItButton ->setFocusPolicy( QWidget::TabFocus ); | 86 | grabItButton ->setFocusPolicy( QWidget::TabFocus ); |
87 | grabItButton->setText("Snapshot"); | 87 | grabItButton->setText(tr("Snapshot")); |
88 | vbox->setMargin( 6 ); | 88 | vbox->setMargin( 6 ); |
89 | vbox->setSpacing( 3 ); | 89 | vbox->setSpacing( 3 ); |
90 | vbox->addWidget( delaySpin); | 90 | vbox->addWidget( delaySpin); |
91 | vbox->setMargin( 6 ); | 91 | vbox->setMargin( 6 ); |
92 | vbox->setSpacing( 3 ); | 92 | vbox->setSpacing( 3 ); |
93 | vbox->addWidget( grabItButton); | 93 | vbox->addWidget( grabItButton); |
94 | 94 | ||
95 | setFixedHeight( 100 ); | 95 | setFixedHeight( 100 ); |
96 | setFixedWidth( sizeHint().width() ); | 96 | setFixedWidth( sizeHint().width() ); |
97 | setFocusPolicy(QWidget::NoFocus); | 97 | setFocusPolicy(QWidget::NoFocus); |
98 | 98 | ||
99 | grabTimer= new QTimer(this,"grab timer"); | 99 | grabTimer= new QTimer(this,"grab timer"); |
100 | // qDebug("newTimer"); | 100 | // qDebug("newTimer"); |
101 | connect( grabTimer, SIGNAL( timeout() ), this, SLOT( grabTimerDone() ) ); | 101 | connect( grabTimer, SIGNAL( timeout() ), this, SLOT( grabTimerDone() ) ); |
102 | 102 | ||
103 | // Config cfg("Snapshot"); | 103 | // Config cfg("Snapshot"); |
diff --git a/core/applets/screenshotapplet/screenshotapplet.pro b/core/applets/screenshotapplet/screenshotapplet.pro index e38074d..e3c5440 100644 --- a/core/applets/screenshotapplet/screenshotapplet.pro +++ b/core/applets/screenshotapplet/screenshotapplet.pro | |||
@@ -1,16 +1,27 @@ | |||
1 | TEMPLATE = lib | 1 | TEMPLATE = lib |
2 | CONFIG += qt warn_on release | 2 | CONFIG += qt warn_on release |
3 | HEADERS = screenshot.h screenshotappletimpl.h | 3 | HEADERS = screenshot.h screenshotappletimpl.h |
4 | SOURCES = screenshot.cpp screenshotappletimpl.cpp | 4 | SOURCES = screenshot.cpp screenshotappletimpl.cpp |
5 | TARGET = screenshotapplet | 5 | TARGET = screenshotapplet |
6 | DESTDIR = ../../plugins/applets | 6 | DESTDIR = ../../plugins/applets |
7 | INCLUDEPATH += $(OPIEDIR)/include | 7 | INCLUDEPATH += $(OPIEDIR)/include |
8 | DEPENDPATH += ../$(OPIEDIR)/include | 8 | DEPENDPATH += ../$(OPIEDIR)/include |
9 | LIBS += -lqpe | 9 | LIBS += -lqpe |
10 | VERSION = 1.0.0 | 10 | VERSION = 1.0.0 |
11 | MOC_DIR=opieobj | 11 | MOC_DIR=opieobj |
12 | OBJECTS_DIR=opieobj | 12 | OBJECTS_DIR=opieobj |
13 | 13 | ||
14 | TRANSLATIONS = ../../i18n/pt_BR/libscreenshotapplet.ts | 14 | TRANSLATIONS = ../../i18n/pt_BR/libscreenshotapplet.ts |
15 | TRANSLATIONS += ../../i18n/es/libscreenshotapplet.ts | ||
16 | TRANSLATIONS += ../../i18n/pt/libscreenshotapplet.ts | 15 | TRANSLATIONS += ../../i18n/pt/libscreenshotapplet.ts |
16 | TRANSLATIONS += ../../i18n/de/libscreenshotapplet.ts | ||
17 | TRANSLATIONS += ../../i18n/en/libscreenshotapplet.ts | ||
18 | TRANSLATIONS += ../../i18n/es/libscreenshotapplet.ts | ||
19 | TRANSLATIONS += ../../i18n/fr/libscreenshotapplet.ts | ||
20 | TRANSLATIONS += ../../i18n/hu/libscreenshotapplet.ts | ||
21 | TRANSLATIONS += ../../i18n/ja/libscreenshotapplet.ts | ||
22 | TRANSLATIONS += ../../i18n/ko/libscreenshotapplet.ts | ||
23 | TRANSLATIONS += ../../i18n/no/libscreenshotapplet.ts | ||
24 | TRANSLATIONS += ../../i18n/pl/libscreenshotapplet.ts | ||
25 | TRANSLATIONS += ../../i18n/sl/libscreenshotapplet.ts | ||
26 | TRANSLATIONS += ../../i18n/zh_CN/libscreenshotapplet.ts | ||
27 | TRANSLATIONS += ../../i18n/zh_TW/libscreenshotapplet.ts | ||