summaryrefslogtreecommitdiffstats
path: root/konq-plugins/fsview/main.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /konq-plugins/fsview/main.cpp
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/fsview/main.cpp')
-rw-r--r--konq-plugins/fsview/main.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/konq-plugins/fsview/main.cpp b/konq-plugins/fsview/main.cpp
index da18dcf..5a93886 100644
--- a/konq-plugins/fsview/main.cpp
+++ b/konq-plugins/fsview/main.cpp
@@ -31,8 +31,8 @@ int main(int argc, char* argv[])
KCmdLineArgs::addCmdLineOptions(options);
KApplication a;
- KConfigGroup gconfig(KGlobal::config(), QCString("General"));
- QString path = gconfig.readPathEntry("Path", ".");
+ KConfigGroup gconfig(KGlobal::config(), TQCString("General"));
+ TQString path = gconfig.readPathEntry("Path", ".");
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
if (args->count()>0) path = args->arg(0);
@@ -40,17 +40,17 @@ int main(int argc, char* argv[])
// TreeMap Widget as toplevel window
FSView w(new Inode());
- QObject::connect(&w,SIGNAL(clicked(TreeMapItem*)),
- &w,SLOT(selected(TreeMapItem*)));
- QObject::connect(&w,SIGNAL(returnPressed(TreeMapItem*)),
- &w,SLOT(selected(TreeMapItem*)));
- QObject::connect(&w,
- SIGNAL(contextMenuRequested(TreeMapItem*,const QPoint&)),
- &w,SLOT(contextMenu(TreeMapItem*, const QPoint&)));
+ TQObject::connect(&w,TQT_SIGNAL(clicked(TreeMapItem*)),
+ &w,TQT_SLOT(selected(TreeMapItem*)));
+ TQObject::connect(&w,TQT_SIGNAL(returnPressed(TreeMapItem*)),
+ &w,TQT_SLOT(selected(TreeMapItem*)));
+ TQObject::connect(&w,
+ TQT_SIGNAL(contextMenuRequested(TreeMapItem*,const TQPoint&)),
+ &w,TQT_SLOT(contextMenu(TreeMapItem*, const TQPoint&)));
w.setPath(path);
w.show();
- a.connect( &a, SIGNAL( lastWindowClosed() ), &w, SLOT( quit() ) );
+ a.connect( &a, TQT_SIGNAL( lastWindowClosed() ), &w, TQT_SLOT( quit() ) );
return a.exec();
}