• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdesdk API Reference
  • KDE Home
  • Contact Us
 

lokalize

  • sources
  • kde-4.12
  • kdesdk
  • lokalize
  • src
  • tm
tmmanager.h
Go to the documentation of this file.
1 /* ****************************************************************************
2  This file is part of Lokalize
3 
4  Copyright (C) 2007-2011 by Nick Shaforostoff <shafff@ukr.net>
5 
6  This program is free software; you can redistribute it and/or modify
7  it under the terms of the GNU General Public License as published by
8  the Free Software Foundation; either version 2 of the License, or
9  (at your option) any later version.
10 
11  This program is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  GNU General Public License for more details.
15 
16  You should have received a copy of the GNU General Public License
17  along with this program; if not, write to the Free Software
18  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19 
20  In addition, as a special exception, the copyright holders give
21  permission to link the code of this program with any edition of
22  the Qt library by Trolltech AS, Norway (or with modified versions
23  of Qt that use the same license as Qt), and distribute linked
24  combinations including the two. You must obey the GNU General
25  Public License in all respects for all of the code used other than
26  Qt. If you modify this file, you may extend this exception to
27  your version of the file, but you are not obligated to do so. If
28  you do not wish to do so, delete this exception statement from
29  your version.
30 
31 **************************************************************************** */
32 
33 #ifndef TMMANAGER_H
34 #define TMMANAGER_H
35 
36 #include <kmainwindow.h>
37 #include <QModelIndex>
38 #include <QTimer>
39 
40 class QTreeView;
41 
42 #include "ui_dbparams.h"
43 #include <kdialog.h>
44 namespace ThreadWeaver {class Job;};
45 
46 namespace TM {
50 class TMManagerWin: public KMainWindow
51 {
52  Q_OBJECT
53 public:
54  TMManagerWin(QWidget *parent = 0);
55  ~TMManagerWin(){};
56 private slots:
57  void addDir();
58  void addDB();
59  void importTMX();
60  void exportTMX();
61  void removeDB();
62 
63  void initLater();
64  void slotItemActivated(const QModelIndex&);
65 private:
66  QTreeView* m_tmListWidget;
67 };
68 
69 //TODO remote tms
70 class DBPropertiesDialog: public KDialog, Ui_DBParams
71 {
72  Q_OBJECT
73 public:
74  DBPropertiesDialog(QWidget* parent, const QString& name=QString());
75 private:
76  //void slotButtonClicked(int button);
77  void accept();
78 private slots:
79  void setConnectionBoxVisible(int type);
80  void openJobDone(ThreadWeaver::Job*);
81  void checkConnectionOptions();
82  void feedbackRegardingAcceptable();
83 private:
84  bool m_connectionOptionsValid;
85  QTimer m_checkDelayer;
86 };
87 
88 
89 
90 }
91 #endif
TM::TMManagerWin::~TMManagerWin
~TMManagerWin()
Definition: tmmanager.h:55
QWidget
Ui_DBParams
TM::TMManagerWin
Window for managing Translation Memory databases.
Definition: tmmanager.h:50
KMainWindow
QTreeView
TM::DBPropertiesDialog::DBPropertiesDialog
DBPropertiesDialog(QWidget *parent, const QString &name=QString())
Definition: tmmanager.cpp:101
TM::TMManagerWin::TMManagerWin
TMManagerWin(QWidget *parent=0)
Definition: tmmanager.cpp:53
TM::DBPropertiesDialog
Definition: tmmanager.h:70
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:03:45 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

lokalize

Skip menu "lokalize"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdesdk API Reference

Skip menu "kdesdk API Reference"
  • kapptemplate
  • kcachegrind
  • kompare
  • lokalize
  • okteta
  • umbrello
  •   umbrello

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal