summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoFileDialog.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/kofficecore/KoFileDialog.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/kofficecore/KoFileDialog.h')
-rw-r--r--lib/kofficecore/KoFileDialog.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/kofficecore/KoFileDialog.h b/lib/kofficecore/KoFileDialog.h
index fc3b61e24..1482bf362 100644
--- a/lib/kofficecore/KoFileDialog.h
+++ b/lib/kofficecore/KoFileDialog.h
@@ -22,7 +22,7 @@
#define KOFILEDIALOG_H
#include <kfiledialog.h>
-#include <qvaluevector.h>
+#include <tqvaluevector.h>
/**
* Extension to KFileDialog in order to add special entries to the filter combo,
@@ -35,13 +35,14 @@
class KoFileDialog : public KFileDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- KoFileDialog( const QString& startDir, const QString& filter,
- QWidget *parent, const char *name,
+ KoFileDialog( const TQString& startDir, const TQString& filter,
+ TQWidget *tqparent, const char *name,
bool modal );
- void setSpecialMimeFilter( QStringList& mimeFilter,
- const QString& currentFormat, const int specialOutputFlag,
- const QString& nativeFormat,
+ void setSpecialMimeFilter( TQStringList& mimeFilter,
+ const TQString& currentFormat, const int specialOutputFlag,
+ const TQString& nativeFormat,
int supportedSpecialFormats );
int specialEntrySelected();
@@ -49,7 +50,7 @@ private slots:
void slotChangedfilter( int index );
private:
- QValueVector<int> m_specialFormats;
+ TQValueVector<int> m_specialFormats;
};
#endif /* KOFILEDIALOG_H */