summaryrefslogtreecommitdiffstats
path: root/lib/kotext/KoImportStyleDia.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /lib/kotext/KoImportStyleDia.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/kotext/KoImportStyleDia.h')
-rw-r--r--lib/kotext/KoImportStyleDia.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/lib/kotext/KoImportStyleDia.h b/lib/kotext/KoImportStyleDia.h
index 70a458de..eaf24f5c 100644
--- a/lib/kotext/KoImportStyleDia.h
+++ b/lib/kotext/KoImportStyleDia.h
@@ -21,19 +21,20 @@
#define __KoImportStyleDia__
#include <kdialogbase.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <KoStyleCollection.h>
-class QLineEdit;
-class QListBox;
-class QPushButton;
+class TQLineEdit;
+class TQListBox;
+class TQPushButton;
class KOTEXT_EXPORT KoImportStyleDia : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
/// @param currentCollection collection of styles already present in the document
/// (this is used to avoid conflicts in the style names and displayNames)
- KoImportStyleDia( KoStyleCollection* currentCollection, QWidget *parent, const char *name );
+ KoImportStyleDia( KoStyleCollection* currentCollection, TQWidget *tqparent, const char *name );
~KoImportStyleDia();
const KoStyleCollection& importedStyles() const { return m_styleList; }
@@ -48,8 +49,8 @@ protected:
virtual void loadFile()=0;
void clear();
- QString generateStyleName( const QString & templateName ) const;
- QString generateStyleDisplayName( const QString & templateName ) const;
+ TQString generateStyleName( const TQString & templateName ) const;
+ TQString generateStyleDisplayName( const TQString & templateName ) const;
// @return collection of styles already present in the document
const KoStyleCollection* currentCollection() const { return m_currentCollection; }
@@ -57,7 +58,7 @@ protected:
void initList();
// used by subclasses, hmm...
- QListBox *m_listStyleName;
+ TQListBox *m_listStyleName;
KoStyleCollection m_styleList;
private: