summaryrefslogtreecommitdiffstats
path: root/kbabel/catalogmanager/catalogmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/catalogmanager/catalogmanager.h')
-rw-r--r--kbabel/catalogmanager/catalogmanager.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/kbabel/catalogmanager/catalogmanager.h b/kbabel/catalogmanager/catalogmanager.h
index 67f871fa..11927bd7 100644
--- a/kbabel/catalogmanager/catalogmanager.h
+++ b/kbabel/catalogmanager/catalogmanager.h
@@ -34,18 +34,18 @@
#ifndef CATALOGMANAGER_H
#define CATALOGMANAGER_H
-#include <qdict.h>
-#include <qlistview.h>
-#include <qdatetime.h>
-#include <qfileinfo.h>
-#include <qguardedptr.h>
-#include <qmap.h>
+#include <tqdict.h>
+#include <tqlistview.h>
+#include <tqdatetime.h>
+#include <tqfileinfo.h>
+#include <tqguardedptr.h>
+#include <tqmap.h>
#include <kdeversion.h>
#include <kmainwindow.h>
#include <kdirwatch.h>
#include <kprocess.h>
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include "projectsettings.h"
#include "kbproject.h"
@@ -71,7 +71,7 @@ class CatalogManager : public KMainWindow
{
Q_OBJECT
public:
- CatalogManager(QString configfile = QString() );
+ CatalogManager(TQString configfile = TQString() );
~CatalogManager();
KBabel::CatManSettings settings() const;
@@ -82,15 +82,15 @@ public:
void setPreferredWindow(WId id);
/** updates the file fileWithPath in the @ref CatalogManagerView */
- void updateFile(QString fileWithPath);
- void updateAfterSave(QString fileWithPath, KBabel::PoInfo &info);
+ void updateFile(TQString fileWithPath);
+ void updateAfterSave(TQString fileWithPath, KBabel::PoInfo &info);
CatalogManagerView *view();
void pause(bool flag) { if( _catalogManager ) _catalogManager->pause (flag); }
- static QStringList _foundFilesList;
- static QStringList _toBeSearched;
+ static TQStringList _foundFilesList;
+ static TQStringList _toBeSearched;
public slots:
/** updates the settings from the project */
@@ -110,13 +110,13 @@ public slots:
void projectOpen();
void projectClose();
void projectConfigure();
- void changeProjectActions(const QString& project);
+ void changeProjectActions(const TQString& project);
virtual void clearProgressBar();
- virtual void prepareProgressBar(QString msg, int max);
+ virtual void prepareProgressBar(TQString msg, int max);
virtual void clearStatusProgressBar();
- virtual void prepareStatusProgressBar(QString msg, int max);
+ virtual void prepareStatusProgressBar(TQString msg, int max);
virtual void prepareStatusProgressBar(int max);
virtual void setNumberOfFound( int toBeSent, int total );
@@ -137,7 +137,7 @@ private:
void restoreView();
void saveView();
- void saveSettings( QString configFile = QString::null );
+ void saveSettings( TQString configFile = TQString::null );
void setupActions();
void setupStatusBar();
@@ -150,16 +150,16 @@ private slots:
* is used. If this is deleted meanwhile, the first window in
* @ref KMainWindow::memberList is used.
*/
- void openFile(QString filename,QString package);
- void openFile(QString filename,QString package, int msgid);
- void openFileInNewWindow(QString filename,QString package);
+ void openFile(TQString filename,TQString package);
+ void openFile(TQString filename,TQString package, int msgid);
+ void openFileInNewWindow(TQString filename,TQString package);
/**
* calls @ref KBabel::openTemplate where as preferred windos _preferredWindow
* is used. If this is deleted meanwhile, the first window in
* @ref KMainWindow::memberList is used.
*/
- void openTemplate(QString openFilename,QString saveFileName,QString package);
- void openTemplateInNewWindow(QString openFilename,QString saveFileName,QString package);
+ void openTemplate(TQString openFilename,TQString saveFileName,TQString package);
+ void openTemplateInNewWindow(TQString openFilename,TQString saveFileName,TQString package);
void markedSpellcheck();
void spellcheck();
@@ -187,16 +187,16 @@ private:
/// update progress bar
KProgress* _progressBar;
- QLabel* _progressLabel;
+ TQLabel* _progressLabel;
/// statusbar progress bar
KProgress* _statusProgressBar;
- QLabel* _statusProgressLabel;
- QLabel* _foundLabel;
+ TQLabel* _statusProgressLabel;
+ TQLabel* _foundLabel;
int _foundToBeSent;
int _totalFound;
- QTimer* _timerFind;
+ TQTimer* _timerFind;
bool _searchStopped;
KBabel::CatManSettings _settings;
@@ -207,12 +207,12 @@ private:
/// project configuration file
- QString _configFile;
+ TQString _configFile;
KBabel::Project::Ptr _project;
KConfig* config;
- QMap<QString,uint> actionMap;
+ TQMap<TQString,uint> actionMap;
};
#endif // CATALOGMANAGER_H